Skip to content

Commit

Permalink
Update flow.py in delete_intermediate_files to fix the if statement a…
Browse files Browse the repository at this point in the history
…nd delete SystemVerilog temp files
  • Loading branch information
HazemAlindari authored Oct 27, 2024
1 parent f520c17 commit e6b4a62
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vtr_flow/scripts/python_libs/vtr/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,9 @@ def delete_intermediate_files(
delete intermediate files
"""
next_stage_netlist.unlink()
exts = (".xml", ".sdf", ".v")
exts += (".net", ".place", ".route") if not keep_result_files else None
exts = (".xml", ".sdf", ".v", ".sv")
if not keep_result_files:
exts += (".net", ".place", ".route")

for file in temp_dir.iterdir():
if file.suffix in exts:
Expand Down

0 comments on commit e6b4a62

Please sign in to comment.