eth: Clean up function definitions

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich
2025-02-20 12:21:33 -08:00
parent e388cb22c6
commit 17f3613ca4
3 changed files with 3 additions and 6 deletions

View File

@@ -186,8 +186,7 @@ for (genvar n = 0; n < 8; n = n + 1) begin : crc
end
function [2:0] keep2empty;
input [7:0] k;
function [2:0] keep2empty(input [7:0] k);
casez (k)
8'bzzzzzzz0: keep2empty = 3'd7;
8'bzzzzzz01: keep2empty = 3'd7;