Skip to content

Commit ca53359

Browse files
authored
Merge pull request #2789 from HazemAlindari/patch-1
Update flow.py in delete_intermediate_files to fix the if statement a…
2 parents 9761055 + a2e249d commit ca53359

File tree

1 file changed

+3
-2
lines changed
  • vtr_flow/scripts/python_libs/vtr

1 file changed

+3
-2
lines changed

vtr_flow/scripts/python_libs/vtr/flow.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,9 @@ def delete_intermediate_files(
399399
delete intermediate files
400400
"""
401401
next_stage_netlist.unlink()
402-
exts = (".xml", ".sdf", ".v")
403-
exts += (".net", ".place", ".route") if not keep_result_files else None
402+
exts = (".xml", ".sdf", ".v", ".sv")
403+
if not keep_result_files:
404+
exts += (".net", ".place", ".route")
404405

405406
for file in temp_dir.iterdir():
406407
if file.suffix in exts:

0 commit comments

Comments
 (0)