From 0dc65c72cc9a485c6fb1be3f054aa781915cf547 Mon Sep 17 00:00:00 2001 From: Michael Boehmer Date: Mon, 20 Dec 2021 08:12:18 +0100 Subject: [PATCH] typos --- hub/trb3sc_hub.vhd | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/hub/trb3sc_hub.vhd b/hub/trb3sc_hub.vhd index b9952e2..f8ac93c 100644 --- a/hub/trb3sc_hub.vhd +++ b/hub/trb3sc_hub.vhd @@ -333,7 +333,7 @@ gen_PCSB_noBKPL : if USE_BACKPLANE = c_NO generate TX_RST_WORD_IN => x"00", -- sync operation WORD_SYNC_IN => word_sync_i, - WORD_SYNC_OUT => word_sync_i, + WORD_SYNC_OUT => word_sync_i, MASTER_CLK_IN => master_clk_i, MASTER_CLK_OUT => master_clk_i, GLOBAL_RESET_IN => '0', @@ -366,9 +366,10 @@ gen_PCSB_noBKPL : if USE_BACKPLANE = c_NO generate CTRL_DEBUG => open, DEBUG_OUT => debug_i ); -end generate; tx_pll_lol_qd_a_i <= '0'; -- BUG + +end generate; THE_MAIN_TX_RST: main_tx_reset_RS generic map( @@ -532,14 +533,14 @@ end generate; --------------------------------------------------------------------------- -- GbE --------------------------------------------------------------------------- -gen_noGBE : if INCLUDE_GBE = 0 generate +gen_noGBE : if INCLUDE_GBE = c_NO generate gsc_reply_read <= '1'; gsc_init_dataready <= '0'; busgbeip_tx.unknown <= busgbeip_rx.read or busgbeip_rx.write; busgbereg_tx.unknown <= busgbereg_rx.read or busgbereg_rx.write; end generate; -gen_GBE : if INCLUDE_GBE = 1 generate +gen_GBE : if INCLUDE_GBE = c_YES generate GBE : entity work.gbe_wrapper generic map( DO_SIMULATION => 0, @@ -900,27 +901,27 @@ gen_hub_leds : for i in 0 to 6 generate LED_HUB_RX(i+1) <= not (med2int(i).stat_op(11)); end generate; - LED_HUB_LINKOK(8) <= not med2int(7).stat_op(9) when INCLUDE_GBE = 0 else + LED_HUB_LINKOK(8) <= not med2int(7).stat_op(9) when INCLUDE_GBE = c_NO else '1'; - LED_HUB_TX(8) <= not (med2int(7).stat_op(10) or not med2int(7).stat_op(9)) when INCLUDE_GBE = 0 else + LED_HUB_TX(8) <= not (med2int(7).stat_op(10) or not med2int(7).stat_op(9)) when INCLUDE_GBE = c_NO else '1'; - LED_HUB_RX(8) <= not (med2int(7).stat_op(11)) when INCLUDE_GBE = 0 else + LED_HUB_RX(8) <= not (med2int(7).stat_op(11)) when INCLUDE_GBE = c_NO else '1'; - LED_SFP_GREEN(0) <= not med2int(8).stat_op(9) when INCLUDE_GBE = 0 else + LED_SFP_GREEN(0) <= not med2int(8).stat_op(9) when INCLUDE_GBE = c_NO else '1'; - LED_SFP_RED(0) <= not (med2int(8).stat_op(10) or med2int(8).stat_op(11) or not med2int(8).stat_op(9)) when INCLUDE_GBE = 0 else + LED_SFP_RED(0) <= not (med2int(8).stat_op(10) or med2int(8).stat_op(11) or not med2int(8).stat_op(9)) when INCLUDE_GBE = c_NO else '1'; - LED_SFP_GREEN(1) <= not med2int(9).stat_op(9) when INCLUDE_GBE = 0 else + LED_SFP_GREEN(1) <= not med2int(9).stat_op(9) when INCLUDE_GBE = c_NO else not med2int(7).stat_op(9); - LED_SFP_RED(1) <= not (med2int(9).stat_op(10) or med2int(9).stat_op(11) or not med2int(9).stat_op(9)) when INCLUDE_GBE = 0 else + LED_SFP_RED(1) <= not (med2int(9).stat_op(10) or med2int(9).stat_op(11) or not med2int(9).stat_op(9)) when INCLUDE_GBE = c_NO else not (med2int(7).stat_op(10) or med2int(7).stat_op(11) or not med2int(7).stat_op(9)); - LED_WHITE(0) <= not med2int(10).stat_op(9) when INCLUDE_GBE = 0 and USE_BACKPLANE = 1 else - not med2int(8).stat_op(9) when INCLUDE_GBE = 1 and USE_BACKPLANE = 1 else + LED_WHITE(0) <= not med2int(10).stat_op(9) when INCLUDE_GBE = c_NO and USE_BACKPLANE = c_YES else + not med2int(8).stat_op(9) when INCLUDE_GBE = c_YES and USE_BACKPLANE = c_YES else '1'; - LED_WHITE(1) <= not (med2int(10).stat_op(10) or med2int(10).stat_op(11) or not med2int(10).stat_op(9)) when INCLUDE_GBE = 0 and USE_BACKPLANE = 1 else - not (med2int(8).stat_op(10) or med2int(8).stat_op(11) or not med2int(8).stat_op(9)) when INCLUDE_GBE = 1 and USE_BACKPLANE = 1 else + LED_WHITE(1) <= not (med2int(10).stat_op(10) or med2int(10).stat_op(11) or not med2int(10).stat_op(9)) when INCLUDE_GBE = c_NO and USE_BACKPLANE = c_YES else + not (med2int(8).stat_op(10) or med2int(8).stat_op(11) or not med2int(8).stat_op(9)) when INCLUDE_GBE = c_YES and USE_BACKPLANE = c_YES else '1'; end architecture; -- 2.43.0