diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-12-14 22:26:37 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-12-16 16:29:10 -0600 |
| commit | ae7fd6a060c9bb1ce9db83f8eb23fa19e8fa0e7a (patch) | |
| tree | 83a1075065c5529a667941df077cf9ba8d664149 /sim | |
| parent | ef151fffb14eac19a19121dfb4c1e015e7470038 (diff) | |
Implement branch history (simulation only)
Diffstat (limited to '')
| -rwxr-xr-x | sim/sim.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -73,12 +73,18 @@ all_regs = [ ('far', 'far'), ('fsr', 'fsr'), ('dacr', 'dacr'), + ('bh0', 'bh0'), + ('bh1', 'bh1'), + ('bh2', 'bh2'), + ('bh3', 'bh3'), ] regs = {} read_reg = lambda r: regs.setdefault(r, 0) +do_output = None output_buffer = None + def out(*args, **kwargs): global output_buffer |
