Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tilk committed Mar 29, 2024
1 parent 576f971 commit 5d17afe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coreblocks/func_blocks/lsu/dummyLsu.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def _(arg):
# Memory loads can be issued speculatively.
pmas = pma_checker.result
can_reorder = is_load & ~pmas["mmio"]
want_issue = ~is_fence & (rob_id_match | can_reorder)
want_issue = rob_id_match | can_reorder

do_issue = ~flush & want_issue
with Transaction().body(m, request=do_issue):
Expand All @@ -254,7 +254,7 @@ def _(arg):
# Handles flushed instructions as a no-op.
with Transaction().body(m, request=flush):
requests.read(m)
issued.read(m)
results.write(m, data=0, exception=0, cause=0)

with Transaction().body(m):
res = requester.accept(m) # can happen only after issue
Expand Down

0 comments on commit 5d17afe

Please sign in to comment.