summaryrefslogtreecommitdiff
path: root/rtl/cache/defs.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-09-29 19:50:01 -0600
committerAlejandro Soto <alejandro@34project.org>2023-09-29 20:51:28 -0600
commitbc98bc905c2e796f0d587719196f7e4bf344510a (patch)
treef5859d0b2f4fd5ab8c785a7cbaffa54dc81bc797 /rtl/cache/defs.sv
parentf06c23ac1327850eeeb390e155bfc6330d302a77 (diff)
platform: add CPUs and caches to qsys
Diffstat (limited to 'rtl/cache/defs.sv')
-rw-r--r--rtl/cache/defs.sv8
1 files changed, 8 insertions, 0 deletions
diff --git a/rtl/cache/defs.sv b/rtl/cache/defs.sv
index 6fdb719..bfefb88 100644
--- a/rtl/cache/defs.sv
+++ b/rtl/cache/defs.sv
@@ -38,6 +38,10 @@ typedef enum logic[1:0]
typedef struct packed
{
+`ifndef VERILATOR
+ // Error: data width (158) must be a multiple of bitsPerSymbol (8)
+ logic[1:0] padding;
+`endif
logic[1:0] ttl;
logic read,
inval,
@@ -59,6 +63,10 @@ typedef struct packed
typedef struct packed
{
+`ifndef VERILATOR
+ // Error: data width (78) must be a multiple of bitsPerSymbol (8)
+ logic[1:0] padding;
+`endif
token_lock e2, e1, e0;
} ring_token;