Skip to content

Commit

Permalink
Update LiteDRAM and LiteX for better DDR5 support
Browse files Browse the repository at this point in the history
Internal tag [#49418]

Signed-off-by: Maciej Dudek <[email protected]>
  • Loading branch information
mtdudek committed Sep 19, 2023
1 parent b59812e commit 6092bc2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rowhammer_tester/targets/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,13 +571,13 @@ def run(args, builder, build_kwargs, target_name):
print(f"Loading BIOS from: {bios_bin} starting at 0x{wb.mems.rom.base:08x} ...")

print('Stopping CPU')
wb.regs.ctrl_reset.write(0b10) # cpu_rst
wb.regs.ctrl__reset.write(0b10) # cpu_rst

memwrite(wb, rom_data, base=wb.mems.rom.base)
wb.read(wb.mems.rom.base)

print('Rebooting CPU')
wb.regs.ctrl_reset.write(0)
wb.regs.ctrl__reset.write(0)

wb.close()

Expand Down

0 comments on commit 6092bc2

Please sign in to comment.