Skip to content
Snippets Groups Projects
Commit 6e4aa933 authored by Reinier van der Walle's avatar Reinier van der Walle
Browse files

Processed review comment on L2SDP-28

Added comment to eop_cnt; indented variable in process p_dc; added
eop_cnt to reset list
parent 189148fe
Branches
No related tags found
1 merge request!11Resolve L2SDP-28
...@@ -129,6 +129,7 @@ ARCHITECTURE rtl OF dp_fifo_fill_eop IS ...@@ -129,6 +129,7 @@ ARCHITECTURE rtl OF dp_fifo_fill_eop IS
SIGNAL wr_eop_cnt : NATURAL := 0; SIGNAL wr_eop_cnt : NATURAL := 0;
SIGNAL rd_eop_cnt : NATURAL := 0; SIGNAL rd_eop_cnt : NATURAL := 0;
-- EOP count can be negative when a packet is sent out without having received the eop. This can be the case when g_fifo_fill has been reached.
SIGNAL eop_cnt : INTEGER := 0; SIGNAL eop_cnt : INTEGER := 0;
SIGNAL nxt_eop_cnt : INTEGER := 0; SIGNAL nxt_eop_cnt : INTEGER := 0;
...@@ -304,6 +305,7 @@ BEGIN ...@@ -304,6 +305,7 @@ BEGIN
xon_reg <= '0'; xon_reg <= '0';
state <= s_idle; state <= s_idle;
i_src_out <= c_dp_sosi_rst; i_src_out <= c_dp_sosi_rst;
eop_cnt <= 0;
ELSIF rising_edge(rd_clk) THEN ELSIF rising_edge(rd_clk) THEN
xon_reg <= nxt_xon_reg; xon_reg <= nxt_xon_reg;
state <= nxt_state; state <= nxt_state;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment