mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Comments.
This commit is contained in:
parent
75e93baaee
commit
0310fe858f
@ -253,7 +253,10 @@ module lsu (
|
||||
|
||||
if(`DMEM != `MEM_BUS) begin // *** always, not just with no MEM_BUS. Only produces byte write enable
|
||||
logic [`XLEN-1:0] ReadDataWordMaskedM;
|
||||
// ** there is definitely a sww bug with memory mapped i/o. check wally64priv.
|
||||
assign ReadDataWordMaskedM = SelUncachedAdr ? '0 : ReadDataWordM; // AND-gate
|
||||
// *** consider moving this AND gate into the sww.
|
||||
//assign ReadDataWordMaskedM = ReadDataWordM; // *** this change only works because the i/o devices dont' write bytes other than the ones specific to their address.
|
||||
subwordwrite subwordwrite(.HRDATA(ReadDataWordMaskedM), .HADDRD(LSUPAdrM[2:0]),
|
||||
.HSIZED({LSUFunct3M[2], 1'b0, LSUFunct3M[1:0]}),
|
||||
.HWDATAIN(FinalAMOWriteDataM), .HWDATA(FinalWriteDataM));
|
||||
|
Loading…
Reference in New Issue
Block a user