Skip to content
Snippets Groups Projects
Commit 150d5ad0 authored by Alex Forencich's avatar Alex Forencich
Browse files

Handle out-of-range select as drop

parent f40e6835
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,7 @@ always @* begin
if (!frame_reg && s_axis_tvalid && s_axis_tready) begin
// start of frame, grab select value
select_ctl = select;
drop_ctl = drop;
drop_ctl = drop || select >= M_COUNT;
frame_ctl = 1'b1;
if (!(s_axis_tready && s_axis_tvalid && s_axis_tlast)) begin
select_next = select_ctl;
......
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