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
No related branches found
No related tags found
1 merge request!11Resolve L2SDP-28
......@@ -129,6 +129,7 @@ ARCHITECTURE rtl OF dp_fifo_fill_eop IS
SIGNAL wr_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 nxt_eop_cnt : INTEGER := 0;
......@@ -259,7 +260,7 @@ BEGIN
);
p_dc: PROCESS(wr_clk, wr_rst)
VARIABLE v_wr_eop_cnt: NATURAL;
VARIABLE v_wr_eop_cnt: NATURAL;
BEGIN
IF wr_rst='1' THEN
wr_eop_busy <= '0';
......@@ -304,6 +305,7 @@ BEGIN
xon_reg <= '0';
state <= s_idle;
i_src_out <= c_dp_sosi_rst;
eop_cnt <= 0;
ELSIF rising_edge(rd_clk) THEN
xon_reg <= nxt_xon_reg;
state <= nxt_state;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment