]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
Fixed correct timeout, should be 50000 cycles=500us
authorAndreas Neiser <neiser@kph.uni-mainz.de>
Mon, 22 Apr 2013 16:03:34 +0000 (18:03 +0200)
committerAndreas Neiser <neiser@kph.uni-mainz.de>
Mon, 22 Apr 2013 17:13:07 +0000 (19:13 +0200)
cts/source/mainz_a2_recv.vhd

index caa05e049cbd05cd059a2aa489b7035ac7df545f..f637413b62cd64e42fbe0f975925c6e9150ca9d1 100644 (file)
@@ -50,9 +50,9 @@ end entity;
 
 architecture arch1 of mainz_a2_recv is
 
-       constant timeoutcnt_Max : integer := 2000000; -- x 10 ns = 20us maximum
-                                                    -- time until trigger id can
-                                                    -- be received;
+       constant timeoutcnt_Max : integer := 50000; -- x 10 ns = 500us maximum
+                                                   -- time until trigger id can
+                                                   -- be received;
        signal timeoutcnt : integer range 0 to timeoutcnt_Max := timeoutcnt_Max;
        
        signal shift_reg : std_logic_vector(34 downto 0);