From 58532f9124f288fbdddb35372007c82872e7b23f Mon Sep 17 00:00:00 2001 From: maksyuki Date: Fri, 8 Mar 2024 11:25:44 +0800 Subject: [PATCH] feat: add hack impl to the wave gen --- src/vcs_test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vcs_test.py b/src/vcs_test.py index 17adb4a..bf102c7 100644 --- a/src/vcs_test.py +++ b/src/vcs_test.py @@ -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}' @@ -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)