mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
added new fun ways of putting inputs into the priority thermometer
This commit is contained in:
parent
97c474327c
commit
cc4ad218cb
@ -81,8 +81,16 @@ module pmpadrdec (
|
||||
|
||||
assign NAMask[1:0] = {2'b11};
|
||||
|
||||
// *** BAD DELETE LATER ADDED for hopefully fixing synth
|
||||
logic [`PA_BITS-3:0] maskInput;
|
||||
|
||||
assign maskInput = `PA_BITS'd39; // *** added to really just try anything with the inputs of the thermometer.
|
||||
|
||||
// *** maskinput used to be {~PMPAdr[`PA_BITS-4:0], (AdrMode == NAPOT)}
|
||||
// ****
|
||||
|
||||
prioritythemometer #(`PA_BITS-2) namaskgen(
|
||||
.a({~PMPAdr[`PA_BITS-4:0], (AdrMode == NAPOT)}), // *** confusing bit bussing to match the logic for the inside of the thermometer.
|
||||
.a(maskInput), // *** confusing bit bussing to match the logic for the inside of the thermometer.
|
||||
.y(NAMask[`PA_BITS-1:2]));
|
||||
|
||||
assign NAMatch = &((PhysicalAddress ~^ CurrentAdrFull) | NAMask);
|
||||
|
Loading…
Reference in New Issue
Block a user