From 3eb0b113804564712893400462659e9c7b8a0104 Mon Sep 17 00:00:00 2001 From: M0stafaRady Date: Thu, 6 Oct 2022 11:18:48 -0700 Subject: [PATCH] update verify_cocotb.py to remove vcs generate files --- verilog/dv/cocotb/verify_cocotb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/verilog/dv/cocotb/verify_cocotb.py b/verilog/dv/cocotb/verify_cocotb.py index 45be69cd..88dcbd1b 100755 --- a/verilog/dv/cocotb/verify_cocotb.py +++ b/verilog/dv/cocotb/verify_cocotb.py @@ -104,7 +104,7 @@ class RunTest: os.system(f"vcs {coverage_command} -R -diag=sdf:verbose +sdfverbose +neg_tchk -debug_access -full64 -l {self.sim_path}/test.log caravel_top -Mdir={self.sim_path}/csrc -o {self.sim_path}/simv +vpi -P pli.tab -load $(cocotb-config --lib-name-path vpi vcs)") self.passed = search_str(self.full_terminal.name,"Test passed with (0)criticals (0)errors") Path(f'{self.sim_path}/{self.passed}').touch() - # os.system("rm AN.DB/ cm.log results.xml ucli.key -rf") + os.system("rm AN.DB/ cm.log results.xml ucli.key -rf") def find(self,name, path): for root, dirs, files in os.walk(path):