]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
remove some debug signals for better timing
authorJan Michel <j.michel@gsi.de>
Thu, 14 Jun 2018 14:53:55 +0000 (16:53 +0200)
committerJan Michel <j.michel@gsi.de>
Thu, 14 Jun 2018 14:53:55 +0000 (16:53 +0200)
media_interfaces/sync/med_sync_control.vhd

index 71da688cf8582bab10960f0ed644b79d60d65c31..bda484bca4c13f3346f545902219f81b2ca38715 100644 (file)
@@ -296,12 +296,13 @@ STAT_RESET(9)            <= rx_allow;
 STAT_RESET(15 downto 10) <= (others => '0');
 STAT_RESET(16)           <= RX_CDR_LOL;
 STAT_RESET(17)           <= RX_LOS;
-STAT_RESET(18)           <= QUAD_RST; --RX_PCS_RST;
-STAT_RESET(19)           <= TX_PCS_RST;
+STAT_RESET(18)           <= '0';--QUAD_RST; --RX_PCS_RST;
+STAT_RESET(19)           <= '0';--TX_PCS_RST;
 STAT_RESET(20)           <= TX_LOL;
 STAT_RESET(21)           <= rst_n;
 STAT_RESET(22)           <= rst_n_tx;
-STAT_RESET(31 downto 23) <= start_timer(start_timer'left downto start_timer'left - 8);
+STAT_RESET(30 downto 23) <= (others => '0');
+STAT_RESET(31) <= start_timer(start_timer'left);
 
 
 gen_link_reset : if IS_SYNC_SLAVE = 1 generate
@@ -327,9 +328,8 @@ media_med2int_i.stat_op(12) <= led_dlm  when rising_edge(CLK_SYS); -- or last_le
 media_med2int_i.stat_op(11) <= led_tx; -- or last_led_tx;
 media_med2int_i.stat_op(10) <= led_rx or last_led_rx;
 media_med2int_i.stat_op(9)  <= tx_allow; --led_ok
-media_med2int_i.stat_op(8)  <= rx_allow;
-
-media_med2int_i.stat_op(7 downto 4) <= (others => '0');
+media_med2int_i.stat_op(8 downto 5) <= (others => '0');
+media_med2int_i.stat_op(4)  <= rx_allow;
 media_med2int_i.stat_op(3 downto 0) <= x"0" when rx_allow = '1' and tx_allow = '1' else x"7";
 
 DEBUG_OUT(0) <= tx_allow;