Re: [OPAE] svdpi.h?

Adler, Michael <michael.adler at intel.com> Thu, 24 May 2018 00:17:49 +0000
Newsgroups dev.linux.lists.opae
Message-ID <[email protected]>
--===============1171927039520833316==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

svdpi.h is common to all the simulators, including VCS and ModelSim. You ar=
e likely missing the environment variable that points to the simulator's in=
clude directory. Try typing "make check" in build_sim. It will probably tel=
l you that either MTI_HOME or VCS_HOME isn't defined. svdpi.h is expected a=
t ${MTI_HOME}/include or ${VCS_HOME}/include.

-Michael

=EF=BB=BFOn 5/23/18, 2:39 PM, "OPAE on behalf of Kazutomo Yoshii" <opae-bou=
nces(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


--===============1171927039520833316==--