Skip to content

Commit

Permalink
fix to verilator framework
Browse files Browse the repository at this point in the history
  • Loading branch information
sylefeb committed Nov 17, 2023
1 parent 71c0e47 commit 0b6cb2d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frameworks/boards/verilator/verilator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b6cb2d

Please sign in to comment.