Michael,
Thanks! You are exactly right. I forgot to set up MTI_HOME.
Now I can start the simulator.
- kaz
On 05/23/2018 07:17 PM, Adler, Michael wrote:
svdpi.h is common to all the simulators, including VCS and ModelSim.
You are likely missing the environment variable that points to the simulator's include
directory. Try typing "make check" in build_sim. It will probably tell you that
either MTI_HOME or VCS_HOME isn't defined. svdpi.h is expected at ${MTI_HOME}/include
or ${VCS_HOME}/include.
-Michael
On 5/23/18, 2:39 PM, "OPAE on behalf of Kazutomo Yoshii"
<opae-bounces(a)lists.01.org on behalf of kazutomo(a)mcs.anl.gov> wrote:
Hi,
I got the following error. I couldn't find svdpi.h in opae-sdk and
looks like that is a header file in verilator. Do I need to install
verilator?
intel-fpga-bbb/samples/tutorial/01_hello_world/build_sim/sw/ase_common.h:75:19:
fatal error: svdpi.h: No such file or directory
#include "svdpi.h"
Here is what I did.
$ cd intel-fpga-bbb/samples/tutorial/01_hello_world
$ afu_sim_setup --source hw/rtl/sources.txt build_sim
$ cd build_sim && make
opae-sdk 36afd (1.0.0)
intel-fpga-bbb 7fc7d3
quartus Version 17.1.0 Build 240
RHEL 7.5
- kaz
_______________________________________________
OPAE mailing list
OPAE(a)lists.01.org
https://lists.01.org/mailman/listinfo/opae
_______________________________________________
OPAE mailing list
OPAE(a)lists.01.org
https://lists.01.org/mailman/listinfo/opae