load_package flow source ../../scripts/adi_env.tcl project_new ad9671_fmc_a5gt -overwrite set_global_assignment -name FAMILY "Arria V" set_global_assignment -name DEVICE 5AGTFD7K3F40I3 set_global_assignment -name TOP_LEVEL_ENTITY system_top set_global_assignment -name SDC_FILE system_constr.sdc set_global_assignment -name QSYS_FILE system_bd.qsys set_global_assignment -name VERILOG_FILE $ad_hdl_dir/library/common/altera/ad_jesd_align.v set_global_assignment -name VERILOG_FILE $ad_hdl_dir/library/common/altera/ad_xcvr_rx_rst.v set_global_assignment -name VERILOG_FILE ../common/ad9671_fmc_spi.v set_global_assignment -name VERILOG_FILE system_top.v source $ad_hdl_dir/projects/common/a5gt/a5gt_system_assign.tcl # reference clock set_location_assignment PIN_AB9 -to ref_clk set_location_assignment PIN_AB8 -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_R1 -to rx_data[0] set_location_assignment PIN_R2 -to "rx_data[0](n)" set_location_assignment PIN_U1 -to rx_data[1] set_location_assignment PIN_U2 -to "rx_data[1](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 XCVR_IO_PIN_TERMINATION 100_OHMS -to rx_data[0] set_instance_assignment -name XCVR_IO_PIN_TERMINATION 100_OHMS -to rx_data[1] # jesd signals set_location_assignment PIN_AL8 -to rx_sync set_location_assignment PIN_AK8 -to "rx_sync(n)" set_instance_assignment -name IO_STANDARD LVDS -to rx_sync set_location_assignment PIN_AP7 -to rx_sysref set_location_assignment PIN_AN7 -to "rx_sysref(n)" set_instance_assignment -name IO_STANDARD LVDS -to rx_sysref # spi set_location_assignment PIN_AT15 -to spi_ad9671_csn set_location_assignment PIN_AH17 -to spi_ad9671_clk set_location_assignment PIN_AG17 -to spi_ad9671_sdio set_location_assignment PIN_AW15 -to spi_ad9516_csn set_location_assignment PIN_AP9 -to spi_ad9516_clk set_location_assignment PIN_AN9 -to spi_ad9516_sdio set_location_assignment PIN_AW14 -to spi_ad9553_csn set_location_assignment PIN_AU15 -to spi_ad9553_clk set_location_assignment PIN_AT6 -to spi_ad9553_sdio set_instance_assignment -name IO_STANDARD "2.5 V" -to spi_ad9671_csn set_instance_assignment -name IO_STANDARD "2.5 V" -to spi_ad9671_clk set_instance_assignment -name IO_STANDARD "2.5 V" -to spi_ad9671_sdio set_instance_assignment -name IO_STANDARD "2.5 V" -to spi_ad9516_csn set_instance_assignment -name IO_STANDARD "2.5 V" -to spi_ad9516_clk set_instance_assignment -name IO_STANDARD "2.5 V" -to spi_ad9516_sdio set_instance_assignment -name IO_STANDARD "2.5 V" -to spi_ad9553_csn set_instance_assignment -name IO_STANDARD "2.5 V" -to spi_ad9553_clk set_instance_assignment -name IO_STANDARD "2.5 V" -to spi_ad9553_sdio # gpio set_location_assignment PIN_AK16 -to reset_ad9516 set_location_assignment PIN_AG23 -to reset_ad9671 set_location_assignment PIN_AK15 -to trig set_location_assignment PIN_AU13 -to prci_sck set_location_assignment PIN_AV6 -to prci_cnv set_location_assignment PIN_AD16 -to prci_sdo set_location_assignment PIN_AT13 -to prcq_sck set_location_assignment PIN_AV7 -to prcq_cnv set_location_assignment PIN_AC16 -to prcq_sdo set_instance_assignment -name IO_STANDARD "2.5 V" -to reset_ad9516 set_instance_assignment -name IO_STANDARD "2.5 V" -to reset_ad9671 set_instance_assignment -name IO_STANDARD "2.5 V" -to trig set_instance_assignment -name IO_STANDARD "2.5 V" -to prci_sck set_instance_assignment -name IO_STANDARD "2.5 V" -to prci_cnv set_instance_assignment -name IO_STANDARD "2.5 V" -to prci_sdo set_instance_assignment -name IO_STANDARD "2.5 V" -to prcq_sck set_instance_assignment -name IO_STANDARD "2.5 V" -to prcq_cnv set_instance_assignment -name IO_STANDARD "2.5 V" -to prcq_sdo # globals set_global_assignment -name SYNCHRONIZER_IDENTIFICATION AUTO set_global_assignment -name ENABLE_ADVANCED_IO_TIMING ON set_global_assignment -name USE_TIMEQUEST_TIMING_ANALYZER ON set_global_assignment -name TIMEQUEST_DO_REPORT_TIMING ON set_global_assignment -name TIMEQUEST_DO_CCPP_REMOVAL ON set_global_assignment -name TIMEQUEST_REPORT_SCRIPT system_timing.tcl set_global_assignment -name ON_CHIP_BITSTREAM_DECOMPRESSION OFF execute_flow -compile