From 996d0fe8a470dbc4ea921d3cf6eab337f8ee6a9a Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Thu, 16 Apr 2015 11:27:39 +0200 Subject: [PATCH] axi_hdmi_tx: Only mark HDMI clocks asynchronous to each other Currently the axi_hdmi_tx core constraints marks all its clocks asynchronous to all other clocks in the system. This is a bit unfortunate as these constraints are not restricted to the axi_hdmi_tx, but affect all cores in the system, some of which might actually have timing constraints on CDC paths. The proper way to fix this is to add constraints for the axi_hdmi_tx core CDC paths. For now only mark the interface clock asynchronous to the HDMI clock, as this is easy to do and an improvement over the current situation, as other cores are no longer affected. Signed-off-by: Lars-Peter Clausen --- library/axi_hdmi_tx/axi_hdmi_tx_constr.xdc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/library/axi_hdmi_tx/axi_hdmi_tx_constr.xdc b/library/axi_hdmi_tx/axi_hdmi_tx_constr.xdc index dfcef7db2..1a29dd5b4 100644 --- a/library/axi_hdmi_tx/axi_hdmi_tx_constr.xdc +++ b/library/axi_hdmi_tx/axi_hdmi_tx_constr.xdc @@ -1,6 +1,3 @@ - -set_clock_groups -asynchronous -group [get_clocks -of_objects [get_ports hdmi_clk]] -set_clock_groups -asynchronous -group [get_clocks -of_objects [get_ports s_axi_aclk]] -set_clock_groups -asynchronous -group [get_clocks -of_objects [get_ports m_axis_mm2s_clk]] - - +set_clock_groups -asynchronous \ + -group [get_clocks -of_objects [get_ports hdmi_clk]] \ + -group [get_clocks -of_objects [get_ports s_axi_aclk]]