Re: [sv-ec] Re: [sv-bc] Packed arrays


Subject: Re: [sv-ec] Re: [sv-bc] Packed arrays
From: Stephen Williams (steve@icarus.com)
Date: Wed Jan 29 2003 - 18:55:18 PST


sharp@cadence.com said:
> Are you assuming that because these are called "system functions", the
> compiler actually has to generate a function call? I assure you that
> NC-Verilog doesn't do anything of the sort. That would be
> inefficient.

Well actually, ...

  IEEE1364-2001 20.4 Overriding built-in system task and function names

  "If a user-provided PLI application is associated with the same
  name as a built-in system task or function ..., the user-provided
  C application shall override the built-in system task/function,
  replacing the functionaliyt with that of the user-provided C application."

I must admit, though, that I can't imagine anyone actually holding
you to that for $realtobits, $bitstoreal, $signed, $unsigned, etc.
Even I inline/elide those calls. (Same for $bits.)

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
steve at picturel.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."



This archive was generated by hypermail 2b28 : Wed Jan 29 2003 - 18:55:55 PST