]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
*** empty log message ***
authorhadeshyp <hadeshyp>
Wed, 16 Jan 2008 14:53:14 +0000 (14:53 +0000)
committerhadeshyp <hadeshyp>
Wed, 16 Jan 2008 14:53:14 +0000 (14:53 +0000)
optical_link/hub.vhd

index b481f4cb1de46a280c6246d6cd9663b4565ac7ea..bc356dd6ac2a4fda0c11ca258f985a6b06914499 100644 (file)
@@ -244,7 +244,7 @@ architecture hub of hub is
       HUB_USED_CHANNELS       : hub_channel_config_t := (c_YES,c_YES,c_YES,c_YES);
       IBUF_SECURE_MODE        : integer range 0 to 1 := c_NO;
     --media interfaces
-      MII_NUMBER              : integer range 2 to c_MAX_MII_PER_HUB := 12;
+      MII_NUMBER              : integer range 2 to c_MAX_MII_PER_HUB := HOW_MANY_CHANNELS;
       --each row is one media interface and each column is one channel. starting with 0,0, ending with 15,15
       MII_INIT_DEPTH          : hub_iobuf_config_t := std_HUB_INIT_DEPTH;
       MII_REPLY_DEPTH         : hub_iobuf_config_t := std_HUB_REPLY_DEPTH;