diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-09-24 20:58:04 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-09-24 22:14:57 -0600 |
| commit | 15230c6cd2190a1efd61c2758bf56de37f3fe8da (patch) | |
| tree | 9d8a04daadb4192cf4aeb44b8e86389a9ba130d3 /rtl/core | |
| parent | 146168ca340e435eae6e30e99c06d752719089e3 (diff) | |
rtl/cache: implement
Diffstat (limited to 'rtl/core')
| -rw-r--r-- | rtl/core/uarch.sv | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/rtl/core/uarch.sv b/rtl/core/uarch.sv index 82dc1dc..0226cbf 100644 --- a/rtl/core/uarch.sv +++ b/rtl/core/uarch.sv @@ -4,10 +4,15 @@ // Decodifica como andeq r0, r0, r0 `define NOP 32'd0 +// Choca con typedef en cache/defs.sv +`ifndef WORD_DEFINED +typedef logic[31:0] word; +`define WORD_DEFINED +`endif + typedef logic[3:0] reg_num; typedef logic[2:0] cp_opcode; typedef logic[15:0] reg_list; -typedef logic[31:0] word; typedef logic[63:0] dword; typedef logic[29:0] ptr; |
