Apply 'make format'
This commit is contained in:
parent
7e5c5d677f
commit
fe5d6b213c
|
|
@ -21,14 +21,13 @@ HIER_THREADS = 4
|
||||||
|
|
||||||
config_file = test.t_dir + "/" + test.name + ".vlt"
|
config_file = test.t_dir + "/" + test.name + ".vlt"
|
||||||
|
|
||||||
test.compile(
|
test.compile(v_flags2=[
|
||||||
v_flags2=[
|
config_file, "+define+SIM_CYCLES=" + str(test.cycles), "--hierarchical", "--stats",
|
||||||
config_file, "+define+SIM_CYCLES=" + str(test.cycles), "--hierarchical", "--stats",
|
(f"-DWORKERS={HIER_BLOCK_THREADS}" if test.vltmt and HIER_BLOCK_THREADS > 1 else ""),
|
||||||
(f"-DWORKERS={HIER_BLOCK_THREADS}" if test.vltmt and HIER_BLOCK_THREADS > 1 else ""),
|
(f"--hierarchical-threads {HIER_THREADS}" if test.vltmt and HIER_THREADS > 1 else "")
|
||||||
(f"--hierarchical-threads {HIER_THREADS}" if test.vltmt and HIER_THREADS > 1 else "")
|
],
|
||||||
],
|
threads=(THREADS if test.vltmt else 1),
|
||||||
threads=(THREADS if test.vltmt else 1),
|
context_threads=(max(HIER_THREADS, THREADS) if test.vltmt else 1))
|
||||||
context_threads=(max(HIER_THREADS, THREADS) if test.vltmt else 1))
|
|
||||||
|
|
||||||
if test.vltmt:
|
if test.vltmt:
|
||||||
test.file_grep(test.obj_dir + "/V" + test.name + "__hier.dir/V" + test.name + "__stats.txt",
|
test.file_grep(test.obj_dir + "/V" + test.name + "__hier.dir/V" + test.name + "__stats.txt",
|
||||||
|
|
|
||||||
|
|
@ -21,15 +21,14 @@ HIER_THREADS = 4
|
||||||
|
|
||||||
config_file = test.t_dir + "/" + test.name + ".vlt"
|
config_file = test.t_dir + "/" + test.name + ".vlt"
|
||||||
|
|
||||||
test.compile(
|
test.compile(v_flags2=[
|
||||||
v_flags2=[
|
config_file, "+define+SIM_CYCLES=" + str(test.cycles), "--prof-exec", "--hierarchical",
|
||||||
config_file, "+define+SIM_CYCLES=" + str(test.cycles), "--prof-exec", "--hierarchical",
|
"--stats", "-Wno-UNOPTFLAT",
|
||||||
"--stats", "-Wno-UNOPTFLAT",
|
(f"-DWORKERS={HIER_BLOCK_THREADS}" if test.vltmt and HIER_BLOCK_THREADS > 1 else ""),
|
||||||
(f"-DWORKERS={HIER_BLOCK_THREADS}" if test.vltmt and HIER_BLOCK_THREADS > 1 else ""),
|
(f"--hierarchical-threads {HIER_THREADS}" if test.vltmt and HIER_THREADS > 1 else "")
|
||||||
(f"--hierarchical-threads {HIER_THREADS}" if test.vltmt and HIER_THREADS > 1 else "")
|
],
|
||||||
],
|
threads=(THREADS if test.vltmt else 1),
|
||||||
threads=(THREADS if test.vltmt else 1),
|
context_threads=(HIER_THREADS if test.vltmt else 1))
|
||||||
context_threads=(HIER_THREADS if test.vltmt else 1))
|
|
||||||
|
|
||||||
test.file_grep(test.obj_dir + "/V" + test.name + "__hier.dir/V" + test.name + "__stats.txt",
|
test.file_grep(test.obj_dir + "/V" + test.name + "__hier.dir/V" + test.name + "__stats.txt",
|
||||||
r'Optimizations, Hierarchical DPI wrappers with costs\s+(\d+)', 6)
|
r'Optimizations, Hierarchical DPI wrappers with costs\s+(\d+)', 6)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue