Subject: [sv-cc] Question from ["Edelman, Rich"
Michael, can you please reply to this?
--- owner-sv-cc@eda.org wrote:
From: "Edelman, Rich" <rich_edelman@mentorg.com>
Subject: [sv-cc] Using "sv_liblist" - Annex F "Inclusion of Foreign Language Code"
Date: Wed, 16 Jul 2003 14:31:22 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Hi,
I'm new to SystemVerilog, and am trying to understand the
behavior of the
-sv_liblist "bootstrap file"
as specified in the SystemVerilog 3.1 LRM Annex F.
My reading of the specification says that a shared object
specifed within a "bootstrap" file will override
a shared object specified using -sv_lib.
Can you tell me why we need this behavior, and how and
when it is used?
Thanks for your help.
rich
-------------------------------------------------------------------
>From SystemVerilog LRM 3.1 Final:
At the top of page 340:
Compiled object code can be specified by one of the following two methods:
1) by an entry in a bootstrap file; see Annex F.2.1 for more details
on this file and its content. Its location shall be specified with one
instance of the switch -sv_liblist pathname. This switch can be used
multiple times to define the usage of multiple bootstrap files.
2) by specifying the file with one instance of the switch
-sv_lib pathname_without_extension (i.e., the filename shall be
specified without
the platform specific extension). The SystemVerilog application is
responsible
for appending the appropriate extension for the actual platform. This
switch can
be used multiple times to define multiple libraries holding object
code.
<...snip...>
At the bottom of page 340:
In case of multiple occurrences of the same file (files having the same
pathname or which can easily be identified as being identical; e.g., by
comparing the inodes of the files to detect cases where links are used to
refer the same file), the above order also identifies the precedence of
loading; a file located by method 1) shall override
files specified by method 2).
________________________________________________________________
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!
This archive was generated by hypermail 2b28
: Wed Jul 16 2003 - 18:13:56 PDT
From: Swapnajit Mittra (mittra@juno.com)
Date: Wed Jul 16 2003 - 18:10:55 PDT
--
Swapnajit Mittra
Project VeriPage ::: http://www.angelfire.com/ca/verilog