diff --git a/.travis.yml b/.travis.yml index f509c1efa..2449bdb6c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -62,6 +62,7 @@ jobs: - ci/install-verilator.sh - ci/install-fesvr.sh - ci/build-riscv-tests.sh + - make verilate verilator=$TRAVIS_BUILD_DIR/tmp/bin/verilator - ci/run-tests.sh # extra time during long builds diff --git a/Makefile b/Makefile index 9fee9912f..4ae07c468 100755 --- a/Makefile +++ b/Makefile @@ -164,8 +164,9 @@ verilate: -Wno-UNOPTFLAT \ -Wno-UNUSED \ -Wno-ASSIGNDLY \ - -LDFLAGS "-lfesvr" -CFLAGS "-std=c++11" -Wall --cc --trace --vpi --trace-structs \ - $(list_incdir) --top-module ariane_testharness --exe tb/ariane_tb.cpp tb/dpi/SimDTM.cc + -LDFLAGS "-lfesvr" -CFLAGS "-std=c++11" -I../tb/dpi -Wall --cc --trace --vpi --trace-structs \ + $(list_incdir) --top-module ariane_testharness \ + --exe tb/ariane_tb.cpp tb/dpi/SimDTM.cc tb/dpi/SimJTAG.cc tb/dpi/remote_bitbang.cc cd obj_dir && make -j8 -f Variane_testharness.mk verify: