diff --git a/.gitmodules b/.gitmodules index e69de29bb..65e1e71c9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "sky130/sky130_osu_sc_t12"] + path = sky130/sky130_osu_sc_t12 + url = https://foss-eda-tools.googlesource.com/skywater-pdk/libs/sky130_osu_sc_t12/ diff --git a/wally-pipelined/src/mmu/pmpadrdec.sv b/wally-pipelined/src/mmu/pmpadrdec.sv index 618167827..584b18fba 100644 --- a/wally-pipelined/src/mmu/pmpadrdec.sv +++ b/wally-pipelined/src/mmu/pmpadrdec.sv @@ -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 = '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)}), + .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); diff --git a/wally-pipelined/src/mmu/priorityonehot.sv b/wally-pipelined/src/mmu/priorityonehot.sv index 7a17f8d28..f02f8ccc5 100644 --- a/wally-pipelined/src/mmu/priorityonehot.sv +++ b/wally-pipelined/src/mmu/priorityonehot.sv @@ -40,13 +40,16 @@ module priorityonehot #(parameter ENTRIES = 8) ( logic [ENTRIES-1:0] nolower; // generate thermometer code mask - genvar i; - generate - assign nolower[0] = 1'b1; - for (i=1; i