Skip to content

Commit

Permalink
Merge pull request #350 from zapta/develop
Browse files Browse the repository at this point in the history
Changed the default zoom of gtkwave from min to max.
  • Loading branch information
Obijuan authored Feb 22, 2024
2 parents de9e60e + 9de040c commit f529733
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion apio/resources/ecp5/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,9 @@ AlwaysBuild(verify)
if 'sim' in COMMAND_LINE_TARGETS:
sout = env.IVerilog(SIMULNAME, src_sim)
vcd_file = env.VCD(sout)
waves = env.Alias('sim', vcd_file, 'gtkwave --rcvar "splash_disable on" {0} {1}.gtkw'.format(
# 'do_initial_zoom_fit' does max zoom only if .gtkw file not found.
waves = env.Alias('sim', vcd_file, 'gtkwave {0} {1} {2}.gtkw'.format(
'--rcvar "splash_disable on" --rcvar "do_initial_zoom_fit 1"',
vcd_file[0], SIMULNAME))
AlwaysBuild(waves)

Expand Down
4 changes: 3 additions & 1 deletion apio/resources/ice40/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,9 @@ AlwaysBuild(verify)
if 'sim' in COMMAND_LINE_TARGETS:
sout = env.IVerilog(SIMULNAME, src_sim)
vcd_file = env.VCD(sout)
waves = env.Alias('sim', vcd_file, 'gtkwave --rcvar "splash_disable on" {0} {1}.gtkw'.format(
# 'do_initial_zoom_fit' does max zoom only if .gtkw file not found.
waves = env.Alias('sim', vcd_file, 'gtkwave {0} {1} {2}.gtkw'.format(
'--rcvar "splash_disable on" --rcvar "do_initial_zoom_fit 1"',
vcd_file[0], SIMULNAME))
AlwaysBuild(waves)

Expand Down

0 comments on commit f529733

Please sign in to comment.