From 45b5eabe868ac2f8a755379bde07c102caf74afb Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sat, 27 Apr 2024 11:45:23 -0600 Subject: rtl/fpu: initial commit Imported from https://github.com/taneroksuz/fpu-sp --- rtl/fpu/lzc/lzc_wire.sv | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 rtl/fpu/lzc/lzc_wire.sv (limited to 'rtl/fpu/lzc/lzc_wire.sv') diff --git a/rtl/fpu/lzc/lzc_wire.sv b/rtl/fpu/lzc/lzc_wire.sv new file mode 100644 index 0000000..6277bfe --- /dev/null +++ b/rtl/fpu/lzc/lzc_wire.sv @@ -0,0 +1,17 @@ +package lzc_wire; + + typedef struct packed {logic [63:0] a;} lzc_64_in_type; + + typedef struct packed { + logic [5:0] c; + logic v; + } lzc_64_out_type; + + typedef struct packed {logic [255:0] a;} lzc_256_in_type; + + typedef struct packed { + logic [7:0] c; + logic v; + } lzc_256_out_type; + +endpackage -- cgit v1.2.3