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

Correct g_pkt_len --> r.pkt_len.

parent 92aa6f0a
No related branches found
No related tags found
1 merge request!359Clarify g_nof_destinations_max design revision parameter and package constants...
Pipeline #59767 passed
...@@ -162,7 +162,7 @@ begin ...@@ -162,7 +162,7 @@ begin
if snk_in.sop = '1' then if snk_in.sop = '1' then
v.val_cnt := 0; v.val_cnt := 0;
elsif snk_in.valid = '1' then elsif snk_in.valid = '1' then
if r.val_cnt < g_pkt_len - 1 then if r.val_cnt < r.pkt_len - 1 then
v.val_cnt := r.val_cnt + 1; v.val_cnt := r.val_cnt + 1;
else else
v.val_cnt := 0; v.val_cnt := 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment