]> jspc29.x-matter.uni-frankfurt.de Git - trb3sc.git/commitdiff
still hunting dead port issue
authorMichael Boehmer <mboehmer@ph.tum.de>
Tue, 28 Dec 2021 20:28:02 +0000 (21:28 +0100)
committerMichael Boehmer <mboehmer@ph.tum.de>
Tue, 28 Dec 2021 20:28:02 +0000 (21:28 +0100)
cts/trb3sc_cts.vhd
hub/par.p2t
hub/trb3sc_hub.lpf
hub/trb3sc_hub.vhd

index 61a1b436425331baa8a63485e0d798dd748f9075..f8a7f0eba401b13434cc0a4458db8c5ae49b3c92 100644 (file)
@@ -222,6 +222,7 @@ architecture trb3sc_arch of trb3sc_cts is
   signal rx_dlm_i                    : std_logic;
   
   signal destroy_link_i              : std_logic;
+  signal enable_dlm_i                : std_logic;
   
   signal tx_pll_lol_qd_b_i           : std_logic;
   signal tx_pll_lol_all_i            : std_logic;
@@ -427,7 +428,7 @@ gen_PCSB : if USE_BACKPLANE = c_NO and USE_ADDON = c_NO generate
     end if;
   end process THE_DLM_SEND_PROC;
   
-  dlm_send_x <= '1' when (dlm_counter(13) = '1') and (word_sync_i = '1') else '0';
+  dlm_send_x <= '1' when (dlm_counter(13) = '1') and (word_sync_i = '1') and (enable_dlm_i = '1') else '0';
   
   tx_dlm_i <= dlm_send_qq;
   
@@ -436,7 +437,8 @@ gen_PCSB : if USE_BACKPLANE = c_NO and USE_ADDON = c_NO generate
 
   -- just for testing
   destroy_link_i <= common_ctrl_reg(88);
-
+  enable_dlm_i   <= common_ctrl_reg(89);
+  
 end generate;
 
 ---------------------------------------------------------------------------
index 80b7368ff34f771e11f46af58c409bfd04f44b03..41609b2a3ca495f232142c0d0d7d91d1fe1e5f2d 100644 (file)
@@ -1,7 +1,7 @@
 -w
 -l 5
 -s 12
--t 32 # seed setting here! # 32
+-t 20 # seed setting here! # 32
 -c 1
 -e 2
 -i 15
index 98bc436f726de42a7f6ab690c683f5e86a3350b7..342a282d6b754c938a12aa610fb5b800d6122865 100644 (file)
@@ -5,8 +5,6 @@ LOCATE COMP     "THE_MEDIA_4_PCSC/THE_SERDES/PCSD_INST"                 SITE "PC
 LOCATE COMP     "gen_PCSD.THE_MEDIA_4_PCSD/THE_SERDES/PCSD_INST"        SITE "PCSD" ;
 LOCATE COMP "gen_GBE.GBE/physical_impl_gen.physical/impl_gen.gbe_serdes/PCSD_INST" SITE "PCSD";
 
-
-
 REGION         "MEDIA_DOWN1" "R102C20D" 13 120;
 LOCATE UGROUP  "gen_PCSA.THE_MEDIA_PCSA/media_interface_group" REGION "MEDIA_DOWN1" ; 
 LOCATE UGROUP  "gen_PCSB_BKPL.THE_MEDIA_4_PCSB/media_interface_group" REGION "MEDIA_DOWN1" ;   
index d1077aef2c8c3788201c45736bff740270ce3894..14417c003efea71df759c900d9859e31313893f1 100644 (file)
@@ -331,7 +331,7 @@ gen_PCSB_noBKPL : if USE_BACKPLANE = c_NO generate
       WORD_SYNC_OUT      => word_sync_i,
       MASTER_CLK_IN      => master_clk_i,
       MASTER_CLK_OUT     => master_clk_i,
-      QUAD_RST_IN        => '0',
+      QUAD_RST_IN        => global_reset_i, --'0', -- TEST
       GLOBAL_RESET_OUT   => global_reset_i,
       SLAVE_ACTIVE_OUT   => slave_active_i,
       SLAVE_ACTIVE_IN    => slave_active_i,
@@ -382,11 +382,13 @@ end generate;
     TX_PLL_LOL_OUT       => tx_pll_lol_all_i,
     TX_CLOCK_AVAIL_IN    => tx_clk_avail_i,
     TX_PCS_RST_CH_C_OUT  => tx_pcs_rst_i,
-    SYNC_TX_QUAD_OUT     => sync_tx_quad_i,
+    SYNC_TX_QUAD_OUT     => open, --sync_tx_quad_i, -- TEST
     LINK_TX_READY_OUT    => link_tx_ready_i,
     STATE_OUT            => tx_reset_state
   );
 
+  sync_tx_quad_i <= '1';
+  
 ---------------------------------------------------------------------------
 -- PCSC   4 downlinks
 ---------------------------------------------------------------------------    
@@ -430,7 +432,7 @@ end generate;
       SLAVE_ACTIVE_IN    => slave_active_i,
       TX_PLL_LOL_IN      => tx_pll_lol_all_i,
       TX_PLL_LOL_OUT     => tx_pll_lol_qd_c_i,
-      TX_CLK_AVAIL_OUT   => tx_clk_avail_i,
+      TX_CLK_AVAIL_OUT   => open, -- BUGBUGBUG
       TX_PCS_RST_IN      => tx_pcs_rst_i,
       SYNC_TX_PLL_IN     => sync_tx_quad_i,
       LINK_TX_READY_IN   => link_tx_ready_i,
@@ -501,7 +503,7 @@ gen_PCSD : if INCLUDE_GBE = c_NO generate
       SLAVE_ACTIVE_IN    => slave_active_i,
       TX_PLL_LOL_IN      => tx_pll_lol_all_i,
       TX_PLL_LOL_OUT     => tx_pll_lol_qd_d_i,
-      TX_CLK_AVAIL_OUT   => tx_clk_avail_i,
+      TX_CLK_AVAIL_OUT   => open, -- BUGBUGBUG
       TX_PCS_RST_IN      => tx_pcs_rst_i,
       SYNC_TX_PLL_IN     => sync_tx_quad_i,
       LINK_TX_READY_IN   => link_tx_ready_i,