Skip to content

Commit ad41c84

Browse files
committed
fix: correct optimization level in verilator command for improved build performance
1 parent 4ce1ab0 commit ad41c84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/steps/verilator/03_build_event_step.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ async def handler(data, context):
100100

101101
# -O1 instead of -O3: much faster C++ compilation, minimal simulation speed difference
102102
verilator_cmd = (
103-
f"verilator -MMD -cc --vpi --trace -O1 --x-assign fast --x-initial fast --noassert -Wno-fatal "
103+
f"verilator -MMD -cc --vpi --trace -O3 --x-assign fast --x-initial fast --noassert -Wno-fatal "
104104
f"--trace-fst --trace-threads 1 --output-split 10000 --output-split-cfuncs 100 "
105105
f"--unroll-count 256 "
106106
f"-Wno-PINCONNECTEMPTY "

0 commit comments

Comments
 (0)