mirror of
https://github.com/fpganinja/taxi.git
synced 2025-12-09 08:58:40 -08:00
eth: Clean up function definitions
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user