From 2e37ca418f48345ec3f84d1462769124b9c32d99 Mon Sep 17 00:00:00 2001 From: Adrian Weber Date: Tue, 21 Jul 2020 16:00:33 +0200 Subject: [PATCH] including cri functions to auto scale the hubs --- criInterface/trb3sc_criInterface.prj | 1 + criInterface/trb3sc_criInterface.vhd | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/criInterface/trb3sc_criInterface.prj b/criInterface/trb3sc_criInterface.prj index 8c74849..c605c21 100644 --- a/criInterface/trb3sc_criInterface.prj +++ b/criInterface/trb3sc_criInterface.prj @@ -186,6 +186,7 @@ add_file -vhdl -lib work "../../trbnet/trb_net16_hub_streaming_port_sctrl_record add_file -vhdl -lib work "../../cri/src/hub/trb_net16_cri_hub_base3.vhd" add_file -vhdl -lib work "../../cri/src/hub/trb_net16_cri_hub_slwcntrl.vhd" add_file -vhdl -lib work "../../cri/src/hub/trb_net16_cri_hub.vhd" +add_file -vhdl -lib work "../../cri/src/hub/cri_hub_func.vhd" #add_file -vhdl -lib work "../../trbnet/trb_net16_hub_base.vhd" add_file -vhdl -lib work "../../trbnet/trb_net16_hub_logic_2.vhd" add_file -vhdl -lib work "../../trbnet/trb_net16_hub_ipu_logic.vhd" diff --git a/criInterface/trb3sc_criInterface.vhd b/criInterface/trb3sc_criInterface.vhd index 6d82ed3..924185f 100644 --- a/criInterface/trb3sc_criInterface.vhd +++ b/criInterface/trb3sc_criInterface.vhd @@ -661,7 +661,7 @@ gen_hub_no_gbe : if INCLUDE_GBE = c_NO generate generic map( HUB_USED_CHANNELS => (0,1,0,1), INIT_ADDRESS => INIT_ADDRESS, - MII_NUMBER => INTERFACE_NUM, + MII_NUMBER => INTERFACE_NUM, --48: 0..46 : Downlink; 47: uplink MII_IS_UPLINK => IS_UPLINK, MII_IS_DOWNLINK => IS_DOWNLINK, MII_IS_UPLINK_ONLY => IS_UPLINK_ONLY, -- 2.43.0