Skip to content
Snippets Groups Projects
Commit a923c820 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Corrected reset of v.align_cnt=0, after sync alignment has been done.

parent e8678346
No related branches found
No related tags found
No related merge requests found
...@@ -305,6 +305,7 @@ BEGIN ...@@ -305,6 +305,7 @@ BEGIN
IF v.busy = '0' THEN IF v.busy = '0' THEN
v.nof_pkt := TO_UINT(nof_pkt) - r.align_cnt; -- use shorter next merge to (re)align to sync (when g_align_at_sync=false then r.align_cnt=0) v.nof_pkt := TO_UINT(nof_pkt) - r.align_cnt; -- use shorter next merge to (re)align to sync (when g_align_at_sync=false then r.align_cnt=0)
v.align_cnt := 0;
END IF; END IF;
-- output packet bsn, sync, sop and eop -- output packet bsn, sync, sop and eop
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment