pluto_hdl_adi/projects/ad_quadmxfe1_ebz/vcu118/timing_constr.xdc

28 lines
1.2 KiB
Plaintext
Raw Normal View History

# Primary clock definitions
# These two reference clocks are connect to the same source on the PCB
create_clock -name refclk -period 4.00 [get_ports fpga_clk_m2c_p[0]]
create_clock -name refclk_replica -period 4.00 [get_ports fpga_clk_m2c_0_replica_n]
# rx device clock
create_clock -name rx_device_clk -period 4.00 [get_ports fpga_clk_m2c_p[1]]
# tx device clock
create_clock -name tx_device_clk -period 4.00 [get_ports fpga_clk_m2c_p[2]]
# SPI 2 clock
create_generated_clock -name spi_2_clk \
-source [get_pins i_system_wrapper/system_i/axi_spi_2/ext_spi_clk] \
-divide_by 2 [get_pins i_system_wrapper/system_i/axi_spi_2/sck_o]
# Constraint SYSREFs
# Assumption is that REFCLK and SYSREF have similar propagation delay,
# and the SYSREF is a source synchronous Edge-Aligned signal to REFCLK
set_input_delay -clock [get_clocks rx_device_clk] \
[get_property PERIOD [get_clocks rx_device_clk]] \
[get_ports {fpga_sysref_m2c_*}]
set_input_delay -clock [get_clocks tx_device_clk] -add_delay\
[get_property PERIOD [get_clocks tx_device_clk]] \
[get_ports {fpga_sysref_m2c_*}]
set_clock_groups -group rx_device_clk -group tx_device_clk -asynchronous