Re: [sv-bc] Errata: return out of fork...join

From: Arturo Salz <Arturo.Salz@synopsys.com>
Date: Wed Sep 01 2004 - 19:10:21 PDT

Steve,

That is covered in Section 9.6:

"A return statement within the context of a fork...join statement is
illegal and shall result in a compilation error."

You still bring up a good point. This needs to be covered in both sections.

    Arturo

----- Original Message -----
From: "Steven Sharp" <sharp@cadence.com>
To: <sv-bc@eda.org>
Sent: Wednesday, September 01, 2004 3:13 PM
Subject: [sv-bc] Errata: return out of fork...join

Section 8.6 has a restriction to keep continue and break statements from
trying to exit from the inside of a fork...join. However, it fails to
restrict the return statement the same way.

It should state that the return statement cannot be used inside a
fork...join block.

Also, these restrictions should apply to the new fork...join_any and
fork...join_none constructs as well.

Steven Sharp
sharp@cadence.com
Received on Wed Sep 1 19:10:26 2004

This archive was generated by hypermail 2.1.8 : Wed Sep 01 2004 - 19:10:30 PDT