]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
*** empty log message ***
authorhadeshyp <hadeshyp>
Mon, 16 Nov 2009 14:42:59 +0000 (14:42 +0000)
committerhadeshyp <hadeshyp>
Mon, 16 Nov 2009 14:42:59 +0000 (14:42 +0000)
trb_net16_hub_base.vhd
trb_net16_hub_ipu_logic.vhd

index 61c2a3d6e2ebf2cf2d4fb068d06da0215ee29693..1bdb7053f953c5346d7cc14ad30d95d4a74590a9 100644 (file)
@@ -766,7 +766,7 @@ MED_DATA_OUT       <= buf_MED_DATA_OUT;
   hub_control : trb_net16_regIO
     generic map(
       NUM_STAT_REGS      => 4,
-      NUM_CTRL_REGS      => 4,
+      NUM_CTRL_REGS      => 3,
       INIT_CTRL_REGS     => x"00000000_00000000_00000000_00000000" &
                             x"00000000_00000000_00000000_00000000" &
                             x"00000000_00000000_00009999_00000000" &
index e7fac815536deaaa6415561a606417041a496327..4458d3da96ca1d9864473f98092cfb349bdb26e1 100644 (file)
@@ -541,7 +541,7 @@ begin
         if rising_edge(CLK) then
           connection_timed_out(i) <= '0';
           timeout_found <= or_all(connection_timed_out);
-          if REPLY_DATAREADY_IN(i) = '1' or real_activepoints(i) = '0' or locked = '0' or locking_point(i) = '1'  or CTRL_TIMEOUT_TIME = 0  then
+          if REPLY_DATAREADY_IN(i) = '1' or real_activepoints(i) = '0' or locked = '0' or locking_point(i) = '1'  or CTRL_TIMEOUT_TIME = x"0"  then
             timeout_counter(i) <= (others => '0');
           elsif timeout_counter(i)(to_integer(unsigned('0'&CTRL_TIMEOUT_TIME)+to_unsigned(16,5))) = '1' then
             connection_timed_out(i) <= '1';