Re: [OPAE] svdpi.h?
Kazutomo Yoshii <kazutomo at mcs.anl.gov> Wed, 23 May 2018 22:04:03 -0500
| Newsgroups | dev.linux.lists.opae |
|---|---|
| Message-ID | <[email protected]> |
--===============8249793559601295936==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Michael,
Thanks!=C2=A0 You are exactly right.=C2=A0 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 t=
ell you that either MTI_HOME or VCS_HOME isn't defined. svdpi.h is expected=
at ${MTI_HOME}/include or ${VCS_HOME}/include.
>
> -Michael
>
> =EF=BB=BFOn 5/23/18, 2:39 PM, "OPAE on behalf of Kazutomo Yoshii" <opae-b=
ounces(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
--===============8249793559601295936==--