diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-02-13 12:14:31 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-02-20 11:11:18 -0600 |
| commit | 827c40829903d5b870f47ab2f389792ed10211bd (patch) | |
| tree | 2a696fcb41118e8115585a9e2d79ec60294a6584 /sim | |
| parent | 9bf55b70a85e5c12e9cfd0b8c7e1eaf1c05a6c1c (diff) | |
rtl/core/control: don't shift branch history registers inside loops
Diffstat (limited to 'sim')
| -rwxr-xr-x | sim/sim.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -152,12 +152,12 @@ def recv_mem_dump(): while_running() out(f'{COLOR_BLUE}{line}{COLOR_RESET}') -def read_mem(base, length, *, may_fail = False): +def read_mem(base, length, *, may_fail=False, phys=False): fragments = [] i = 0 if halted and length > 0: - print('dump-mem', base >> 2, (length + base - (base & ~0b11) + 0b11) >> 2, file=sim_end, flush=True) + print('dump-phys' if phys else 'dump-mem', base >> 2, (length + base - (base & ~0b11) + 0b11) >> 2, file=sim_end, flush=True) recv_mem_dump() while length > 0: |
