Apply 'make format'

This commit is contained in:
github action 2025-12-17 02:18:36 +00:00
parent 7e5c5d677f
commit fe5d6b213c
2 changed files with 15 additions and 17 deletions

View File

@ -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",

View File

@ -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)