]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
syntax change to trb_net_obuf.vhd, Jan
authorhadeshyp <hadeshyp>
Fri, 31 Aug 2007 12:16:12 +0000 (12:16 +0000)
committerhadeshyp <hadeshyp>
Fri, 31 Aug 2007 12:16:12 +0000 (12:16 +0000)
trb_net_obuf.vhd

index 2bf3945d47f52b11cacec2a5ebb734871de11ace..e71c3bb9474d01070b50fffc5dc353a004fc4b6c 100644 (file)
@@ -243,7 +243,8 @@ architecture trb_net_obuf_arch of trb_net_obuf is
     if rising_edge(CLK) then
       if RESET = '1' then
 --        max_DATA_COUNT           <= (1 => '1', others => '0');
-        max_DATA_COUNT_minus_one <= (0 => '1', others => '0');
+        max_DATA_COUNT_minus_one(0) <= '1';
+        max_DATA_COUNT_minus_one(DATA_COUNT_WIDTH-1 downto 1) <= (others => '0');
       else
 --        max_DATA_COUNT           <= next_max_DATA_COUNT;
         max_DATA_COUNT_minus_one <= next_max_DATA_COUNT_minus_one;