Replaced LSU data replication with 0 extention.

This commit is contained in:
Ross Thompson 2022-08-23 10:43:47 -05:00
parent cd0da2e3b3
commit b9fadc11c3

View File

@ -266,7 +266,7 @@ module lsu (
end
if (`F_SUPPORTED)
mux2 #(`LLEN) datamux({{`LLEN/`XLEN}{IMAWriteDataM}}, FWriteDataM, FpLoadStoreM, IMAFWriteDataM);
mux2 #(`LLEN) datamux({{{`LLEN-`XLEN}{1'b0}}, IMAWriteDataM}, FWriteDataM, FpLoadStoreM, IMAFWriteDataM);
else assign IMAFWriteDataM = IMAWriteDataM;
/////////////////////////////////////////////////////////////////////////////////////////////