[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
RE: gEDA: Loadable Icarus Targets
- To: <geda-dev@seul.org>
- Subject: RE: gEDA: Loadable Icarus Targets
- From: "Hawkins, Thomas" <thomas.d.hawkins@medtronic.com>
- Date: Thu, 12 Aug 2004 16:15:04 -0500
- Delivered-to: archiver@seul.org
- Delivered-to: geda-dev-outgoing@seul.org
- Delivered-to: geda-dev@seul.org
- Delivery-date: Thu, 12 Aug 2004 17:15:36 -0400
- Reply-to: geda-dev@seul.org
- Sender: owner-geda-dev@seul.org
- Thread-index: AcSApFuNUbaPygroS7WQyImA6A0ceAADIsOg
- Thread-topic: gEDA: Loadable Icarus Targets
Thanks, -t:dll did the trick. Any documentation on format of the conf files?
Where is stub.conf? I don't see it in the latest snapshot or release 0.7.
Also, is there a way to reference *.tgt and *.conf files outside of the ivl/lib directory?
-Tom
-----Original Message-----
From: owner-geda-dev@seul.org [mailto:owner-geda-dev@seul.org]On Behalf
Of Stephen Williams
Sent: Thursday, August 12, 2004 2:41 PM
To: geda-dev@seul.org
Subject: Re: gEDA: Loadable Icarus Targets
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hawkins, Thomas wrote:
| I'm trying to build a loadable backend target for iverilog, but I'm not clear how to set
one up. For starters, I tried replicated the null target as test_target.c:
|
| #include "ivl_target.h"
|
| int target_design(ivl_design_t des)
| {
| return 0;
| }
|
| Then I compile it with:
|
| $ gcc -shared -o test_target.tgt test_target.c
|
| Then I created a test_target.conf file (what does this do?):
|
| -t:test_target
| flag:DLL=test_target.tgt
See the null.conf as an example. You want this instead:
~ -t:dll
~ flag:DLL=test_target.tgt
Notice that the "-t:dll" should be exactly like that. It's a little
confusing, but the way it is. Also, you should lookin the stub
target as an example as well. In particular, you should base your
conf file on the stub.conf, which has some more stuff in it that
you generally want.
- --
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBG8fArPt1Sc2b3ikRAqtoAJ9GVX7B1fu4Fpqi7m4OOk0spWWsKACePAZv
IgTVjtCgEbFv8NGh8sh0t1k=
=SVXF
-----END PGP SIGNATURE-----