mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Simplified tlbmixer mux to and-or
This commit is contained in:
parent
74b6d13195
commit
5c2f774c35
@ -122,5 +122,5 @@ module tlbcontrol #(parameter TLB_ENTRIES = 8,
|
||||
endgenerate
|
||||
|
||||
assign TLBHit = CAMHit & TLBAccess;
|
||||
assign TLBMiss = ~TLBHit & ~TLBFlush & Translate & TLBAccess;
|
||||
assign TLBMiss = ~CAMHit & ~TLBFlush & Translate & TLBAccess;
|
||||
endmodule
|
||||
|
@ -93,7 +93,7 @@ module csrs #(parameter
|
||||
if (`MEM_VIRTMEM)
|
||||
flopenr #(`XLEN) SATPreg(clk, reset, WriteSATPM, CSRWriteValM, SATP_REGW);
|
||||
else
|
||||
assign SATP_REGW = 0;
|
||||
assign SATP_REGW = 0; // hardwire to zero if virtual memory not supported
|
||||
if (`BUSYBEAR == 1)
|
||||
flopenl #(32) SCOUNTERENreg(clk, reset, WriteSCOUNTERENM, {CSRWriteValM[31:2],1'b0,CSRWriteValM[0]}, 32'b0, SCOUNTEREN_REGW);
|
||||
else if (`BUILDROOT == 1)
|
||||
|
Loading…
Reference in New Issue
Block a user