summaryrefslogtreecommitdiff
path: root/rtl/cache/defs.sv
diff options
context:
space:
mode:
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;