a10soc- updates

main
Rejeesh Kutty 2016-04-25 10:50:09 -04:00
parent 2a5f31d26b
commit d36d1263c5
4 changed files with 691 additions and 1913 deletions

View File

@ -2,230 +2,285 @@
# device settings
set_global_assignment -name FAMILY "Arria 10"
set_global_assignment -name DEVICE 10AX115S3F45E2SGE3
set_global_assignment -name DEVICE 10AS066N3F40I2LG
# clocks and resets
set_location_assignment PIN_AR36 -to sys_clk
set_location_assignment PIN_AR37 -to "sys_clk(n)"
set_location_assignment PIN_BD27 -to sys_resetn
set_location_assignment PIN_AM10 -to sys_clk
set_location_assignment PIN_AL10 -to "sys_clk(n)"
set_location_assignment PIN_AV21 -to sys_resetn
set_instance_assignment -name IO_STANDARD LVDS -to sys_clk
set_instance_assignment -name IO_STANDARD "1.8 V" -to sys_resetn
# ddr3
# hps-ddr4 (32)
set_location_assignment PIN_F34 -to ddr3_ref_clk
set_location_assignment PIN_F35 -to "ddr3_ref_clk(n)"
set_location_assignment PIN_F25 -to hps_ddr_ref_clk
set_location_assignment PIN_G24 -to "hps_ddr_ref_clk(n)"
set_instance_assignment -name IO_STANDARD LVDS -to ddr3_ref_clk
set_instance_assignment -name INPUT_TERMINATION DIFFERENTIAL -to ddr3_ref_clk -disable
set_instance_assignment -name IO_STANDARD LVDS -to hps_ddr_ref_clk
set_instance_assignment -name INPUT_TERMINATION DIFFERENTIAL -to hps_ddr_ref_clk -disable
set_instance_assignment -name IO_STANDARD "1.5 V" -to ddr3_a[14]
set_instance_assignment -name IO_STANDARD "1.5 V" -to ddr3_a[13]
set_instance_assignment -name IO_STANDARD "1.5 V" -to ddr3_a[12]
set_location_assignment PIN_B20 -to hps_ddr_clk_p
set_location_assignment PIN_B19 -to hps_ddr_clk_n
set_location_assignment PIN_B26 -to hps_ddr_a[0]
set_location_assignment PIN_C26 -to hps_ddr_a[1]
set_location_assignment PIN_C22 -to hps_ddr_a[2]
set_location_assignment PIN_C21 -to hps_ddr_a[3]
set_location_assignment PIN_C25 -to hps_ddr_a[4]
set_location_assignment PIN_B24 -to hps_ddr_a[5]
set_location_assignment PIN_B22 -to hps_ddr_a[6]
set_location_assignment PIN_C23 -to hps_ddr_a[7]
set_location_assignment PIN_D23 -to hps_ddr_a[8]
set_location_assignment PIN_E23 -to hps_ddr_a[9]
set_location_assignment PIN_C24 -to hps_ddr_a[10]
set_location_assignment PIN_D24 -to hps_ddr_a[11]
set_location_assignment PIN_F26 -to hps_ddr_a[12]
set_location_assignment PIN_G26 -to hps_ddr_a[13]
set_location_assignment PIN_G25 -to hps_ddr_a[14]
set_location_assignment PIN_F24 -to hps_ddr_a[15]
set_location_assignment PIN_F23 -to hps_ddr_a[16]
set_location_assignment PIN_E25 -to hps_ddr_ba[0]
set_location_assignment PIN_H24 -to hps_ddr_ba[1]
set_location_assignment PIN_J24 -to hps_ddr_bg
set_location_assignment PIN_A24 -to hps_ddr_cke
set_location_assignment PIN_A22 -to hps_ddr_cs_n
set_location_assignment PIN_A26 -to hps_ddr_odt
set_location_assignment PIN_A19 -to hps_ddr_reset_n
set_location_assignment PIN_B21 -to hps_ddr_act_n
set_location_assignment PIN_A18 -to hps_ddr_par
set_location_assignment PIN_AG24 -to hps_ddr_alert_n
set_location_assignment PIN_AM25 -to hps_ddr_dqs_p[0]
set_location_assignment PIN_AL25 -to hps_ddr_dqs_n[0]
set_location_assignment PIN_AT25 -to hps_ddr_dqs_p[1]
set_location_assignment PIN_AT24 -to hps_ddr_dqs_n[1]
set_location_assignment PIN_AW26 -to hps_ddr_dqs_p[2]
set_location_assignment PIN_AW25 -to hps_ddr_dqs_n[2]
set_location_assignment PIN_AK25 -to hps_ddr_dqs_p[3]
set_location_assignment PIN_AJ25 -to hps_ddr_dqs_n[3]
set_location_assignment PIN_AP26 -to hps_ddr_dq[0]
set_location_assignment PIN_AN24 -to hps_ddr_dq[1]
set_location_assignment PIN_AN23 -to hps_ddr_dq[2]
set_location_assignment PIN_AM24 -to hps_ddr_dq[3]
set_location_assignment PIN_AK26 -to hps_ddr_dq[4]
set_location_assignment PIN_AL23 -to hps_ddr_dq[5]
set_location_assignment PIN_AL26 -to hps_ddr_dq[6]
set_location_assignment PIN_AK23 -to hps_ddr_dq[7]
set_location_assignment PIN_AP23 -to hps_ddr_dq[8]
set_location_assignment PIN_AT26 -to hps_ddr_dq[9]
set_location_assignment PIN_AR26 -to hps_ddr_dq[10]
set_location_assignment PIN_AR25 -to hps_ddr_dq[11]
set_location_assignment PIN_AT23 -to hps_ddr_dq[12]
set_location_assignment PIN_AP25 -to hps_ddr_dq[13]
set_location_assignment PIN_AU24 -to hps_ddr_dq[14]
set_location_assignment PIN_AU26 -to hps_ddr_dq[15]
set_location_assignment PIN_AU28 -to hps_ddr_dq[16]
set_location_assignment PIN_AU27 -to hps_ddr_dq[17]
set_location_assignment PIN_AV23 -to hps_ddr_dq[18]
set_location_assignment PIN_AW28 -to hps_ddr_dq[19]
set_location_assignment PIN_AV24 -to hps_ddr_dq[20]
set_location_assignment PIN_AW24 -to hps_ddr_dq[21]
set_location_assignment PIN_AV28 -to hps_ddr_dq[22]
set_location_assignment PIN_AV27 -to hps_ddr_dq[23]
set_location_assignment PIN_AH24 -to hps_ddr_dq[24]
set_location_assignment PIN_AH23 -to hps_ddr_dq[25]
set_location_assignment PIN_AG25 -to hps_ddr_dq[26]
set_location_assignment PIN_AF24 -to hps_ddr_dq[27]
set_location_assignment PIN_AF25 -to hps_ddr_dq[28]
set_location_assignment PIN_AJ24 -to hps_ddr_dq[29]
set_location_assignment PIN_AJ23 -to hps_ddr_dq[30]
set_location_assignment PIN_AJ26 -to hps_ddr_dq[31]
set_location_assignment PIN_AN26 -to hps_ddr_dbi_n[0]
set_location_assignment PIN_AU25 -to hps_ddr_dbi_n[1]
set_location_assignment PIN_AV26 -to hps_ddr_dbi_n[2]
set_location_assignment PIN_AH25 -to hps_ddr_dbi_n[3]
set_location_assignment PIN_E26 -to hps_ddr_rzq
set_location_assignment PIN_R30 -to ddr3_clk_p ; ## 1.5 V V1 MEM_CLK_P
set_location_assignment PIN_R31 -to ddr3_clk_n ; ## 1.5 V V2 MEM_CLK_N
set_location_assignment PIN_M32 -to ddr3_a[0] ; ## 1.5 V F1 MEM_ADDR_CMD0
set_location_assignment PIN_L32 -to ddr3_a[1] ; ## 1.5 V H1 MEM_ADDR_CMD1
set_location_assignment PIN_N34 -to ddr3_a[2] ; ## 1.5 V F2 MEM_ADDR_CMD2
set_location_assignment PIN_M35 -to ddr3_a[3] ; ## 1.5 V G2 MEM_ADDR_CMD3
set_location_assignment PIN_L34 -to ddr3_a[4] ; ## 1.5 V H2 MEM_ADDR_CMD4
set_location_assignment PIN_K34 -to ddr3_a[5] ; ## 1.5 V J2 MEM_ADDR_CMD5
set_location_assignment PIN_M33 -to ddr3_a[6] ; ## 1.5 V K2 MEM_ADDR_CMD6
set_location_assignment PIN_L33 -to ddr3_a[7] ; ## 1.5 V G3 MEM_ADDR_CMD7
set_location_assignment PIN_J33 -to ddr3_a[8] ; ## 1.5 V J3 MEM_ADDR_CMD8
set_location_assignment PIN_J32 -to ddr3_a[9] ; ## 1.5 V L3 MEM_ADDR_CMD9
set_location_assignment PIN_H31 -to ddr3_a[10] ; ## 1.5 V E4 MEM_ADDR_CMD10
set_location_assignment PIN_J31 -to ddr3_a[11] ; ## 1.5 V F4 MEM_ADDR_CMD11
set_location_assignment PIN_H34 -to ddr3_a[12] ; ## 1.5 V G4 MEM_ADDR_CMD12
set_location_assignment PIN_H33 -to ddr3_a[13] ; ## 1.5 V H4 MEM_ADDR_CMD13
set_location_assignment PIN_G32 -to ddr3_a[14] ; ## 1.5 V J4 MEM_ADDR_CMD14
set_location_assignment PIN_F33 -to ddr3_ba[0] ; ## 1.5 V M1 MEM_ADDR_CMD16
set_location_assignment PIN_G35 -to ddr3_ba[1] ; ## 1.5 V M2 MEM_ADDR_CMD17
set_location_assignment PIN_H35 -to ddr3_ba[2] ; ## 1.5 V N2 MEM_ADDR_CMD18
set_location_assignment PIN_U33 -to ddr3_cke ; ## 1.5 V P5 MEM_ADDR_CMD20
set_location_assignment PIN_R34 -to ddr3_cs_n ; ## 1.5 V P1 MEM_ADDR_CMD22
set_location_assignment PIN_N33 -to ddr3_odt ; ## 1.5 V M4 MEM_ADDR_CMD24
set_location_assignment PIN_T35 -to ddr3_reset_n ; ## 1.5 V K1 MEM_ADDR_CMD27
set_location_assignment PIN_T34 -to ddr3_we_n ; ## 1.5 V P2 MEM_ADDR_CMD28
set_location_assignment PIN_F32 -to ddr3_ras_n ; ## 1.5 V L2 MEM_ADDR_CMD26
set_location_assignment PIN_G33 -to ddr3_cas_n ; ## 1.5 V L4 MEM_ADDR_CMD19
set_location_assignment PIN_B26 -to ddr3_dqs_p[0] ; ## 1.5 V A6 MEM_DQSA_P0
set_location_assignment PIN_C26 -to ddr3_dqs_n[0] ; ## 1.5 V A7 MEM_DQSA_N0
set_location_assignment PIN_H28 -to ddr3_dqs_p[1] ; ## 1.5 V A2 MEM_DQSA_P1
set_location_assignment PIN_J27 -to ddr3_dqs_n[1] ; ## 1.5 V A3 MEM_DQSA_N1
set_location_assignment PIN_C30 -to ddr3_dqs_p[2] ; ## 1.5 V A14 MEM_DQSA_P2
set_location_assignment PIN_C29 -to ddr3_dqs_n[2] ; ## 1.5 V A15 MEM_DQSA_N2
set_location_assignment PIN_L30 -to ddr3_dqs_p[3] ; ## 1.5 V F18 MEM_DQSA_P3
set_location_assignment PIN_L29 -to ddr3_dqs_n[3] ; ## 1.5 V G18 MEM_DQSA_N3
set_location_assignment PIN_Y32 -to ddr3_dqs_p[4] ; ## 1.5 V H18 MEM_DQSB_P0
set_location_assignment PIN_AA32 -to ddr3_dqs_n[4] ; ## 1.5 V J18 MEM_DQSB_N0
set_location_assignment PIN_AJ32 -to ddr3_dqs_p[5] ; ## 1.5 V U18 MEM_DQSB_P1
set_location_assignment PIN_AJ31 -to ddr3_dqs_n[5] ; ## 1.5 V V18 MEM_DQSB_N1
set_location_assignment PIN_AA34 -to ddr3_dqs_p[6] ; ## 1.5 V V16 MEM_DQSB_P2
set_location_assignment PIN_AA33 -to ddr3_dqs_n[6] ; ## 1.5 V V17 MEM_DQSB_N2
set_location_assignment PIN_AF33 -to ddr3_dqs_p[7] ; ## 1.5 V V8 MEM_DQSB_P3
set_location_assignment PIN_AF34 -to ddr3_dqs_n[7] ; ## 1.5 V V9 MEM_DQSB_N3
set_location_assignment PIN_B28 -to ddr3_dq[0] ; ## 1.5 V A4 MEM_DQA0
set_location_assignment PIN_A28 -to ddr3_dq[1] ; ## 1.5 V B4 MEM_DQA1
set_location_assignment PIN_A27 -to ddr3_dq[2] ; ## 1.5 V B5 MEM_DQA2
set_location_assignment PIN_B27 -to ddr3_dq[3] ; ## 1.5 V B6 MEM_DQA3
set_location_assignment PIN_D27 -to ddr3_dq[4] ; ## 1.5 V A8 MEM_DQA4
set_location_assignment PIN_E27 -to ddr3_dq[5] ; ## 1.5 V B8 MEM_DQA5
set_location_assignment PIN_D26 -to ddr3_dq[6] ; ## 1.5 V B9 MEM_DQA6
set_location_assignment PIN_D28 -to ddr3_dq[7] ; ## 1.5 V A10 MEM_DQA7
set_location_assignment PIN_G25 -to ddr3_dq[8] ; ## 1.5 V B1 MEM_DQA8
set_location_assignment PIN_H25 -to ddr3_dq[9] ; ## 1.5 V B2 MEM_DQA9
set_location_assignment PIN_G26 -to ddr3_dq[10] ; ## 1.5 V C2 MEM_DQA10
set_location_assignment PIN_H26 -to ddr3_dq[11] ; ## 1.5 V C3 MEM_DQA11
set_location_assignment PIN_G28 -to ddr3_dq[12] ; ## 1.5 V E3 MEM_DQA12
set_location_assignment PIN_F27 -to ddr3_dq[13] ; ## 1.5 V D4 MEM_DQA13
set_location_assignment PIN_K27 -to ddr3_dq[14] ; ## 1.5 V D1 MEM_DQA14
set_location_assignment PIN_F28 -to ddr3_dq[15] ; ## 1.5 V D2 MEM_DQA15
set_location_assignment PIN_D31 -to ddr3_dq[16] ; ## 1.5 V A12 MEM_DQA16
set_location_assignment PIN_E31 -to ddr3_dq[17] ; ## 1.5 V B12 MEM_DQA17
set_location_assignment PIN_B31 -to ddr3_dq[18] ; ## 1.5 V B13 MEM_DQA18
set_location_assignment PIN_C31 -to ddr3_dq[19] ; ## 1.5 V B14 MEM_DQA19
set_location_assignment PIN_A30 -to ddr3_dq[20] ; ## 1.5 V C15 MEM_DQA20
set_location_assignment PIN_E30 -to ddr3_dq[21] ; ## 1.5 V A16 MEM_DQA21
set_location_assignment PIN_B30 -to ddr3_dq[22] ; ## 1.5 V B16 MEM_DQA22
set_location_assignment PIN_D29 -to ddr3_dq[23] ; ## 1.5 V A18 MEM_DQA23
set_location_assignment PIN_K30 -to ddr3_dq[24] ; ## 1.5 V C16 MEM_DQA24
set_location_assignment PIN_H30 -to ddr3_dq[25] ; ## 1.5 V D16 MEM_DQA25
set_location_assignment PIN_G30 -to ddr3_dq[26] ; ## 1.5 V E16 MEM_DQA26
set_location_assignment PIN_K31 -to ddr3_dq[27] ; ## 1.5 V F16 MEM_DQA27
set_location_assignment PIN_H29 -to ddr3_dq[28] ; ## 1.5 V D17 MEM_DQA28
set_location_assignment PIN_K29 -to ddr3_dq[29] ; ## 1.5 V C18 MEM_DQA29
set_location_assignment PIN_J29 -to ddr3_dq[30] ; ## 1.5 V D18 MEM_DQA30
set_location_assignment PIN_F29 -to ddr3_dq[31] ; ## 1.5 V E18 MEM_DQA31
set_location_assignment PIN_AC31 -to ddr3_dq[32] ; ## 1.5 V H16 MEM_DQB0
set_location_assignment PIN_AB31 -to ddr3_dq[33] ; ## 1.5 V J16 MEM_DQB1
set_location_assignment PIN_W31 -to ddr3_dq[34] ; ## 1.5 V K16 MEM_DQB2
set_location_assignment PIN_Y31 -to ddr3_dq[35] ; ## 1.5 V L16 MEM_DQB3
set_location_assignment PIN_AD31 -to ddr3_dq[36] ; ## 1.5 V H17 MEM_DQB4
set_location_assignment PIN_AD32 -to ddr3_dq[37] ; ## 1.5 V K17 MEM_DQB5
set_location_assignment PIN_AD33 -to ddr3_dq[38] ; ## 1.5 V K18 MEM_DQB6
set_location_assignment PIN_AA30 -to ddr3_dq[39] ; ## 1.5 V L18 MEM_DQB7
set_location_assignment PIN_AE31 -to ddr3_dq[40] ; ## 1.5 V M17 MEM_DQB8
set_location_assignment PIN_AE32 -to ddr3_dq[41] ; ## 1.5 V N18 MEM_DQB9
set_location_assignment PIN_AE30 -to ddr3_dq[42] ; ## 1.5 V P17 MEM_DQB10
set_location_assignment PIN_AF30 -to ddr3_dq[43] ; ## 1.5 V P18 MEM_DQB11
set_location_assignment PIN_AG33 -to ddr3_dq[44] ; ## 1.5 V R18 MEM_DQB12
set_location_assignment PIN_AG32 -to ddr3_dq[45] ; ## 1.5 V T16 MEM_DQB13
set_location_assignment PIN_AH33 -to ddr3_dq[46] ; ## 1.5 V T17 MEM_DQB14
set_location_assignment PIN_AH31 -to ddr3_dq[47] ; ## 1.5 V T18 MEM_DQB15
set_location_assignment PIN_U31 -to ddr3_dq[48] ; ## 1.5 V U15 MEM_DQB16
set_location_assignment PIN_W33 -to ddr3_dq[49] ; ## 1.5 V T14 MEM_DQB17
set_location_assignment PIN_W32 -to ddr3_dq[50] ; ## 1.5 V U14 MEM_DQB18
set_location_assignment PIN_V31 -to ddr3_dq[51] ; ## 1.5 V V14 MEM_DQB19
set_location_assignment PIN_Y34 -to ddr3_dq[52] ; ## 1.5 V T13 MEM_DQB20
set_location_assignment PIN_W35 -to ddr3_dq[53] ; ## 1.5 V T12 MEM_DQB21
set_location_assignment PIN_W34 -to ddr3_dq[54] ; ## 1.5 V U12 MEM_DQB22
set_location_assignment PIN_V34 -to ddr3_dq[55] ; ## 1.5 V V12 MEM_DQB23
set_location_assignment PIN_AH35 -to ddr3_dq[56] ; ## 1.5 V T10 MEM_DQB24
set_location_assignment PIN_AJ34 -to ddr3_dq[57] ; ## 1.5 V U10 MEM_DQB25
set_location_assignment PIN_AJ33 -to ddr3_dq[58] ; ## 1.5 V V10 MEM_DQB26
set_location_assignment PIN_AH34 -to ddr3_dq[59] ; ## 1.5 V T9 MEM_DQB27
set_location_assignment PIN_AD35 -to ddr3_dq[60] ; ## 1.5 V T8 MEM_DQB28
set_location_assignment PIN_AE34 -to ddr3_dq[61] ; ## 1.5 V U8 MEM_DQB29
set_location_assignment PIN_AC33 -to ddr3_dq[62] ; ## 1.5 V U7 MEM_DQB30
set_location_assignment PIN_AD34 -to ddr3_dq[63] ; ## 1.5 V V6 MEM_DQB31
set_location_assignment PIN_E26 -to ddr3_dm[0] ; ## 1.5 V B10 MEM_DMA0
set_location_assignment PIN_G27 -to ddr3_dm[1] ; ## 1.5 V C4 MEM_DMA1
set_location_assignment PIN_A29 -to ddr3_dm[2] ; ## 1.5 V B17 MEM_DMA2
set_location_assignment PIN_F30 -to ddr3_dm[3] ; ## 1.5 V F17 MEM_DMA3
set_location_assignment PIN_AB32 -to ddr3_dm[4] ; ## 1.5 V M16 MEM_DMB0
set_location_assignment PIN_AG31 -to ddr3_dm[5] ; ## 1.5 V U16 MEM_DMB1
set_location_assignment PIN_Y35 -to ddr3_dm[6] ; ## 1.5 V U11 MEM_DMB2
set_location_assignment PIN_AC34 -to ddr3_dm[7] ; ## 1.5 V U6 MEM_DMB3
set_location_assignment PIN_J34 -to ddr3_rzq ; ## RZQ
# hps-ethernet
# ethernet interface
set_location_assignment PIN_F18 -to hps_eth_rxclk
set_location_assignment PIN_G17 -to hps_eth_rxctl
set_location_assignment PIN_G20 -to hps_eth_rxd0
set_location_assignment PIN_G21 -to hps_eth_rxd1
set_location_assignment PIN_F22 -to hps_eth_rxd2
set_location_assignment PIN_G22 -to hps_eth_rxd3
set_location_assignment PIN_H18 -to hps_eth_txclk
set_location_assignment PIN_H19 -to hps_eth_txctl
set_location_assignment PIN_E20 -to hps_eth_txd0
set_location_assignment PIN_F20 -to hps_eth_txd1
set_location_assignment PIN_F19 -to hps_eth_txd2
set_location_assignment PIN_G19 -to hps_eth_txd3
set_location_assignment PIN_K20 -to hps_eth_mdc
set_location_assignment PIN_K21 -to hps_eth_mdio
set_location_assignment PIN_BD24 -to eth_ref_clk
set_location_assignment PIN_BC24 -to "eth_ref_clk(n)"
set_location_assignment PIN_AV24 -to eth_rxd
set_location_assignment PIN_AW24 -to "eth_rxd(n)"
set_location_assignment PIN_BC23 -to eth_txd
set_location_assignment PIN_BD23 -to "eth_txd(n)"
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_eth_rxclk
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_eth_rxctl
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_eth_rxd0
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_eth_rxd1
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_eth_rxd2
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_eth_rxd3
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_eth_txclk
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_eth_txctl
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_eth_txd0
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_eth_txd1
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_eth_txd2
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_eth_txd3
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_eth_mdc
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_eth_mdio
set_instance_assignment -name IO_STANDARD LVDS -to eth_ref_clk
set_instance_assignment -name IO_STANDARD LVDS -to eth_rxd
set_instance_assignment -name IO_STANDARD LVDS -to eth_txd
set_instance_assignment -name OUTPUT_DELAY_CHAIN 8 -to hps_eth_txclk
set_instance_assignment -name INPUT_TERMINATION DIFFERENTIAL -to eth_ref_clk -disable
set_instance_assignment -name INPUT_TERMINATION DIFFERENTIAL -to eth_rxd -disable
# hps-sdio
set_location_assignment PIN_AW23 -to eth_resetn
set_location_assignment PIN_AF13 -to eth_mdc
set_location_assignment PIN_AL18 -to eth_mdio
set_location_assignment PIN_AG13 -to eth_intn
set_location_assignment PIN_K16 -to hps_sdio_clk
set_location_assignment PIN_H16 -to hps_sdio_cmd
set_location_assignment PIN_E16 -to hps_sdio_d0
set_location_assignment PIN_G16 -to hps_sdio_d1
set_location_assignment PIN_H17 -to hps_sdio_d2
set_location_assignment PIN_F15 -to hps_sdio_d3
set_location_assignment PIN_M19 -to hps_sdio_d4
set_location_assignment PIN_E15 -to hps_sdio_d5
set_location_assignment PIN_J16 -to hps_sdio_d6
set_location_assignment PIN_L18 -to hps_sdio_d7
set_instance_assignment -name IO_STANDARD "1.8 V" -to eth_resetn
set_instance_assignment -name IO_STANDARD "1.8 V" -to eth_mdc
set_instance_assignment -name IO_STANDARD "1.8 V" -to eth_mdio
set_instance_assignment -name IO_STANDARD "1.8 V" -to eth_intn
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_sdio_clk
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_sdio_cmd
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_sdio_d0
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_sdio_d1
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_sdio_d2
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_sdio_d3
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_sdio_d4
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_sdio_d5
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_sdio_d6
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_sdio_d7
set_instance_assignment -name GLOBAL_SIGNAL "GLOBAL CLOCK" -to eth_ref_clk
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to hps_sdio_clk
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to hps_sdio_cmd
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to hps_sdio_d0
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to hps_sdio_d1
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to hps_sdio_d2
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to hps_sdio_d3
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to hps_sdio_d4
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to hps_sdio_d5
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to hps_sdio_d6
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to hps_sdio_d7
set_instance_assignment -name SLEW_RATE 1 -to hps_sdio_clk
set_instance_assignment -name SLEW_RATE 1 -to hps_sdio_cmd
set_instance_assignment -name SLEW_RATE 1 -to hps_sdio_d0
set_instance_assignment -name SLEW_RATE 1 -to hps_sdio_d1
set_instance_assignment -name SLEW_RATE 1 -to hps_sdio_d2
set_instance_assignment -name SLEW_RATE 1 -to hps_sdio_d3
# leds
# hps-usb
set_location_assignment PIN_L28 -to gpio_bd_o[0] ; ## led-g0-d10
set_location_assignment PIN_K26 -to gpio_bd_o[1] ; ## led-g1-d9
set_location_assignment PIN_K25 -to gpio_bd_o[2] ; ## led-g2-d8
set_location_assignment PIN_L25 -to gpio_bd_o[3] ; ## led-g3-d7
set_location_assignment PIN_J24 -to gpio_bd_o[4] ; ## led-g4-d6
set_location_assignment PIN_A19 -to gpio_bd_o[5] ; ## led-g5-d5
set_location_assignment PIN_C18 -to gpio_bd_o[6] ; ## led-g6-d4
set_location_assignment PIN_D18 -to gpio_bd_o[7] ; ## led-g7-d3
set_location_assignment PIN_L27 -to gpio_bd_o[8] ; ## led-r0-d10
set_location_assignment PIN_J26 -to gpio_bd_o[9] ; ## led-r1-d9
set_location_assignment PIN_K24 -to gpio_bd_o[10] ; ## led-r2-d8
set_location_assignment PIN_L23 -to gpio_bd_o[11] ; ## led-r3-d7
set_location_assignment PIN_B20 -to gpio_bd_o[12] ; ## led-r4-d6
set_location_assignment PIN_C19 -to gpio_bd_o[13] ; ## led-r5-d5
set_location_assignment PIN_D19 -to gpio_bd_o[14] ; ## led-r6-d4
set_location_assignment PIN_M23 -to gpio_bd_o[15] ; ## led-r7-d3
set_location_assignment PIN_A24 -to gpio_bd_i[0] ; ## dipsw0
set_location_assignment PIN_B23 -to gpio_bd_i[1] ; ## dipsw1
set_location_assignment PIN_A23 -to gpio_bd_i[2] ; ## dipsw2
set_location_assignment PIN_B22 -to gpio_bd_i[3] ; ## dipsw3
set_location_assignment PIN_A22 -to gpio_bd_i[4] ; ## dipsw4
set_location_assignment PIN_B21 -to gpio_bd_i[5] ; ## dipsw5
set_location_assignment PIN_C21 -to gpio_bd_i[6] ; ## dipsw6
set_location_assignment PIN_A20 -to gpio_bd_i[7] ; ## dipsw7
set_location_assignment PIN_T12 -to gpio_bd_i[8] ; ## pb0-s3
set_location_assignment PIN_U12 -to gpio_bd_i[9] ; ## pb1-s2
set_location_assignment PIN_U11 -to gpio_bd_i[10] ; ## pb2-s1
set_location_assignment PIN_D18 -to hps_usb_clk
set_location_assignment PIN_C19 -to hps_usb_dir
set_location_assignment PIN_F17 -to hps_usb_nxt
set_location_assignment PIN_E18 -to hps_usb_stp
set_location_assignment PIN_D19 -to hps_usb_d0
set_location_assignment PIN_E17 -to hps_usb_d1
set_location_assignment PIN_C17 -to hps_usb_d2
set_location_assignment PIN_C18 -to hps_usb_d3
set_location_assignment PIN_D21 -to hps_usb_d4
set_location_assignment PIN_D20 -to hps_usb_d5
set_location_assignment PIN_E21 -to hps_usb_d6
set_location_assignment PIN_E22 -to hps_usb_d7
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[0]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[1]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[2]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[3]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[4]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[5]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[6]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[7]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[8]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[9]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[10]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[11]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[12]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[13]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[14]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[15]
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_usb_clk
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_usb_dir
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_usb_nxt
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_usb_stp
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_usb_d0
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_usb_d1
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_usb_d2
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_usb_d3
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_usb_d4
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_usb_d5
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_usb_d6
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_usb_d7
# hps-uart
set_location_assignment PIN_M17 -to hps_uart_tx
set_location_assignment PIN_K17 -to hps_uart_rx
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_uart_tx
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_uart_rx
# hps-i2c (shared w fmc-a, fmc-b)
set_location_assignment PIN_M20 -to hps_i2c_scl
set_location_assignment PIN_L20 -to hps_i2c_sda
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_i2c_scl
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_i2c_sda
# hps-spi (max-v-u16)
set_location_assignment PIN_H21 -to hps_spi_cs0_n
set_location_assignment PIN_J21 -to hps_spi_cs1_n
set_location_assignment PIN_K18 -to hps_spi_clk
set_location_assignment PIN_L19 -to hps_spi_mosi
set_location_assignment PIN_H22 -to hps_spi_miso
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_spi_cs0_n
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_spi_cs1_n
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_spi_clk
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_spi_mosi
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_spi_miso
# gpio (max-v-u21)
set_location_assignment PIN_AR23 -to gpio_bd_o[0] ; ## led[0]
set_location_assignment PIN_AR22 -to gpio_bd_o[1] ; ## led[1]
set_location_assignment PIN_AM21 -to gpio_bd_o[2] ; ## led[2]
set_location_assignment PIN_AL20 -to gpio_bd_o[3] ; ## led[3]
set_location_assignment PIN_P3 -to gpio_bd_i[0] ; ## dipsw[0]
set_location_assignment PIN_P4 -to gpio_bd_i[1] ; ## dipsw[1]
set_location_assignment PIN_P1 -to gpio_bd_i[2] ; ## dipsw[2]
set_location_assignment PIN_R1 -to gpio_bd_i[3] ; ## dipsw[3]
set_location_assignment PIN_R5 -to gpio_bd_i[4] ; ## pb[0]
set_location_assignment PIN_T5 -to gpio_bd_i[5] ; ## pb[1]
set_location_assignment PIN_P5 -to gpio_bd_i[6] ; ## pb[2]
set_location_assignment PIN_P6 -to gpio_bd_i[7] ; ## pb[3]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[0]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[1]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[2]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_o[3]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_i[0]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_i[1]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_i[2]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_i[3]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_i[4]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_i[5]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_i[6]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_i[7]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_i[8]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_i[9]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_i[10]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_i[0]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_i[1]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_i[2]
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_i[3]
# hps-gpio (max-v-u16)
set_location_assignment PIN_J20 -to hps_gpio[0]
set_location_assignment PIN_N20 -to hps_gpio[1]
set_location_assignment PIN_K23 -to hps_gpio[2]
set_location_assignment PIN_L23 -to hps_gpio[3]
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_gpio[0]
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_gpio[1]
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_gpio[2]
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_gpio[3]
# hps-trace
set_location_assignment PIN_P20 -to hps_trace_clk
set_location_assignment PIN_K22 -to hps_trace_d0
set_location_assignment PIN_L22 -to hps_trace_d1
set_location_assignment PIN_M22 -to hps_trace_d2
set_location_assignment PIN_M21 -to hps_trace_d3
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_trace_clk
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_trace_d0
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_trace_d1
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_trace_d2
set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_trace_d3
# globals
@ -237,4 +292,10 @@ set_global_assignment -name TIMEQUEST_DO_CCPP_REMOVAL ON
set_global_assignment -name TIMEQUEST_REPORT_SCRIPT $ad_hdl_dir/projects/scripts/adi_tquest.tcl
set_global_assignment -name ON_CHIP_BITSTREAM_DECOMPRESSION OFF
# set libraries
set ad_lib_folders "../common/;../../common/a10soc/;../../../library/**/*"
set_user_option -name USER_IP_SEARCH_PATHS $ad_lib_folders
set_global_assignment -name IP_SEARCH_PATHS $ad_lib_folders

File diff suppressed because one or more lines are too long

View File

@ -9,81 +9,9 @@ M_DEPS += system_top.v
M_DEPS += system_project.tcl
M_DEPS += system_constr.sdc
M_DEPS += system_bd.qsys
M_DEPS += ../common/daq2_spi.v
M_DEPS += ../common/daq2_bd.qsys
M_DEPS += ../../scripts/adi_env.tcl
M_DEPS += ../../common/a10gx/a10gx_system_bd.qsys
M_DEPS += ../../common/a10gx/a10gx_system_assign.tcl
M_DEPS += ../../../library/common/ad_iobuf.v
M_DEPS += ../../../library/axi_ad9144/axi_ad9144.v
M_DEPS += ../../../library/axi_ad9144/axi_ad9144_channel.v
M_DEPS += ../../../library/axi_ad9144/axi_ad9144_core.v
M_DEPS += ../../../library/axi_ad9144/axi_ad9144_hw.tcl
M_DEPS += ../../../library/axi_ad9144/axi_ad9144_if.v
M_DEPS += ../../../library/axi_ad9680/axi_ad9680.v
M_DEPS += ../../../library/axi_ad9680/axi_ad9680_channel.v
M_DEPS += ../../../library/axi_ad9680/axi_ad9680_hw.tcl
M_DEPS += ../../../library/axi_ad9680/axi_ad9680_if.v
M_DEPS += ../../../library/axi_ad9680/axi_ad9680_pnmon.v
M_DEPS += ../../../library/axi_dmac/2d_transfer.v
M_DEPS += ../../../library/axi_dmac/address_generator.v
M_DEPS += ../../../library/axi_dmac/axi_dmac.v
M_DEPS += ../../../library/axi_dmac/axi_dmac_hw.tcl
M_DEPS += ../../../library/axi_dmac/axi_register_slice.v
M_DEPS += ../../../library/axi_dmac/data_mover.v
M_DEPS += ../../../library/axi_dmac/dest_axi_mm.v
M_DEPS += ../../../library/axi_dmac/dest_axi_stream.v
M_DEPS += ../../../library/axi_dmac/dest_fifo_inf.v
M_DEPS += ../../../library/axi_dmac/inc_id.h
M_DEPS += ../../../library/axi_dmac/request_arb.v
M_DEPS += ../../../library/axi_dmac/request_generator.v
M_DEPS += ../../../library/axi_dmac/resp.h
M_DEPS += ../../../library/axi_dmac/response_generator.v
M_DEPS += ../../../library/axi_dmac/response_handler.v
M_DEPS += ../../../library/axi_dmac/splitter.v
M_DEPS += ../../../library/axi_dmac/src_axi_mm.v
M_DEPS += ../../../library/axi_dmac/src_axi_stream.v
M_DEPS += ../../../library/axi_dmac/src_fifo_inf.v
M_DEPS += ../../../library/axi_jesd_xcvr/axi_jesd_xcvr.v
M_DEPS += ../../../library/axi_jesd_xcvr/axi_jesd_xcvr_hw.tcl
M_DEPS += ../../../library/common/ad_datafmt.v
M_DEPS += ../../../library/common/ad_dds.v
M_DEPS += ../../../library/common/ad_dds_1.v
M_DEPS += ../../../library/common/ad_dds_sine.v
M_DEPS += ../../../library/common/ad_jesd_align.v
M_DEPS += ../../../library/common/ad_mul.v
M_DEPS += ../../../library/common/ad_pnmon.v
M_DEPS += ../../../library/common/ad_rst.v
M_DEPS += ../../../library/common/altera/MULT_MACRO.v
M_DEPS += ../../../library/common/sync_bits.v
M_DEPS += ../../../library/common/sync_gray.v
M_DEPS += ../../../library/common/up_adc_channel.v
M_DEPS += ../../../library/common/up_adc_common.v
M_DEPS += ../../../library/common/up_axi.v
M_DEPS += ../../../library/common/up_clock_mon.v
M_DEPS += ../../../library/common/up_dac_channel.v
M_DEPS += ../../../library/common/up_dac_common.v
M_DEPS += ../../../library/common/up_delay_cntrl.v
M_DEPS += ../../../library/common/up_xcvr.v
M_DEPS += ../../../library/common/up_xfer_cntrl.v
M_DEPS += ../../../library/common/up_xfer_status.v
M_DEPS += ../../../library/util_adcfifo/../common/ad_axis_inf_rx.v
M_DEPS += ../../../library/util_adcfifo/../common/ad_mem_asym.v
M_DEPS += ../../../library/util_adcfifo/util_adcfifo.v
M_DEPS += ../../../library/util_adcfifo/util_adcfifo_hw.tcl
M_DEPS += ../../../library/util_axis_fifo/address_gray.v
M_DEPS += ../../../library/util_axis_fifo/address_gray_pipelined.v
M_DEPS += ../../../library/util_axis_fifo/address_sync.v
M_DEPS += ../../../library/util_axis_fifo/util_axis_fifo.v
M_DEPS += ../../../library/util_axis_resize/util_axis_resize.v
M_DEPS += ../../../library/util_cpack/util_cpack.v
M_DEPS += ../../../library/util_cpack/util_cpack_dsf.v
M_DEPS += ../../../library/util_cpack/util_cpack_hw.tcl
M_DEPS += ../../../library/util_cpack/util_cpack_mux.v
M_DEPS += ../../../library/util_upack/util_upack.v
M_DEPS += ../../../library/util_upack/util_upack_dmx.v
M_DEPS += ../../../library/util_upack/util_upack_dsf.v
M_DEPS += ../../../library/util_upack/util_upack_hw.tcl
M_DEPS += ../../common/a10soc/a10soc_system_bd.qsys
M_DEPS += ../../common/a10soc/a10soc_system_assign.tcl
M_ALTERA := quartus_sh --64bit -t
@ -120,7 +48,7 @@ M_FLIST += *.pin
.PHONY: all clean clean-all
all: daq2_a10gx.sof
all: fmcomms2_a10soc.sof
@ -131,9 +59,9 @@ clean-all:
rm -rf $(M_FLIST)
daq2_a10gx.sof: $(M_DEPS)
fmcomms2_a10soc.sof: $(M_DEPS)
rm -rf $(M_FLIST)
$(M_ALTERA) system_project.tcl >> daq2_a10gx_quartus.log 2>&1
$(M_ALTERA) system_project.tcl >> fmcomms2_a10soc_quartus.log 2>&1
####################################################################################
####################################################################################

View File

@ -2,91 +2,14 @@
load_package flow
source ../../scripts/adi_env.tcl
project_new daq2_a10gx -overwrite
project_new fmcomms2_a10soc -overwrite
source "../../common/a10soc/a10soc_system_assign.tcl"
source "../../common/a10gx/a10gx_system_assign.tcl"
set_user_option -name USER_IP_SEARCH_PATHS "../common/;../../common/a10gx/;../../../library/**/*"
set_global_assignment -name IP_SEARCH_PATHS "../common/;../../common/a10gx;../../../library/**/*"
set_global_assignment -name QSYS_FILE system_bd.qsys
set_global_assignment -name VERILOG_FILE "../../../library/common/ad_iobuf.v"
set_global_assignment -name VERILOG_FILE ../common/daq2_spi.v
set_global_assignment -name VERILOG_FILE system_top.v
set_global_assignment -name SDC_FILE system_constr.sdc
set_global_assignment -name TOP_LEVEL_ENTITY system_top
# lane interface
set_location_assignment PIN_AJ8 -to rx_ref_clk ; ## B20 FMCA_GBTCLK1_M2C_P
set_location_assignment PIN_AJ7 -to "rx_ref_clk(n)" ; ## B21 FMCA_GBTCLK1_M2C_N
set_location_assignment PIN_AV5 -to rx_data[0] ; ## A10 FMCA_DP3_M2C_P
set_location_assignment PIN_AV6 -to "rx_data[0](n)" ; ## A11 FMCA_DP3_M2C_N
set_location_assignment PIN_AW7 -to rx_data[1] ; ## C06 FMCA_DP0_M2C_P
set_location_assignment PIN_AW8 -to "rx_data[1](n)" ; ## C07 FMCA_DP0_M2C_N
set_location_assignment PIN_AY5 -to rx_data[2] ; ## A06 FMCA_DP2_M2C_P
set_location_assignment PIN_AY6 -to "rx_data[2](n)" ; ## A07 FMCA_DP2_M2C_N
set_location_assignment PIN_BA7 -to rx_data[3] ; ## A02 FMCA_DP1_M2C_P
set_location_assignment PIN_BA8 -to "rx_data[3](n)" ; ## A03 FMCA_DP1_M2C_N
set_location_assignment PIN_AT10 -to rx_sync ; ## D08 FMCA_LA01_CC_P
set_location_assignment PIN_AR11 -to "rx_sync(n)" ; ## D09 FMCA_LA01_CC_N
set_location_assignment PIN_AR20 -to rx_sysref ; ## G09 FMCA_LA03_P
set_location_assignment PIN_AR19 -to "rx_sysref(n)" ; ## G10 FMCA_LA03_N
set_location_assignment PIN_AL8 -to tx_ref_clk ; ## D04 FMCA_GBTCLK0_M2C_P
set_location_assignment PIN_AL7 -to "tx_ref_clk(n)" ; ## D05 FMCA_GBTCLK0_M2C_N
set_location_assignment PIN_BC3 -to tx_data[0] ; ## A30 FMCA_DP3_C2M_P (tx_data_p[0])
set_location_assignment PIN_BC4 -to "tx_data[0](n)" ; ## A31 FMCA_DP3_C2M_N (tx_data_n[0])
set_location_assignment PIN_BC7 -to tx_data[1] ; ## C02 FMCA_DP0_C2M_P (tx_data_p[3])
set_location_assignment PIN_BC8 -to "tx_data[1](n)" ; ## C03 FMCA_DP0_C2M_N (tx_data_n[3])
set_location_assignment PIN_BB5 -to tx_data[2] ; ## A26 FMCA_DP2_C2M_P (tx_data_p[1])
set_location_assignment PIN_BB6 -to "tx_data[2](n)" ; ## A27 FMCA_DP2_C2M_N (tx_data_n[1])
set_location_assignment PIN_BD5 -to tx_data[3] ; ## A22 FMCA_DP1_C2M_P (tx_data_p[2])
set_location_assignment PIN_BD6 -to "tx_data[3](n)" ; ## A23 FMCA_DP1_C2M_N (tx_data_n[2])
set_location_assignment PIN_AR22 -to tx_sync ; ## H07 FMCA_LA02_P
set_location_assignment PIN_AT22 -to "tx_sync(n)" ; ## H08 FMCA_LA02_N
set_location_assignment PIN_AN20 -to tx_sysref ; ## H10 FMCA_LA04_P
set_location_assignment PIN_AP19 -to "tx_sysref(n)" ; ## H11 FMCA_LA04_N
set_instance_assignment -name IO_STANDARD "HIGH SPEED DIFFERENTIAL I/O" -to rx_data[0]
set_instance_assignment -name IO_STANDARD "HIGH SPEED DIFFERENTIAL I/O" -to rx_data[1]
set_instance_assignment -name IO_STANDARD "HIGH SPEED DIFFERENTIAL I/O" -to rx_data[2]
set_instance_assignment -name IO_STANDARD "HIGH SPEED DIFFERENTIAL I/O" -to rx_data[3]
set_instance_assignment -name IO_STANDARD LVDS -to rx_sync
set_instance_assignment -name IO_STANDARD LVDS -to rx_sysref
set_instance_assignment -name INPUT_TERMINATION DIFFERENTIAL -to rx_sysref
set_instance_assignment -name IO_STANDARD "HIGH SPEED DIFFERENTIAL I/O" -to tx_data[0]
set_instance_assignment -name IO_STANDARD "HIGH SPEED DIFFERENTIAL I/O" -to tx_data[1]
set_instance_assignment -name IO_STANDARD "HIGH SPEED DIFFERENTIAL I/O" -to tx_data[2]
set_instance_assignment -name IO_STANDARD "HIGH SPEED DIFFERENTIAL I/O" -to tx_data[3]
set_instance_assignment -name IO_STANDARD LVDS -to tx_sync
set_instance_assignment -name INPUT_TERMINATION DIFFERENTIAL -to tx_sync
set_instance_assignment -name IO_STANDARD LVDS -to tx_sysref
set_instance_assignment -name INPUT_TERMINATION DIFFERENTIAL -to tx_sysref
# gpio
set_location_assignment PIN_AT17 -to trig ; ## H13 FMCA_LA07_P
set_location_assignment PIN_AU17 -to "trig(n)" ; ## H14 FMCA_LA07_N
set_location_assignment PIN_AR14 -to adc_fdb ; ## H17 FMCA_LA11_N
set_location_assignment PIN_AT14 -to adc_fda ; ## H16 FMCA_LA11_P
set_location_assignment PIN_AR16 -to dac_irq ; ## G15 FMCA_LA12_P
set_location_assignment PIN_AP17 -to clkd_status[1] ; ## D18 FMCA_LA13_N
set_location_assignment PIN_AR17 -to clkd_status[0] ; ## D17 FMCA_LA13_P
set_location_assignment PIN_AV14 -to adc_pd ; ## C10 FMCA_LA06_P
set_location_assignment PIN_AP16 -to dac_txen ; ## G16 FMCA_LA12_N
set_location_assignment PIN_AT15 -to dac_reset ; ## C15 FMCA_LA10_N
set_location_assignment PIN_AP18 -to clkd_sync ; ## G12 FMCA_LA08_P
set_instance_assignment -name IO_STANDARD LVDS -to trig
# spi
set_location_assignment PIN_AV11 -to spi_csn_clk ; ## D11 FMCA_LA05_P
set_location_assignment PIN_AR15 -to spi_csn_dac ; ## C14 FMCA_LA10_P
set_location_assignment PIN_AV13 -to spi_csn_adc ; ## D15 FMCA_LA09_N
set_location_assignment PIN_AW11 -to spi_clk ; ## D12 FMCA_LA05_N
set_location_assignment PIN_AW13 -to spi_sdio ; ## D14 FMCA_LA09_P
set_location_assignment PIN_AN19 -to spi_dir ; ## G13 FMCA_LA08_N
execute_flow -compile