Skip to content

Commit f3d4df2

Browse files
committed
If noc_flow exist, add a column to the parsed_file output
1 parent cfd592a commit f3d4df2

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

vtr_flow/scripts/python_libs/vtr/parse_vtr_flow.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ def parse_vtr_flow(arg_list):
6666

6767
for param in extra_params:
6868
key, value = param.split("=", 1)
69+
if value == "None":
70+
continue
6971
extra_params_parsed[key] = value
7072
print(key, end="\t")
7173

vtr_flow/scripts/python_libs/vtr/task.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,7 @@ def create_jobs(args, configs, after_run=False):
471471
circuit,
472472
includes,
473473
arch,
474+
noc_traffic,
474475
value,
475476
cmd,
476477
parse_cmd,
@@ -489,6 +490,7 @@ def create_jobs(args, configs, after_run=False):
489490
circuit,
490491
includes,
491492
arch,
493+
noc_traffic,
492494
None,
493495
cmd,
494496
parse_cmd,
@@ -509,6 +511,7 @@ def create_job(
509511
circuit,
510512
include,
511513
arch,
514+
noc_flow,
512515
param,
513516
cmd,
514517
parse_cmd,
@@ -558,6 +561,7 @@ def create_job(
558561
current_parse_cmd += [
559562
"arch={}".format(arch),
560563
"circuit={}".format(circuit),
564+
"noc_flow={}".format(noc_flow),
561565
"script_params={}".format(load_script_param(param)),
562566
]
563567
current_parse_cmd.insert(0, run_dir + "/{}".format(load_script_param(param)))
@@ -567,6 +571,7 @@ def create_job(
567571
current_second_parse_cmd += [
568572
"arch={}".format(arch),
569573
"circuit={}".format(circuit),
574+
"noc_flow={}".format(noc_flow),
570575
"script_params={}".format(load_script_param(param)),
571576
]
572577
current_second_parse_cmd.insert(0, run_dir + "/{}".format(load_script_param(param)))
@@ -576,6 +581,7 @@ def create_job(
576581
current_qor_parse_command += [
577582
"arch={}".format(arch),
578583
"circuit={}".format(circuit),
584+
"noc_flow={}".format(noc_flow),
579585
"script_params={}".format("common"),
580586
]
581587
current_qor_parse_command.insert(0, run_dir + "/{}".format(load_script_param(param)))

0 commit comments

Comments
 (0)