From ed48b670efa1205aa0eab0b9dadd023bc39a5fd5 Mon Sep 17 00:00:00 2001 From: Hadaq in Frankfurt Date: Thu, 4 Apr 2013 23:24:08 +0200 Subject: [PATCH] Bugfix: Reset of signal in wrong process causes multiple drivers --- cts/source/cts.vhd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cts/source/cts.vhd b/cts/source/cts.vhd index 4bd9765..fe7fbd3 100755 --- a/cts/source/cts.vhd +++ b/cts/source/cts.vhd @@ -644,9 +644,7 @@ begin begin if rising_edge(CLK) then if RESET='1' then - eb_mask_i <= (0 => '1', others => '0'); eb_mask_buf_i <= (0 => '1', others => '0'); - eb_aggr_threshold_i <= x"00"; eb_aggr_counter_i <= x"00"; elsif eb_aggr_threshold_i /= x"00" and ro_next_cycle_i = '1' then if eb_aggr_threshold_i = eb_aggr_counter_i then @@ -817,6 +815,9 @@ begin throttle_threshold_i <= (others => '0'); throttle_enabled_i <= '0'; stop_triggers_i <= '0'; + eb_aggr_threshold_i <= x"00"; + eb_mask_i <= (0 => '1', others => '0'); + else -- 2.43.0