We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 553aac6 commit 8407876Copy full SHA for 8407876
pyverilator/pyverilator.py
@@ -420,6 +420,11 @@ def start_gtkwave(self):
420
self.gtkwave_tcl = tclwrapper.TCLWrapper('gtkwave', '-W')
421
self.gtkwave_tcl.start()
422
self.gtkwave_tcl.eval('gtkwave::loadFile %s' % self.vcd_filename)
423
+ # adjust the screen to show more of the trace
424
+ zf = float(self.gtkwave_tcl.eval('gtkwave::getZoomFactor'))
425
+ # this seems to work well
426
+ new_zf = zf - 5
427
+ self.gtkwave_tcl.eval('gtkwave::setZoomFactor %f' % (new_zf))
428
429
def send_signals_to_gtkwave(self, signal_names):
430
if not self.gtkwave_active:
0 commit comments