From: Michael Boehmer Date: Mon, 24 Oct 2022 08:20:26 +0000 (+0200) Subject: LED test X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=585bcba2e7b0dce59a6ee83deedbe6869d398f4b;p=trb3sc.git LED test --- diff --git a/gbe_hub/trb3sc_gbe_hub.vhd b/gbe_hub/trb3sc_gbe_hub.vhd index 75d4f97..5697415 100644 --- a/gbe_hub/trb3sc_gbe_hub.vhd +++ b/gbe_hub/trb3sc_gbe_hub.vhd @@ -224,6 +224,11 @@ architecture trb3sc_arch of trb3sc_gbe_hub is signal debug_pcsb : std_logic_vector(127 downto 0); signal debug_pcsc : std_logic_vector(127 downto 0); signal debug_pcsd : std_logic_vector(127 downto 0); + + signal oob_0_reg : std_logic_vector(31 downto 0); + signal oob_1_reg : std_logic_vector(31 downto 0); + signal oob_2_reg : std_logic_vector(31 downto 0); + signal oob_3_reg : std_logic_vector(31 downto 0); begin @@ -476,7 +481,12 @@ begin GSC_REPLY_DATA_IN => gsc_reply_data, GSC_REPLY_PACKET_NUM_IN => gsc_reply_packet_num, GSC_REPLY_READ_OUT => gsc_reply_read, - GSC_BUSY_IN => gsc_busy, + GSC_BUSY_IN => gsc_busy, + -- + OOB_REGISTER_0_OUT => oob_0_reg, + OOB_REGISTER_1_OUT => oob_1_reg, + OOB_REGISTER_2_OUT => oob_2_reg, + OOB_REGISTER_3_OUT => oob_3_reg, -- reset MAKE_RESET_OUT => reset_via_gbe, -- debug @@ -1044,7 +1054,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 additional_reg(31); --'0'; + LED_WHITE(1) <= not oob_3_reg(0); --additional_reg(31); --'0'; LED_WHITE(0) <= not status(0); --'0'; LED_RJ_GREEN(0) <= not status_raw(0 * 8 + 7); -- A0