Skip to content

Commit

Permalink
Advance scratchpad address on any WE
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Dudek <[email protected]>
  • Loading branch information
mtdudek committed Sep 26, 2024
1 parent 2d46210 commit b0ce2c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rowhammer_tester/gateware/payload_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def __init__(self, mem, dfi):
]

self.sync += [
If(wr_port.we,
If(reduce(or_, wr_port.we),
If(self.counter == mem.depth - 1,
self.overflow.eq(1),
self.counter.eq(0),
Expand Down

0 comments on commit b0ce2c4

Please sign in to comment.