Skip to content

Commit

Permalink
fix bug in lsq that caused bad BSV schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
dz333 committed Jun 17, 2021
1 parent 4441032 commit dcf7940
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ clean:
@sbt clean
@echo
@echo "Cleaning BSV Libraries"
@$(MAKE) -C $(BSV_LOCKS) clean
@$(MAKE) -C $(BSV_MEMS) clean
@echo

Expand Down
1 change: 1 addition & 0 deletions bscRuntime/memories/Memories.bsv
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ module mkLSQ(BramPort#(addr, elem, MemId#(inflight), n) memwrap,
ldQStr[i][1] <= tagged Invalid;
//order this after reserve (so reserve addr ;write addr forwards data appropriately)
if (wmask == '1) ldQData[i][1] <= tagged Valid b;
else ldQData[i][1] <= tagged Invalid;
//If the store doesn't actually write all of the data, we need to do a real load so don't forward
end
end
Expand Down

0 comments on commit dcf7940

Please sign in to comment.