diff --git a/frameworks/boards/verilator/verilator.sh b/frameworks/boards/verilator/verilator.sh index 0255c828..8428606d 100755 --- a/frameworks/boards/verilator/verilator.sh +++ b/frameworks/boards/verilator/verilator.sh @@ -140,6 +140,11 @@ fi echo "using verilator framework $VERILATOR_LIB" echo "defines: $DEFINES" +# Verilator wants to include these but they are not generated +# fixes the issue (Verilator 5.019 devel rev v5.018-42-g2dba76a7c) +touch Vtop__pch.h.slow +touch Vtop__pch.h.fast + verilator -Wno-fatal -Wno-PINMISSING -Wno-WIDTH -O3 -cc build.v --report-unoptflat $OPT --top-module top --exe $VERILATOR_LIB_SRC -CFLAGS "-include" -CFLAGS "../verilator_callbacks.h" -CFLAGS "-include" -CFLAGS "custom.h" -CFLAGS "-I$SILICE_DIR/../frameworks/verilator/" -CFLAGS "-I../" -CFLAGS "-I../LibSL/" -CFLAGS "-DNO_SHLWAPI" $DEFINES $LDFLAGS cd obj_dir