set_global_assignment -name EDA_SIMULATION_TOOL "" set_global_assignment -name LAST_QUARTUS_VERSION "19.4.0 Pro Edition" # Setting top level entity and qsys file set_global_assignment -name TOP_LEVEL_ENTITY top set_global_assignment -name QSYS_FILE top.qsys # Setting family and device set_global_assignment -name FAMILY "Stratix 10" set_global_assignment -name DEVICE 1SM21BHU2F53E2VGS1 # Setting core junction temperature set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0 set_global_assignment -name MAX_CORE_JUNCTION_TEMP 100 # IP set_global_assignment -name IP_FILE ip/top/pcie_ep.ip set_global_assignment -name IP_FILE ip/top/msgdma_inst.ip set_global_assignment -name IP_FILE ip/top/reset_release.ip # Pin assignments set_location_assignment PIN_AR50 -to "hip_serial_tx_out15(n)" set_location_assignment PIN_AR51 -to hip_serial_tx_out15 set_location_assignment PIN_AP44 -to "hip_serial_rx_in15(n)" set_location_assignment PIN_AP45 -to hip_serial_rx_in15 set_location_assignment PIN_AT48 -to "hip_serial_tx_out14(n)" set_location_assignment PIN_AT49 -to hip_serial_tx_out14 set_location_assignment PIN_AR46 -to "hip_serial_rx_in14(n)" set_location_assignment PIN_AR47 -to hip_serial_rx_in14 set_location_assignment PIN_AU50 -to "hip_serial_tx_out13(n)" set_location_assignment PIN_AU51 -to hip_serial_tx_out13 set_location_assignment PIN_AT44 -to "hip_serial_rx_in13(n)" set_location_assignment PIN_AT45 -to hip_serial_rx_in13 set_location_assignment PIN_AV48 -to "hip_serial_tx_out12(n)" set_location_assignment PIN_AV49 -to hip_serial_tx_out12 set_location_assignment PIN_AU46 -to "hip_serial_rx_in12(n)" set_location_assignment PIN_AU47 -to hip_serial_rx_in12 set_location_assignment PIN_AW50 -to "hip_serial_tx_out11(n)" set_location_assignment PIN_AW51 -to hip_serial_tx_out11 set_location_assignment PIN_AV44 -to "hip_serial_rx_in11(n)" set_location_assignment PIN_AV45 -to hip_serial_rx_in11 set_location_assignment PIN_AY48 -to "hip_serial_tx_out10(n)" set_location_assignment PIN_AY49 -to hip_serial_tx_out10 set_location_assignment PIN_AW46 -to "hip_serial_rx_in10(n)" set_location_assignment PIN_AW47 -to hip_serial_rx_in10 set_location_assignment PIN_BA50 -to "hip_serial_tx_out9(n)" set_location_assignment PIN_BA51 -to hip_serial_tx_out9 set_location_assignment PIN_AY44 -to "hip_serial_rx_in9(n)" set_location_assignment PIN_AY45 -to hip_serial_rx_in9 set_location_assignment PIN_BB48 -to "hip_serial_tx_out8(n)" set_location_assignment PIN_BB49 -to hip_serial_tx_out8 set_location_assignment PIN_BA46 -to "hip_serial_rx_in8(n)" set_location_assignment PIN_BA47 -to hip_serial_rx_in8 set_location_assignment PIN_BC50 -to "hip_serial_tx_out7(n)" set_location_assignment PIN_BC51 -to hip_serial_tx_out7 set_location_assignment PIN_BC46 -to "hip_serial_rx_in7(n)" set_location_assignment PIN_BC47 -to hip_serial_rx_in7 set_location_assignment PIN_BD48 -to "hip_serial_tx_out6(n)" set_location_assignment PIN_BD49 -to hip_serial_tx_out6 set_location_assignment PIN_BB44 -to "hip_serial_rx_in6(n)" set_location_assignment PIN_BB45 -to hip_serial_rx_in6 set_location_assignment PIN_BE50 -to "hip_serial_tx_out5(n)" set_location_assignment PIN_BE51 -to hip_serial_tx_out5 set_location_assignment PIN_BD44 -to "hip_serial_rx_in5(n)" set_location_assignment PIN_BD45 -to hip_serial_rx_in5 set_location_assignment PIN_BF48 -to "hip_serial_tx_out4(n)" set_location_assignment PIN_BF49 -to hip_serial_tx_out4 set_location_assignment PIN_BE46 -to "hip_serial_rx_in4(n)" set_location_assignment PIN_BE47 -to hip_serial_rx_in4 set_location_assignment PIN_BG50 -to "hip_serial_tx_out3(n)" set_location_assignment PIN_BG51 -to hip_serial_tx_out3 set_location_assignment PIN_BF44 -to "hip_serial_rx_in3(n)" set_location_assignment PIN_BF45 -to hip_serial_rx_in3 set_location_assignment PIN_BH48 -to "hip_serial_tx_out2(n)" set_location_assignment PIN_BH49 -to hip_serial_tx_out2 set_location_assignment PIN_BG46 -to "hip_serial_rx_in2(n)" set_location_assignment PIN_BG47 -to hip_serial_rx_in2 set_location_assignment PIN_BK48 -to "hip_serial_tx_out1(n)" set_location_assignment PIN_BK49 -to hip_serial_tx_out1 set_location_assignment PIN_BJ46 -to "hip_serial_rx_in1(n)" set_location_assignment PIN_BJ47 -to hip_serial_rx_in1 set_location_assignment PIN_BL46 -to "hip_serial_tx_out0(n)" set_location_assignment PIN_BL47 -to hip_serial_tx_out0 set_location_assignment PIN_BH44 -to "hip_serial_rx_in0(n)" set_location_assignment PIN_BH45 -to hip_serial_rx_in0 set_location_assignment PIN_AW43 -to refclk_pcie_ep_p set_location_assignment PIN_AW42 -to refclk_pcie_ep_n set_location_assignment PIN_AR43 -to refclk_clk set_location_assignment PIN_AR42 -to "refclk_clk(n)" set_location_assignment PIN_BA43 -to refclk_pcie_ep1_p set_location_assignment PIN_BA42 -to refclk_pcie_ep1_n set_location_assignment PIN_BH16 -to pcie_ep_waken set_location_assignment PIN_BH14 -to pcie_ep_i2c_sda set_location_assignment PIN_BH15 -to pcie_ep_i2c_scl set_location_assignment PIN_AH39 -to npor_pin_perst set_location_assignment PIN_BL10 -to s10_pcie_perstn1 set_instance_assignment -name USE_AS_3V_GPIO ON -to npor_pin_perst -entity top #set_instance_assignment -name IO_STANDARD "3.0-V LVTTL" -to npor_pin_perst -entity top set_instance_assignment -name IO_STANDARD LVDS -to refclk_clk -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_rx_in0 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_rx_in1 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_rx_in2 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_rx_in3 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_rx_in4 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_rx_in5 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_rx_in6 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_rx_in7 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_rx_in8 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_rx_in9 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_rx_in10 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_rx_in11 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_rx_in12 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_rx_in13 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_rx_in14 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_rx_in15 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_tx_out0 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_tx_out1 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_tx_out2 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_tx_out3 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_tx_out4 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_tx_out5 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_tx_out6 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_tx_out7 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_tx_out8 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_tx_out9 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_tx_out10 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_tx_out11 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_tx_out12 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_tx_out13 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_tx_out14 -entity top set_instance_assignment -name IO_STANDARD "HSSI DIFFERENTIAL I/O" -to hip_serial_tx_out15 -entity top ################################################################################################# set_global_assignment -name VID_OPERATION_MODE "PMBUS MASTER" set_global_assignment -name USE_PWRMGT_SCL SDM_IO14 set_global_assignment -name USE_PWRMGT_SDA SDM_IO11 set_global_assignment -name PWRMGT_BUS_SPEED_MODE "100 KHZ" set_global_assignment -name PWRMGT_SLAVE_DEVICE_TYPE OTHER set_global_assignment -name PWRMGT_SLAVE_DEVICE0_ADDRESS 47 set_global_assignment -name PWRMGT_SLAVE_DEVICE1_ADDRESS 00 set_global_assignment -name PWRMGT_SLAVE_DEVICE2_ADDRESS 00 set_global_assignment -name PWRMGT_SLAVE_DEVICE3_ADDRESS 00 set_global_assignment -name PWRMGT_SLAVE_DEVICE4_ADDRESS 00 set_global_assignment -name PWRMGT_SLAVE_DEVICE5_ADDRESS 00 set_global_assignment -name PWRMGT_SLAVE_DEVICE6_ADDRESS 00 set_global_assignment -name PWRMGT_SLAVE_DEVICE7_ADDRESS 00 set_global_assignment -name PWRMGT_TRANSLATED_VOLTAGE_VALUE_UNIT VOLTS set_global_assignment -name PWRMGT_PAGE_COMMAND_ENABLE ON set_global_assignment -name FLOW_ENABLE_RTL_VIEWER ON set_global_assignment -name TIMING_ANALYZER_MULTICORNER_ANALYSIS ON set_global_assignment -name OPTIMIZATION_TECHNIQUE SPEED set_global_assignment -name SYNTH_TIMING_DRIVEN_SYNTHESIS ON set_global_assignment -name SEARCH_PATH ip/ set_global_assignment -name OPTIMIZE_POWER_DURING_SYNTHESIS OFF set_global_assignment -name OPTIMIZE_HOLD_TIMING "ALL PATHS" set_global_assignment -name OPTIMIZE_MULTI_CORNER_TIMING ON set_global_assignment -name OPTIMIZE_POWER_DURING_FITTING OFF set_global_assignment -name FITTER_EFFORT "STANDARD FIT" set_global_assignment -name ENABLE_UNUSED_RX_CLOCK_WORKAROUND ON