Skip to content

Commit

Permalink
feat: add hack impl to the wave gen
Browse files Browse the repository at this point in the history
  • Loading branch information
maksyuki committed Mar 8, 2024
1 parent 6b26540 commit 58532f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vcs_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def collect_run_log(self, prog_name: str, prog_type: str):

def gen_wave_rpt(self):
(prog_name, prog_type) = self.vcs_cfg.prog
prog_name = 'hello' # HACK:
os.chdir(config.VCS_RUN_DIR)

wave_name = f'{self.dut_cfg.top}_{prog_name}_{prog_type}'
Expand Down Expand Up @@ -134,7 +135,8 @@ def run(self):
if self.vcs_cfg.wave == 'off':
os.system(f'make run test={prog_name}-{prog_type}')
else:
os.system(f'make run test={prog_name}-{prog_type} wave=on')
# os.system(f'make run test={prog_name}-{prog_type} wave=on')
os.system(f'make run test=hello-{prog_type} wave=on') # HACK:
self.gen_wave_rpt()

self.collect_run_log(prog_name, prog_type)
Expand Down

0 comments on commit 58532f9

Please sign in to comment.