108 lines
6.5 KiB
Tcl
108 lines
6.5 KiB
Tcl
set REQUIRED_QUARTUS_VERSION 18.1.0
|
|
set QUARTUS_PRO_ISUSED 0
|
|
|
|
source ../../scripts/adi_env.tcl
|
|
source ../../scripts/adi_project_intel.tcl
|
|
|
|
adi_project cn0506_rgmii_a10soc
|
|
|
|
source $ad_hdl_dir/projects/common/a10soc/a10soc_system_assign.tcl
|
|
|
|
# files
|
|
set_global_assignment -name VERILOG_FILE ../../../library/common/ad_iobuf.v
|
|
|
|
set_location_assignment PIN_G14 -to rgmii_rxc_a ; ## G06 FMCA_HPC_LA00_CC_P
|
|
set_location_assignment PIN_B9 -to rgmii_rx_ctl_a ; ## H14 FMCA_HPC_LA07_N
|
|
set_location_assignment PIN_C13 -to rgmii_rxd_a[0] ; ## H07 FMCA_HPC_LA02_P
|
|
set_location_assignment PIN_D13 -to rgmii_rxd_a[1] ; ## H08 FMCA_HPC_LA02_N
|
|
set_location_assignment PIN_C14 -to rgmii_rxd_a[2] ; ## G09 FMCA_HPC_LA03_P
|
|
set_location_assignment PIN_D14 -to rgmii_rxd_a[3] ; ## G10 FMCA_HPC_LA03_N
|
|
set_location_assignment PIN_H13 -to rgmii_txc_a ; ## H11 FMCA_HPC_LA04_N
|
|
set_location_assignment PIN_A9 -to rgmii_tx_ctl_a ; ## H13 FMCA_HPC_LA07_P
|
|
set_location_assignment PIN_A12 -to rgmii_txd_a[0] ; ## D14 FMCA_HPC_LA09_P
|
|
set_location_assignment PIN_A13 -to rgmii_txd_a[1] ; ## D15 FMCA_HPC_LA09_N
|
|
set_location_assignment PIN_A10 -to rgmii_txd_a[2] ; ## C10 FMCA_HPC_LA06_P
|
|
set_location_assignment PIN_B10 -to rgmii_txd_a[3] ; ## C11 FMCA_HPC_LA06_N
|
|
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to rgmii_rxc_a
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to rgmii_rx_ctl_a
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to rgmii_rxd_a
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to rgmii_txc_a
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to rgmii_tx_ctl_a
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to rgmii_txd_a
|
|
|
|
set_location_assignment PIN_C9 -to mdio_fmc_a ; ## H16 FMCA_HPC_LA11_P
|
|
set_location_assignment PIN_D9 -to mdc_fmc_a ; ## H17 FMCA_HPC_LA11_N
|
|
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to mdio_fmc_a
|
|
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to mdio_fmc_a
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to mdc_fmc_a
|
|
|
|
set_location_assignment PIN_D4 -to reset_a ; ## H19 FMCA_HPC_LA15_P
|
|
set_location_assignment PIN_H12 -to link_st_a ; ## H10 FMCA_HPC_LA04_P
|
|
set_location_assignment PIN_B12 -to int_n_a ; ## G13 FMCA_HPC_LA08_N
|
|
set_location_assignment PIN_B11 -to led_0_a ; ## G12 FMCA_HPC_LA08_P
|
|
set_location_assignment PIN_M12 -to led_ar_c_c2m ; ## G15 FMCA_HPC_LA12_P
|
|
set_location_assignment PIN_N13 -to led_ar_a_c2m ; ## G16 FMCA_HPC_LA12_N
|
|
set_location_assignment PIN_J11 -to led_al_c_c2m ; ## D17 FMCA_HPC_LA13_P
|
|
set_location_assignment PIN_K11 -to led_al_a_c2m ; ## D18 FMCA_HPC_LA13_N
|
|
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to reset_a
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to link_st_a
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to int_n_a
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to led_0_a
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to led_ar_c_c2m
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to led_ar_a_c2m
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to led_al_c_c2m
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to led_al_a_c2m
|
|
|
|
set_location_assignment PIN_G7 -to rgmii_rxc_b ; ## C22 FMCA_HPC_LA18_CC_P
|
|
set_location_assignment PIN_E2 -to rgmii_rx_ctl_b ; ## H29 FMCA_HPC_LA24_N
|
|
set_location_assignment PIN_G5 -to rgmii_rxd_b[0] ; ## H22 FMCA_HPC_LA19_P
|
|
set_location_assignment PIN_G6 -to rgmii_rxd_b[1] ; ## H23 FMCA_HPC_LA19_N
|
|
set_location_assignment PIN_C3 -to rgmii_rxd_b[2] ; ## G21 FMCA_HPC_LA20_P
|
|
set_location_assignment PIN_C4 -to rgmii_rxd_b[3] ; ## G22 FMCA_HPC_LA20_N
|
|
set_location_assignment PIN_F3 -to rgmii_txc_b ; ## G28 FMCA_HPC_LA25_N
|
|
set_location_assignment PIN_E1 -to rgmii_tx_ctl_b ; ## H28 FMCA_HPC_LA24_P
|
|
set_location_assignment PIN_C2 -to rgmii_txd_b[0] ; ## H25 FMCA_HPC_LA21_P
|
|
set_location_assignment PIN_D3 -to rgmii_txd_b[1] ; ## H26 FMCA_HPC_LA21_N
|
|
set_location_assignment PIN_F4 -to rgmii_txd_b[2] ; ## G24 FMCA_HPC_LA22_P
|
|
set_location_assignment PIN_G4 -to rgmii_txd_b[3] ; ## G25 FMCA_HPC_LA22_N
|
|
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to rgmii_rxc_b
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to rgmii_rx_ctl_b
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to rgmii_rxd_b
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to rgmii_txc_b
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to rgmii_tx_ctl_b
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to rgmii_txd_b
|
|
|
|
set_location_assignment PIN_L5 -to mdio_fmc_b ; ## H31 FMCA_HPC_LA28_P
|
|
set_location_assignment PIN_M5 -to mdc_fmc_b ; ## H32 FMCA_HPC_LA28_N
|
|
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to mdio_fmc_b
|
|
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to mdio_fmc_b
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to mdc_fmc_b
|
|
|
|
set_location_assignment PIN_D5 -to reset_b ; ## H20 FMCA_HPC_LA15_N
|
|
set_location_assignment PIN_E3 -to link_st_b ; ## G27 FMCA_HPC_LA25_P
|
|
set_location_assignment PIN_D1 -to int_n_b ; ## D24 FMCA_HPC_LA23_N
|
|
set_location_assignment PIN_C1 -to led_0_b ; ## D23 FMCA_HPC_LA23_P
|
|
set_location_assignment PIN_N13 -to led_b ; ## G16 FMCA_HPC_LA12_N
|
|
set_location_assignment PIN_F2 -to led_bl_c_c2m ; ## D26 FMCA_HPC_LA26_P
|
|
set_location_assignment PIN_G2 -to led_bl_a_c2m ; ## D27 FMCA_HPC_LA26_N
|
|
set_location_assignment PIN_D6 -to led_br_c_c2m ; ## G18 FMCA_HPC_LA16_P
|
|
set_location_assignment PIN_E6 -to led_br_a_c2m ; ## G19 FMCA_HPC_LA16_N
|
|
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to reset_b
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to link_st_b
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to int_n_b
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to led_0_b
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to led_bl_c_c2m
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to led_bl_a_c2m
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to led_br_c_c2m
|
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to led_br_a_c2m
|
|
|
|
|
|
execute_flow -compile
|
|
|