delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/07/03/15:20:22

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:date:message-id:subject:from:to:content-type;
bh=TNrnuKUvUs9wWo4zYPSokef1zAiMkBJapH+1R6+v/PE=;
b=s/LnkCLFBgFhq25ZtZDwZZO3q9Y5a9y8/u1SOnlbkiVLPEf36w0I1MBvxarVDAogIx
J59Dz9ROSzVD0YMzHOg5hfo/RnTCNyE9/FH5vXJL/PGJBeBt6MXMwQtPRgtkYmKNu2q6
ArjRrCB/gzFAopafzbLeF9f9dkMq4+ZzZr/ciYoAWJW+uGd7BMOz8uUpwqE6RHCGIcFu
6/IDrql6WapoipcSItRr036HMfuYRvqkb6ck4Y7MdAoj0zpxKtjzoYnue9XfPVM7eLvb
ccYO0QQFUkQBrvzXuCvlDbpdqgNiTaMI6mwxAOWyDCmISc/4ERgzaDxV6hZWDAipcox2
QnfA==
MIME-Version: 1.0
X-Received: by 10.60.83.207 with SMTP id s15mr5148612oey.77.1404415165299;
Thu, 03 Jul 2014 12:19:25 -0700 (PDT)
Date: Thu, 3 Jul 2014 13:19:25 -0600
Message-ID: <CAFx0xxjWMZp2YBh7OCsqX2GdqWgMdMgvzCDB+0JL2vLhr_SnOg@mail.gmail.com>
Subject: [geda-user] VPI and Icarus
From: Dave Williams <dave DOT williams DOT lists AT gmail DOT com>
To: geda-user AT delorie DOT com
Reply-To: geda-user AT delorie DOT com

--089e01184c780b7f8f04fd4ee3e0
Content-Type: text/plain; charset=UTF-8

Having some problems with VPI in Icarus 0.9.6

I'm trying to link a C++ app to the 'libvpi.a' library.
The VPI functions are not linking.  I can get the hello VPI sample
to execute when using 'iverilog-vpi hello.c'.

I successfully built a static library containing C function calls that link
in my C++ app.  But when I replace this library and use 'libvpi.a'
and try to call any of the VPI C functions they are not found in linking.
At this stage - I'm not focused on running these VPI C functions - I'm just
trying to build them.

Doing a quick read of the Icarus Makefile - I did not find a specific
target for
building the library - 'libvpi.a'.   I wondering if anyone knows of a way
to
re-build the 'libvpi.a' library without a complete new make/install of
Icarus
Verilog?

Dave W.

--089e01184c780b7f8f04fd4ee3e0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div>Having some problems with VPI in =
Icarus 0.9.6<br></div><br></div>I&#39;m trying to link a C++ app to the &#3=
9;libvpi.a&#39; library.<br></div>The VPI functions are not linking.=C2=A0 =
I can get the hello VPI sample<br>
to execute when using &#39;iverilog-vpi hello.c&#39;.<br><br></div><div>I s=
uccessfully built a static library containing C function calls that link <b=
r>in my C++ app.=C2=A0 But when I replace this library and use &#39;libvpi.=
a&#39; <br>
and try to call any of the VPI C functions they are not found in linking.<b=
r></div><div>At this stage - I&#39;m not focused on running these VPI C fun=
ctions - I&#39;m just <br>trying to build them.=C2=A0 <br></div><div><br></=
div>
Doing a quick read of the Icarus Makefile - I did not find a specific targe=
t for <br>building the library - &#39;libvpi.a&#39;.=C2=A0=C2=A0 I wonderin=
g if anyone knows of a way to <br>re-build the &#39;libvpi.a&#39; library w=
ithout a complete new make/install of Icarus <br>
Verilog?=C2=A0 <br><br></div>Dave W.<br></div>

--089e01184c780b7f8f04fd4ee3e0--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019