From: Simon Davidmann (email@example.com)
Date: Mon May 26 2003 - 07:53:46 PDT
I would have thought that you can just call the unix function that returns
the value of the variable - call it from within SystemVerilog using the C
function call interface.
[if there is no appropriate unix function, just write one in C and import
it into your SystemVerilog as an external (i.e. in C) function.]
That should work?
At 03:14 PM 5/26/2003, Shalom Bresticker wrote:
>A colleague asked me whether there is a way in
>Verilog/Verilog-2001/SystemVerilog to read in the value of a Unix environment
>variable so that he can use it, for example, for file path information.
>To the best of my knowledge, there is no way in the Verilog language itself.
>Anyone know a way?
>If not, he would like to suggest it as an enhancement.
>Shalom Bresticker Shalom.Bresticker@motorola.com
>Design & Reuse Methodology Tel: +972 9 9522268
>Motorola Semiconductor Israel, Ltd. Fax: +972 9 9522890
>POB 2208, Herzlia 46120, ISRAEL Cell: +972 50 441478
This archive was generated by hypermail 2.1.4
: Mon May 26 2003 - 16:54:07 PDT
sponsored by Boyd Technology, Inc.