Commit d5c8bdc2 authored by Martin Jeřábek's avatar Martin Jeřábek

testfw: generate gtkw and waveopt files in build directory

parent f72362d6
Pipeline #6820 passed with stage
in 47 seconds
......@@ -119,10 +119,11 @@ class TestsBase:
if not gtkw.exists():
log.warn('GTKW wave file {} not found'.format(cfg['gtkw']))
else:
gtkw = tcl.with_suffix('.gtkw')
tclfname = tcl.relative_to(self.base)
base = str(tclfname.with_suffix("")).replace('/', '__')
gtkw = self.build / (base+'.gtkw')
ghw_file = self.build / (tb.name+'.elab.ghw')
wave_opt_file = tcl.with_suffix('.wevaopt.txt')
wave_opt_file = gtkw.with_suffix('.wevaopt.txt')
# We need the GHW file for TCL -> GTKW conversion. If we are
# generating them, there is no sense in actually doing
# the conversion now.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment