Subject: Re: SystemVerilog: always_comb and functions
From: Peter Flake (flake@co-design.com)
Date: Mon Apr 01 2002 - 05:48:05 PST
Kevin,
At 01:23 PM 3/28/02 -0800, Kevin Cameron x3251 wrote:
>I suggest that we add the keyword 'inline' for tasks and functions and
>restrict
>the use to only inlinable functions and tasks where appropriate. I don't think
>making the debuggers come up with the right source code is that hard a problem
>(compared to others we are creating).
>
>Tasks and functions declared 'inline' would be expanded like macros during
>parsing, and would have the restriction that they can only call other 'inline'
>functions or "pure" functions (and it might be worth adding the keyword 'pure'
>for them too so it can be recognized/enforced).
I think that 'inline' should really be an implementation feature, rather
than something that alters the behavior.
Peter.
This archive was generated by hypermail 2b28 : Mon Apr 01 2002 - 07:17:51 PST