]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
*** empty log message ***
authorhadeshyp <hadeshyp>
Thu, 18 Feb 2010 13:37:36 +0000 (13:37 +0000)
committerhadeshyp <hadeshyp>
Thu, 18 Feb 2010 13:37:36 +0000 (13:37 +0000)
trb_net16_addresses.vhd
trb_net16_hub_streaming_port.vhd

index a2c80435d6dde82925726bdcb438ef8b87c59ab3..dd5d5546044d14e1a57cc4520832c86d70dbf927 100644 (file)
@@ -41,7 +41,7 @@ architecture trb_net16_addresses_arch of trb_net16_addresses is
   -- Placer Directives
   attribute HGROUP : string;
   -- for whole architecture
-  attribute HGROUP of trb_net16_addresses_arch : architecture  is "HUBLOCIG_group";
+  attribute HGROUP of trb_net16_addresses_arch : architecture  is "HUBLOGIC_group";
 
 
   component ram_16x16_dp is
index 4c2a4361f9d18354bd83c0fd304d68df3b683593..d33759cf94211a84f55d54a0908433953aab13f3 100644 (file)
@@ -196,20 +196,9 @@ begin
     MED_CTRL_OP(14+mii*16) <= '0';
     MED_CTRL_OP(15+mii*16) <= hub_make_network_reset;
 
-  proc_network_reset : process(MED_STAT_OP)
-    variable tmp15, tmp13 : std_logic := '0';
-    begin
-      tmp15 := '0';
-      tmp13 := '0';
-      for i in 0 to MII_NUMBER-1 loop
-        if MII_IS_UPLINK(i) = 1 then
-          tmp15 := tmp15 or MED_STAT_OP(i*16+15);
-          tmp13 := tmp13 or MED_STAT_OP(i*16+13);
-        end if;
-      end loop;
-      hub_make_network_reset <= tmp15;
-      hub_got_network_reset  <= tmp13;
-    end process;
+
+  hub_make_network_reset <= MED_STAT_OP(15) or MED_STAT_OP(15+mii*16);
+  hub_got_network_reset  <= MED_STAT_OP(13) or MED_STAT_OP(13+mii*16);
 
 ---------------------------------------------------------------------
 -- Connecting I/O