pluto_hdl_adi/projects/adrv9009/s10soc/system_project.tcl

141 lines
9.5 KiB
Tcl
Raw Normal View History

source ../../../scripts/adi_env.tcl
source ../../scripts/adi_project_intel.tcl
adi_project adrv9009_s10soc
source $ad_hdl_dir/projects/common/s10soc/s10soc_system_assign.tcl
## adrv9009
set_location_assignment PIN_AP41 -to ref_clk0 ; ## D04 FMC_HPC_GBTCLK0_M2C_P (NC)
set_location_assignment PIN_AP40 -to "ref_clk0(n)" ; ## D05 FMC_HPC_GBTCLK0_M2C_N (NC)
set_location_assignment PIN_AK41 -to ref_clk1 ; ## B20 FMC_HPC_GBTCLK1_M2C_P
set_location_assignment PIN_AK40 -to "ref_clk1(n)" ; ## B21 FMC_HPC_GBTCLK1_M2C_N
set_location_assignment PIN_BJ43 -to rx_serial_data[0] ; ## A02 FMC_HPC_DP1_M2C_P
set_location_assignment PIN_BJ42 -to "rx_serial_data[0](n)" ; ## A03 FMC_HPC_DP1_M2C_N
set_location_assignment PIN_BG43 -to rx_serial_data[1] ; ## A06 FMC_HPC_DP2_M2C_P
set_location_assignment PIN_BG42 -to "rx_serial_data[1](n)" ; ## A07 FMC_HPC_DP2_M2C_N
set_location_assignment PIN_BH41 -to rx_serial_data[2] ; ## C06 FMC_HPC_DP0_M2C_P
set_location_assignment PIN_BH40 -to "rx_serial_data[2](n)" ; ## C07 FMC_HPC_DP0_M2C_N
set_location_assignment PIN_BE43 -to rx_serial_data[3] ; ## A10 FMC_HPC_DP3_M2C_P
set_location_assignment PIN_BE42 -to "rx_serial_data[3](n)" ; ## A11 FMC_HPC_DP3_M2C_N
set_location_assignment PIN_BF45 -to tx_serial_data[0] ; ## A22 FMC_HPC_DP1_C2M_P (tx_serial_data_p[0])
set_location_assignment PIN_BF44 -to "tx_serial_data[0](n)" ; ## A23 FMC_HPC_DP1_C2M_N (tx_serial_data_n[0])
set_location_assignment PIN_BG47 -to tx_serial_data[1] ; ## A26 FMC_HPC_DP2_C2M_P (tx_serial_data_p[3])
set_location_assignment PIN_BG46 -to "tx_serial_data[1](n)" ; ## A27 FMC_HPC_DP2_C2M_N (tx_serial_data_n[3])
set_location_assignment PIN_BJ46 -to tx_serial_data[2] ; ## C02 FMC_HPC_DP0_C2M_P (tx_serial_data_p[2])
set_location_assignment PIN_BJ45 -to "tx_serial_data[2](n)" ; ## C03 FMC_HPC_DP0_C2M_N (tx_serial_data_n[2])
set_location_assignment PIN_BE47 -to tx_serial_data[3] ; ## A30 FMC_HPC_DP3_C2M_P (tx_serial_data_p[1])
set_location_assignment PIN_BE46 -to "tx_serial_data[3](n)" ; ## A31 FMC_HPC_DP3_C2M_N (tx_serial_data_n[1])
set_instance_assignment -name IO_STANDARD LVDS -to ref_clk0
set_instance_assignment -name IO_STANDARD LVDS -to ref_clk1
set_instance_assignment -name IO_STANDARD "HIGH SPEED DIFFERENTIAL I/O" -to rx_serial_data
set_instance_assignment -name IO_STANDARD "HIGH SPEED DIFFERENTIAL I/O" -to tx_serial_data
# Merge RX and TX into single transceiver
for {set i 0} {$i < 4} {incr i} {
set_instance_assignment -name XCVR_RECONFIG_GROUP xcvr_${i} -to rx_serial_data[${i}]
set_instance_assignment -name XCVR_RECONFIG_GROUP xcvr_${i} -to tx_serial_data[${i}]
}
set_location_assignment PIN_BC31 -to rx_sync ; ## G09 FMC_HPC_LA03_P
set_location_assignment PIN_BC32 -to rx_sync(n) ; ## G10 FMC_HPC_LA03_N
set_location_assignment PIN_BF20 -to rx_os_sync ; ## G27 FMC_HPC_LA25_P (Sniffer)
set_location_assignment PIN_BG20 -to rx_os_sync(n) ; ## G28 FMC_HPC_LA25_N (Sniffer)
set_location_assignment PIN_AN20 -to tx_sync ; ## H07 FMC_HPC_LA02_P
set_location_assignment PIN_AP20 -to tx_sync(n) ; ## H08 FMC_HPC_LA02_N
set_location_assignment PIN_AW30 -to sysref ; ## G06 FMC_HPC_LA00_CC_P
set_location_assignment PIN_AW31 -to sysref(n) ; ## G07 FMC_HPC_LA00_CC_N
set_location_assignment PIN_BH20 -to tx_sync_1 ; ## H28 FMC_HPC_LA24_P
set_location_assignment PIN_BH21 -to tx_sync_1(n) ; ## H29 FMC_HPC_LA24_N
set_instance_assignment -name IO_STANDARD LVDS -to rx_sync
set_instance_assignment -name IO_STANDARD LVDS -to rx_os_sync
set_instance_assignment -name IO_STANDARD LVDS -to tx_sync
set_instance_assignment -name IO_STANDARD LVDS -to tx_sync_1
set_instance_assignment -name IO_STANDARD LVDS -to sysref
set_instance_assignment -name INPUT_TERMINATION DIFFERENTIAL -to tx_sync
set_instance_assignment -name INPUT_TERMINATION DIFFERENTIAL -to tx_sync_1
set_instance_assignment -name INPUT_TERMINATION DIFFERENTIAL -to sysref
set_location_assignment PIN_BA30 -to spi_csn_ad9528 ; ## D15 FMC_HPC_LA09_N
set_location_assignment PIN_BA31 -to spi_csn_adrv9009 ; ## D14 FMC_HPC_LA09_P
set_location_assignment PIN_BE32 -to spi_clk ; ## H13 FMC_HPC_LA07_P
set_location_assignment PIN_BF32 -to spi_mosi ; ## H14 FMC_HPC_LA07_N
set_location_assignment PIN_BH32 -to spi_miso ; ## G12 FMC_HPC_LA08_P
set_instance_assignment -name IO_STANDARD "1.8 V" -to spi_csn_ad9528
set_instance_assignment -name IO_STANDARD "1.8 V" -to spi_csn_adrv9009
set_instance_assignment -name IO_STANDARD "1.8 V" -to spi_clk
set_instance_assignment -name IO_STANDARD "1.8 V" -to spi_mosi
set_instance_assignment -name IO_STANDARD "1.8 V" -to spi_miso
set_location_assignment PIN_BH18 -to ad9528_reset_b ; ## D26 FMC_HPC_LA26_P
set_location_assignment PIN_BJ18 -to ad9528_sysref_req ; ## D27 FMC_HPC_LA26_N
set_location_assignment PIN_AT21 -to adrv9009_tx1_enable ; ## D17 FMC_HPC_LA13_P
set_location_assignment PIN_AU32 -to adrv9009_tx2_enable ; ## C18 FMC_HPC_LA14_P
set_location_assignment PIN_AR21 -to adrv9009_rx1_enable ; ## D18 FMC_HPC_LA13_N
set_location_assignment PIN_AT32 -to adrv9009_rx2_enable ; ## C19 FMC_HPC_LA14_N
set_location_assignment PIN_AT15 -to adrv9009_test ; ## H16 FMC_HPC_LA11_P
set_location_assignment PIN_BC30 -to adrv9009_reset_b ; ## H10 FMC_HPC_LA04_P
set_location_assignment PIN_BD30 -to adrv9009_gpint ; ## H11 FMC_HPC_LA04_N
set_instance_assignment -name IO_STANDARD "1.8 V" -to ad9528_reset_b
set_instance_assignment -name IO_STANDARD "1.8 V" -to ad9528_sysref_req
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_tx1_enable
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_tx2_enable
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_rx1_enable
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_rx2_enable
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_test
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_reset_b
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpint
# single ended default
set_location_assignment PIN_AN17 -to adrv9009_gpio[0] ; ## H19 FMC_HPC_LA15_P
set_location_assignment PIN_AN18 -to adrv9009_gpio[1] ; ## H20 FMC_HPC_LA15_N
set_location_assignment PIN_BA20 -to adrv9009_gpio[2] ; ## G18 FMC_HPC_LA16_P
set_location_assignment PIN_BA21 -to adrv9009_gpio[3] ; ## G19 FMC_HPC_LA16_N
set_location_assignment PIN_BG18 -to adrv9009_gpio[4] ; ## H25 FMC_HPC_LA21_P
set_location_assignment PIN_BG19 -to adrv9009_gpio[5] ; ## H26 FMC_HPC_LA21_N
set_location_assignment PIN_BG17 -to adrv9009_gpio[6] ; ## C22 FMC_HPC_LA18_CC_P
set_location_assignment PIN_BH17 -to adrv9009_gpio[7] ; ## C23 FMC_HPC_LA18_CC_N
set_location_assignment PIN_BJ36 -to adrv9009_gpio[8] ; ## G25 FMC_HPC_LA22_N (LVDS_1N)
set_location_assignment PIN_BE18 -to adrv9009_gpio[9] ; ## H22 FMC_HPC_LA19_P (LVDS_2P)
set_location_assignment PIN_BD18 -to adrv9009_gpio[10] ; ## H23 FMC_HPC_LA19_N (LVDS_2N)
set_location_assignment PIN_AN21 -to adrv9009_gpio[11] ; ## G21 FMC_HPC_LA20_P (LVDS_3P)
set_location_assignment PIN_AP21 -to adrv9009_gpio[12] ; ## G22 FMC_HPC_LA20_N (LVDS_3N)
set_location_assignment PIN_AU28 -to adrv9009_gpio[13] ; ## G16 FMC_HPC_LA12_N (LVDS_4N)
set_location_assignment PIN_AU29 -to adrv9009_gpio[14] ; ## G15 FMC_HPC_LA12_P (LVDS_4P)
set_location_assignment PIN_BJ35 -to adrv9009_gpio[15] ; ## G24 FMC_HPC_LA22_P (LVDS_1P)
set_location_assignment PIN_BF30 -to adrv9009_gpio[16] ; ## C11 FMC_HPC_LA06_N (LVDS_5N)
set_location_assignment PIN_BF31 -to adrv9009_gpio[17] ; ## C10 FMC_HPC_LA06_P (LVDS_5P)
set_location_assignment PIN_BH30 -to adrv9009_gpio[18] ; ## D12 FMC_HPC_LA05_N
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[0]
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[1]
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[2]
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[3]
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[4]
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[5]
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[6]
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[7]
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[8]
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[9]
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[10]
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[11]
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[12]
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[13]
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[14]
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[15]
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[16]
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[17]
set_instance_assignment -name IO_STANDARD "1.8 V" -to adrv9009_gpio[18]
# set optimization to get a better timing closure
set_global_assignment -name OPTIMIZATION_MODE "HIGH PERFORMANCE EFFORT"
execute_flow -compile