From f3fd15bdb4907a6fa1ae4a026ddec6e2bfeeba32 Mon Sep 17 00:00:00 2001 From: Adrian Weber Date: Wed, 7 Apr 2021 13:43:02 +0200 Subject: [PATCH] minor change in reset of links in cri hub. more similar to standard streaming port entities of trbnet --- src/hub/trb_net16_cri_hub.vhd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hub/trb_net16_cri_hub.vhd b/src/hub/trb_net16_cri_hub.vhd index e4f0081..0451a7e 100644 --- a/src/hub/trb_net16_cri_hub.vhd +++ b/src/hub/trb_net16_cri_hub.vhd @@ -494,11 +494,11 @@ THE_CRI_DATA_RECEIVER_DEBUG_HANDLER : process begin -- External Reset --------------------------------------------------------------------- - gen_resync : for i in 0 to MII_NUMBER-1 generate + gen_resync : for i in 0 to MII_NUMBER-2 generate MED_CTRL_OP(14+i*16 downto i*16) <= HUB_MED_CTRL_OP(14+i*16 downto i*16); - MED_CTRL_OP(15+i*16) <= HUB_MED_CTRL_OP(15+i*16) or hub_make_network_reset;-- or HUB_MED_CTRL_OP(15+i*16); + MED_CTRL_OP(15+i*16) <= HUB_MED_CTRL_OP(15+i*16) or hub_make_network_reset or med_stat_op(15+(MII_NUMBER-1)*16); end generate; - + MED_CTRL_OP(15+(MII_NUMBER-1)*16) <= hub_make_network_reset; --synch_dca_reset : process begin -- wait until rising_edge(CLK); hub_make_network_reset <= external_send_reset_long; -- 2.43.0