mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-24 13:34:28 +00:00
Not sure I understand the Misaligned hptw - seems like a bug and should be L1_ADR instead of L0_ADR
This commit is contained in:
parent
4a938e493e
commit
5bc3569b0e
@ -146,6 +146,7 @@ module hptw
|
||||
if (`XLEN == 32) begin
|
||||
assign InitialWalkerState = L1_ADR;
|
||||
assign MegapageMisaligned = |(CurrentPPN[9:0]); // must have zero PPN0
|
||||
// *** Possible bug - should be L1_ADR?
|
||||
assign Misaligned = ((WalkerState == L0_ADR) & MegapageMisaligned);
|
||||
end else begin
|
||||
logic GigapageMisaligned, TerapageMisaligned;
|
||||
|
Loading…
Reference in New Issue
Block a user