From cc8223ee57aacdd0a7787b22f0ac5ee738124fa8 Mon Sep 17 00:00:00 2001 From: Eric Kooistra <kooistra@astron.nl> Date: Thu, 6 Oct 2022 10:38:58 +0200 Subject: [PATCH] Do not (yet) register ref_sync. --- libraries/base/dp/src/vhdl/dp_bsn_monitor_v2.vhd | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libraries/base/dp/src/vhdl/dp_bsn_monitor_v2.vhd b/libraries/base/dp/src/vhdl/dp_bsn_monitor_v2.vhd index 8670721cbb..452e97f76a 100644 --- a/libraries/base/dp/src/vhdl/dp_bsn_monitor_v2.vhd +++ b/libraries/base/dp/src/vhdl/dp_bsn_monitor_v2.vhd @@ -170,7 +170,12 @@ BEGIN latency <= cnt_latency; -- Register ref_sync to ease timing closure for ref_sync fanout to (many) dp_bsn_monitor_v2 instances - ref_sync_reg <= ref_sync WHEN rising_edge(clk); + -- TODO if needed: + -- Registering ref_sync assumes ref_sunc occurs before in_sosi.sync. When ref_sync = in_sosi.sync, + -- then also the impact of registering ref_sync with respect to in_sosi and in_siso needs to be + -- verified. + --ref_sync_reg <= ref_sync WHEN rising_edge(clk); + ref_sync_reg <= ref_sync; u_sync_timeout_cnt : ENTITY common_lib.common_counter GENERIC MAP ( -- GitLab