]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
Minor bug-fix to remove the errorous time-reference signal after reset
authorhadeshyp <hadeshyp>
Wed, 14 Nov 2012 19:30:23 +0000 (19:30 +0000)
committerhadeshyp <hadeshyp>
Wed, 14 Nov 2012 19:30:23 +0000 (19:30 +0000)
cts/source/cts.vhd

index c67ba888942368e0aa0617cfbddacaff556eea90..b5b8c9abbba3efed5598f0f1e6e64bfa5f23ca56 100755 (executable)
@@ -578,7 +578,7 @@ begin
       if rising_edge(CLK) then
          TIME_REFERENCE_OUT <= '0';
          if RESET = '1' then
-            time_reference_counter_v := TIME_REFERENCE_COUNT;
+            time_reference_counter_v := TIME_REFERENCE_COUNT - 1;
          else
             if time_reference_start_i = '1' then
                -- start