Reduce VA_Width to allow compilation

This is almost certainly not the right fix but allows the code to
compile and the trim code is not used anywhere with CAP64
This commit is contained in:
Ivan Ribeiro
2023-10-02 17:29:40 +01:00
parent 27e63bd9fd
commit 49de0f90f0

View File

@@ -1500,7 +1500,11 @@ instance Cast#(function CapPipe f0(t y), function Bit#(CapAddrW) f1(t x));
endinstance
`ifdef CAP64
typedef 32 VA_Width;
// XXX TODO
// This is probably the wrong fix but allows the code to compile, and the
// code for CAP64 is not used anywhere.
// Need to consider what the right size is.
typedef 31 VA_Width;
`else
typedef 48 VA_Width;
`endif