From: Adrian Weber Date: Wed, 7 Apr 2021 11:43:02 +0000 (+0200) Subject: minor change in reset of links in cri hub. more similar to standard streaming port... X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=f3fd15bdb4907a6fa1ae4a026ddec6e2bfeeba32;p=cri.git minor change in reset of links in cri hub. more similar to standard streaming port entities of trbnet --- 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;