>This issue you bring up was resolved by errata # 4:
>
> http://www.eda.org/sv-ec/Errata/ERR_4.pdf
>
>Specifically, section 5.5 defines the lifetime of automatic variables declared
>within fork/join blocks to be the union of the lifetime of all the subprocesses
>spawned by that block. This definition removes the need for the restriction
>that you bring up in your message. The Verilog-2001 limitations regarding
>access to automatic variables continue to apply (e.g., access automatic
>variables via hierarchical references is not allowed).
Thanks Arturo. That does indeed address the problem. My version of the
3.1a LRM was not up-to-date with that erratum.
The newer version I downloaded says in section 5.5:
"The lifetime of a fork...join, fork...join_any, or fork...join_none block
shall encompass the execution of all processes spawned by the block. The
lifetime of a scope enclosing any fork...join block includes the lifetime
of the fork...join block."
I assume that the second sentence is intended to apply to all of the
different kinds of fork...join blocks, even though it only explicitly
mentions the first kind. This should be made clear.
Steven Sharp
sharp@cadence.com
Received on Tue Aug 31 16:51:42 2004
This archive was generated by hypermail 2.1.8 : Tue Aug 31 2004 - 16:51:56 PDT