From c75d70126f45494d9a0efa18310968edb5b13f0f Mon Sep 17 00:00:00 2001 From: David Harris Date: Sun, 18 Jul 2021 03:51:30 -0400 Subject: [PATCH] LSUArb: Removed Demuxes on ReadDataW, DataMiisalignedM, HPTWStall --- wally-pipelined/src/lsu/lsuArb.sv | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/wally-pipelined/src/lsu/lsuArb.sv b/wally-pipelined/src/lsu/lsuArb.sv index 841b90bc..4832dd24 100644 --- a/wally-pipelined/src/lsu/lsuArb.sv +++ b/wally-pipelined/src/lsu/lsuArb.sv @@ -91,12 +91,14 @@ module lsuArb // demux the inputs from LSU to walker or cpu's data port. - assign ReadDataW = SelPTW ? `XLEN'b0 : ReadDataWfromDCache; // probably can avoid this demux - assign DataMisalignedM = SelPTW ? 1'b0 : DataMisalignedMfromDCache; + // works without the demux 7/18/21 dh. Suggest deleting these and removing fromDCache suffix + assign ReadDataW = /*SelPTW ? `XLEN'b0 : */ReadDataWfromDCache; // probably can avoid this demux + assign DataMisalignedM = /*SelPTW ? 1'b0 : */DataMisalignedMfromDCache; // *** need to rename DcacheStall and Datastall. // not clear at all. I think it should be LSUStall from the LSU, // which is demuxed to HPTWStall and CPUDataStall? (not sure on this last one). - assign HPTWStall = SelPTW ? DCacheStall : 1'b1; + //assign HPTWStall = SelPTW ? DCacheStall : 1'b1; + assign HPTWStall = DCacheStall; assign PendingInterruptMtoDCache = SelPTW ? 1'b0 : PendingInterruptM;