diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-12-12 14:34:05 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-12-16 16:29:10 -0600 |
| commit | 02712d69cdd859d702cc7577e72db27d6f0c9ad5 (patch) | |
| tree | 01d0c36111a99f596588816a2529f661ba56d023 /sim/sim.py | |
| parent | 397245139af754af07e61a10a91fdc9b9e72153f (diff) | |
Implement fast video
Diffstat (limited to 'sim/sim.py')
| -rwxr-xr-x | sim/sim.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -342,7 +342,7 @@ do_output = module_get('do_output') if init := module_get('init'): init() -exec_args = [verilated, '--headless', '--dump-regs'] +exec_args = [verilated, '--dump-regs'] cycles = module_get('cycles', 1024) if cycles is not None: @@ -351,6 +351,9 @@ if cycles is not None: if not module_get('enable_tty', False): exec_args.append('--no-tty') +if not module_get('enable_video', False): + exec_args.append('--headless') + for rng in mem_dumps: length = rng.stop - rng.start assert rng.start >= 0 and rng.stop > rng.start \ |
