From: Jan Michel Date: Mon, 21 Oct 2024 08:22:20 +0000 (+0200) Subject: add debug line for CV X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=c288d7c719648788b0d4dfc4e9846cbc5f8fd71d;p=trbnet.git add debug line for CV --- diff --git a/media_interfaces/med_ecp5_sfp_sync.vhd b/media_interfaces/med_ecp5_sfp_sync.vhd index 220d973..ec40cba 100644 --- a/media_interfaces/med_ecp5_sfp_sync.vhd +++ b/media_interfaces/med_ecp5_sfp_sync.vhd @@ -345,7 +345,8 @@ STAT_DEBUG(19 downto 16) <= debug_med_sync_control_i(16 downto 13); STAT_DEBUG(20) <= rx_ready; STAT_DEBUG(21) <= tx_ready; STAT_DEBUG(22) <= clk_rx_full; -STAT_DEBUG(63 downto 23) <= (others => '0'); +STAT_DEBUG(29 downto 23) <= debug_med_sync_control_i(23 downto 17); +STAT_DEBUG(63 downto 30) <= (others => '0'); stat_med(0) <= rst_qd; stat_med(1) <= rx_pcs_rst; diff --git a/media_interfaces/sync/med_sync_control.vhd b/media_interfaces/sync/med_sync_control.vhd index b17ea4c..b468650 100644 --- a/media_interfaces/sync/med_sync_control.vhd +++ b/media_interfaces/sync/med_sync_control.vhd @@ -423,6 +423,7 @@ DEBUG_OUT(10) <= finished_reset_tx; DEBUG_OUT(11) <= reset_i; DEBUG_OUT(12) <= CLEAR; DEBUG_OUT(16 downto 13) <= rx_fsm_state; -DEBUG_OUT(31 downto 17) <= (others => '0'); +DEBUG_OUT(17) <= RX_CV; +DEBUG_OUT(31 downto 18) <= (others => '0'); end architecture;