From: Michael Boehmer Date: Fri, 11 Nov 2022 17:25:19 +0000 (+0100) Subject: Discovery start X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=aeecb8eea27c447ac6bf3ab60995d50a198280e7;p=trb3sc.git Discovery start --- diff --git a/gbe_hub/trb3sc_gbe_hub.prj b/gbe_hub/trb3sc_gbe_hub.prj index 36a3b5a..f56f38b 100644 --- a/gbe_hub/trb3sc_gbe_hub.prj +++ b/gbe_hub/trb3sc_gbe_hub.prj @@ -181,9 +181,7 @@ add_file -vhdl -lib work "../../trbnet/gbe_trb/base/gbe_frame_receiver.vhd" add_file -vhdl -lib work "../../trbnet/gbe_trb/base/gbe_receive_control.vhd" add_file -vhdl -lib work "../../trbnet/gbe_trb/base/gbe_main_control.vhd" add_file -vhdl -lib work "../../trbnet/gbe_trb/base/gbe_mac_control.vhd" -#add_file -vhdl -lib work "../../trbnet/gbe_trb/base/gbe_protocol_prioritizer.vhd" add_file -vhdl -lib work "../../trbnet/gbe_trb/base/gbe_protocol_selector.vhd" -#add_file -vhdl -lib work "../../trbnet/gbe_trb/base/gbe_type_validator.vhd" add_file -vhdl -lib work "../../trbnet/gbe_trb/base/gbe_frame_constr.vhd" add_file -vhdl -lib work "../../trbnet/gbe_trb/base/gbe_transmit_control.vhd" add_file -vhdl -lib work "../../trbnet/gbe_trb/protocols/gbe_response_constructor_ARP.vhd" @@ -191,8 +189,7 @@ add_file -vhdl -lib work "../../trbnet/gbe_trb/protocols/gbe_response_constructo add_file -vhdl -lib work "../../trbnet/gbe_trb/protocols/gbe_response_constructor_DHCP.vhd" add_file -vhdl -lib work "../../trbnet/gbe_trb/protocols/gbe_response_constructor_SCTRL.vhd" add_file -vhdl -lib work "../../trbnet/gbe_trb/protocols/gbe_response_constructor_Forward.vhd" - -#add_file -vhdl -lib work "../../trbnet/gbe_trb/base/parser.vhd" +add_file -vhdl -lib work "../../trbnet/gbe_trb/protocols/gbe_response_constructor_Discovery.vhd" add_file -vhdl -lib work "../../trbnet/gbe_trb/ipcores/ecp3/fifo_8kx9.vhd" add_file -vhdl -lib work "../../trbnet/gbe_trb/ipcores/ecp3/fifo_4096x9.vhd" diff --git a/gbe_hub/trb3sc_gbe_hub.vhd b/gbe_hub/trb3sc_gbe_hub.vhd index a8f5761..fb0b753 100644 --- a/gbe_hub/trb3sc_gbe_hub.vhd +++ b/gbe_hub/trb3sc_gbe_hub.vhd @@ -448,7 +448,8 @@ begin LINK_HAS_DHCP => '1', LINK_HAS_ARP => '1', LINK_HAS_PING => '1', - LINK_HAS_FWD => '0' + LINK_HAS_FWD => '0', + LINK_HAS_DISCOVERY => '1' ) port map( CLK_125_IN => master_clk, @@ -1062,7 +1063,7 @@ begin LED_SFP_GREEN(1) <= not status_raw(13 * 8 + 7); --'0'; -- D1 LED_SFP_RED(1) <= not status_raw(13 * 8 + 2); --'0'; - LED_WHITE(1) <= not oob_3_reg(0); --additional_reg(31); --'0'; + LED_WHITE(1) <= not debug_wrapper(31); --oob_3_reg(0); --'0'; LED_WHITE(0) <= not status(0); --'0'; LED_RJ_GREEN(0) <= not status_raw(0 * 8 + 7); -- A0