diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-04-27 11:45:23 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-04-27 11:45:23 -0600 |
| commit | 45b5eabe868ac2f8a755379bde07c102caf74afb (patch) | |
| tree | 7b740cbc6b19b46d731e29ee145c2a8ad744e847 /rtl/fpu/lzc/lzc_wire.sv | |
| parent | a61ee4b16157f3c6501d958b8dcde7f57f41110d (diff) | |
rtl/fpu: initial commit
Imported from https://github.com/taneroksuz/fpu-sp
Diffstat (limited to 'rtl/fpu/lzc/lzc_wire.sv')
| -rw-r--r-- | rtl/fpu/lzc/lzc_wire.sv | 17 |
1 files changed, 17 insertions, 0 deletions
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 |
