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

testfw: generate gtkw and waveopt files in build directory

parent f72362d6
......@@ -119,10 +119,11 @@ class TestsBase:
if not gtkw.exists():
log.warn('GTKW wave file {} not found'.format(cfg['gtkw']))
gtkw = tcl.with_suffix('.gtkw')
tclfname = tcl.relative_to(self.base)
base = str(tclfname.with_suffix("")).replace('/', '__')
gtkw = / (base+'.gtkw')
ghw_file = / ('.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