]> jspc29.x-matter.uni-frankfurt.de Git - trb3sc.git/commitdiff
typos
authorMichael Boehmer <mboehmer@ph.tum.de>
Mon, 20 Dec 2021 07:12:18 +0000 (08:12 +0100)
committerMichael Boehmer <mboehmer@ph.tum.de>
Mon, 20 Dec 2021 07:12:18 +0000 (08:12 +0100)
hub/trb3sc_hub.vhd

index b9952e29d28c6524dca5218e75340b9945d26819..f8ac93cb814699ddefccc307921e332827e36aa0 100644 (file)
@@ -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;