mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Fixed tab space issue.
This commit is contained in:
parent
2dc349ea6f
commit
6916784354
@ -32,9 +32,10 @@
|
||||
/* ***
|
||||
TO-DO:
|
||||
- Implement faults on accessed/dirty behavior
|
||||
*/
|
||||
*/
|
||||
|
||||
module pagetablewalker (
|
||||
module pagetablewalker
|
||||
(
|
||||
// Control signals
|
||||
input logic clk, reset,
|
||||
input logic [`XLEN-1:0] SATP_REGW,
|
||||
@ -72,7 +73,7 @@ module pagetablewalker (
|
||||
output logic WalkerInstrPageFaultF,
|
||||
output logic WalkerLoadPageFaultM,
|
||||
output logic WalkerStorePageFaultM
|
||||
);
|
||||
);
|
||||
|
||||
// Internal signals
|
||||
// register TLBs translation miss requests
|
||||
@ -218,7 +219,7 @@ module pagetablewalker (
|
||||
assign VPN0 = TranslationVAdrQ[21:12];
|
||||
|
||||
//assign HPTWRead = (WalkerState == IDLE && MMUTranslate) ||
|
||||
// WalkerState == LEVEL2 || WalkerState == LEVEL1;
|
||||
// WalkerState == LEVEL2 || WalkerState == LEVEL1;
|
||||
|
||||
// Assign combinational outputs
|
||||
always_comb begin
|
||||
@ -295,13 +296,13 @@ module pagetablewalker (
|
||||
|
||||
flopenl #(.TYPE(statetype)) mmureg(clk, reset, 1'b1, NextWalkerState, IDLE, WalkerState);
|
||||
|
||||
/* -----\/----- EXCLUDED -----\/-----
|
||||
/* -----\/----- EXCLUDED -----\/-----
|
||||
assign PRegEn = (WalkerState == LEVEL1_WDV || WalkerState == LEVEL0_WDV ||
|
||||
WalkerState == LEVEL2_WDV || WalkerState == LEVEL3_WDV) && ~HPTWStall;
|
||||
-----/\----- EXCLUDED -----/\----- */
|
||||
|
||||
//assign HPTWRead = (WalkerState == IDLE && MMUTranslate) || WalkerState == LEVEL3 ||
|
||||
// WalkerState == LEVEL2 || WalkerState == LEVEL1;
|
||||
// WalkerState == LEVEL2 || WalkerState == LEVEL1;
|
||||
|
||||
|
||||
always_comb begin
|
||||
|
Loading…
Reference in New Issue
Block a user