67 lines
2.5 KiB
Tcl
Executable File
67 lines
2.5 KiB
Tcl
Executable File
|
|
source ../../scripts/adi_env.tcl
|
|
source ../../scripts/adi_project_alt.tcl
|
|
|
|
adi_project_altera fmcjesdadc1_a5soc
|
|
|
|
source $ad_hdl_dir/projects/common/a5soc/a5soc_system_assign.tcl
|
|
|
|
# files
|
|
|
|
set_global_assignment -name VERILOG_FILE ../common/fmcjesdadc1_spi.v
|
|
set_global_assignment -name VERILOG_FILE ../../../library/common/ad_sysref_gen.v
|
|
|
|
# reference clock
|
|
|
|
set_location_assignment PIN_AG32 -to ref_clk
|
|
set_location_assignment PIN_AG33 -to "ref_clk(n)"
|
|
set_instance_assignment -name IO_STANDARD "1.5-V PCML" -to ref_clk
|
|
set_instance_assignment -name XCVR_REFCLK_PIN_TERMINATION AC_COUPLING -to ref_clk
|
|
set_instance_assignment -name XCVR_IO_PIN_TERMINATION 100_OHMS -to ref_clk
|
|
|
|
# lane data
|
|
|
|
set_location_assignment PIN_AW37 -to rx_data[0]
|
|
set_location_assignment PIN_AW36 -to "rx_data[0](n)"
|
|
set_location_assignment PIN_AP39 -to rx_data[1]
|
|
set_location_assignment PIN_AP38 -to "rx_data[1](n)"
|
|
set_location_assignment PIN_AM39 -to rx_data[2]
|
|
set_location_assignment PIN_AM38 -to "rx_data[2](n)"
|
|
set_location_assignment PIN_AH39 -to rx_data[3]
|
|
set_location_assignment PIN_AH38 -to "rx_data[3](n)"
|
|
set_instance_assignment -name IO_STANDARD "1.5-V PCML" -to rx_data[0]
|
|
set_instance_assignment -name IO_STANDARD "1.5-V PCML" -to rx_data[1]
|
|
set_instance_assignment -name IO_STANDARD "1.5-V PCML" -to rx_data[2]
|
|
set_instance_assignment -name IO_STANDARD "1.5-V PCML" -to rx_data[3]
|
|
set_instance_assignment -name XCVR_IO_PIN_TERMINATION 100_OHMS -to rx_data[0]
|
|
set_instance_assignment -name XCVR_IO_PIN_TERMINATION 100_OHMS -to rx_data[1]
|
|
set_instance_assignment -name XCVR_IO_PIN_TERMINATION 100_OHMS -to rx_data[2]
|
|
set_instance_assignment -name XCVR_IO_PIN_TERMINATION 100_OHMS -to rx_data[3]
|
|
set_instance_assignment -name GXB_0PPM_CORECLK ON -to rx_data
|
|
|
|
# jesd signals
|
|
|
|
set_location_assignment PIN_A29 -to rx_sync
|
|
set_instance_assignment -name IO_STANDARD "2.5 V" -to rx_sync
|
|
|
|
set_location_assignment PIN_A28 -to rx_sysref
|
|
set_instance_assignment -name IO_STANDARD "2.5 V" -to rx_sysref
|
|
|
|
# spi
|
|
|
|
set_location_assignment PIN_C29 -to spi_csn
|
|
set_location_assignment PIN_B28 -to spi_clk
|
|
set_location_assignment PIN_C32 -to spi_sdio
|
|
|
|
set_instance_assignment -name IO_STANDARD "2.5 V" -to spi_csn
|
|
set_instance_assignment -name IO_STANDARD "2.5 V" -to spi_clk
|
|
set_instance_assignment -name IO_STANDARD "2.5 V" -to spi_sdio
|
|
|
|
# disable auto-pack
|
|
|
|
set_instance_assignment -name AUTO_SHIFT_REGISTER_RECOGNITION OFF -to * -entity ad_sysref_gen
|
|
set_instance_assignment -name QII_AUTO_PACKED_REGISTERS OFF -to * -entity ad_sysref_gen
|
|
|
|
execute_flow -compile
|
|
|