mirror of
https://github.com/alexforencich/verilog-ethernet.git
synced 2025-01-14 06:43:18 +08:00
Use logical operator instead of bitwise
This commit is contained in:
parent
cadd1bcb50
commit
8d9ed665d7
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user