Skip to content
Snippets Groups Projects
Commit 6447829e authored by BRONES Romain's avatar BRONES Romain
Browse files

Add output for error detect, increase debug status

* Error detect can trigger an interrupt, a capture...
* More debug to understand situations
parent 1042f8ff
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,8 @@ entity top_combpm_electron is
-- Debug output
debug_datarx : out std_logic_vector(15 downto 0);
debug_status : out std_logic_vector(3 downto 0);
debug_status : out std_logic_vector(6 downto 0);
error_detect : out std_logic;
-- SFP interfaces
sfp_txp : out std_logic;
......@@ -215,6 +216,10 @@ begin
debug_status(1) <= gt_rxcdrlock;
debug_status(2) <= gt_rxbyterealign;
debug_status(3) <= gt_rxbyteisaligned;
debug_status(4) <= frame_error;
debug_status(5) <= cnt_seq_mismatch;
debug_status(6) <= seq_discontinuity;
error_detect <= frame_error or cnt_seq_mismatch or seq_discontinuity;
-- Output clock
clk <= usrclk;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment