Skip to content
Snippets Groups Projects

Resolve L2SDP-28

Merged Reinier van der Walle requested to merge L2SDP-28 into master
All threads resolved!
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
@@ -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;
@@ -252,7+253,7 @@
in_dat => reg_wr_eop_cnt,
in_new => wr_eop_new,
in_done => wr_eop_done,
out_rst => rd_rst,
out_clk => rd_clk,
out_dat => reg_rd_eop_cnt,
out_new => rd_eop_new
);
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;
Loading