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

@@ -178,8 +178,7 @@ for (genvar n = 0; n < 4; n = n + 1) begin : crc
end
function [1:0] keep2empty;
input [3:0] k;
function [1:0] keep2empty(input [3:0] k);
casez (k)
4'bzzz0: keep2empty = 2'd3;
4'bzz01: keep2empty = 2'd3;