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,12 +21,11 @@ HIER_THREADS = 4
config_file = test.t_dir + "/" + test.name + ".vlt"
test.compile(
v_flags2=[
test.compile(v_flags2=[
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"--hierarchical-threads {HIER_THREADS}" if test.vltmt and HIER_THREADS > 1 else "")
],
],
threads=(THREADS if test.vltmt else 1),
context_threads=(max(HIER_THREADS, THREADS) if test.vltmt else 1))

View File

@ -21,13 +21,12 @@ HIER_THREADS = 4
config_file = test.t_dir + "/" + test.name + ".vlt"
test.compile(
v_flags2=[
test.compile(v_flags2=[
config_file, "+define+SIM_CYCLES=" + str(test.cycles), "--prof-exec", "--hierarchical",
"--stats", "-Wno-UNOPTFLAT",
(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 "")
],
],
threads=(THREADS if test.vltmt else 1),
context_threads=(HIER_THREADS if test.vltmt else 1))