Use logical operator instead of bitwise

This commit is contained in:
Alex Forencich 2018-12-09 00:04:56 -08:00
parent cadd1bcb50
commit 8d9ed665d7

View File

@ -120,7 +120,7 @@ always @* begin
end end
end end
if (~frame_reg && enable && (s_axis_tvalid & (1 << select))) begin if (!frame_reg && enable && (s_axis_tvalid & (1 << select))) begin
// start of frame, grab select value // start of frame, grab select value
frame_next = 1'b1; frame_next = 1'b1;
select_next = select; select_next = select;