Skip to content

Commit cfd592a

Browse files
committed
add a directory with the name of noc traffic file
1 parent 7de8cd7 commit cfd592a

File tree

1 file changed

+5
-1
lines changed
  • vtr_flow/scripts/python_libs/vtr

1 file changed

+5
-1
lines changed

vtr_flow/scripts/python_libs/vtr/task.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,11 @@ def create_jobs(args, configs, after_run=False):
344344
)
345345
abs_arch_filepath = resolve_vtr_source_file(config, arch, config.arch_dir)
346346
abs_circuit_filepath = resolve_vtr_source_file(config, circuit, config.circuit_dir)
347-
work_dir = str(PurePath(arch).joinpath(circuit))
347+
work_dir = None
348+
if noc_traffic:
349+
work_dir = str(PurePath(arch).joinpath(circuit).joinpath(noc_traffic))
350+
else:
351+
work_dir = str(PurePath(arch).joinpath(circuit))
348352

349353
run_dir = (
350354
str(

0 commit comments

Comments
 (0)