On 7 Apr 2004 23:39:39 -0700,
(ALuPin) wrote:
>> Also note that procedure variables are not static.
>
>Does that mean that variables in processes are static that is that
>they keep their value ?
Yes. Processes are elaborated at the beginning of simulation,
procedures are elaborated afresh on entry. Consequently, process
variables are static. By contrast, procedure and function
variables are dynamically elaborated and disappear when the
procedure/function exits.
>For simulation and also for synthesis?
Yes, both. With a few dishonourable exceptions, synthesis
will always deliver the same results as simulation, and will
refuse to process any constructs that can't deliver that
exact match. The exceptions relate to stuff that synthesis
tools think it's safe to ignore, such as time delays and
variable initialisations. Caveat scriptor

--
Jonathan Bromley, Consultant
DOULOS - Developing Design Know-how
VHDL, Verilog, SystemC, Perl, Tcl/Tk, Verification, Project Services
Doulos Ltd. Church Hatch, 22 Market Place, Ringwood, BH24 1AW, UK
Tel: +44 (0)1425 471223 mail:
Fax: +44 (0)1425 471573 Web:
http://www.doulos.com
The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.