RE: [sv-bc] Assignments in expressions as an atomic operator


Subject: RE: [sv-bc] Assignments in expressions as an atomic operator
From: Stuart Sutherland (stuart@sutherland-hdl.com)
Date: Thu Apr 17 2003 - 10:06:46 PDT


LRM-254 completely removed the sentences regarding both interrupting the
thread and test-and-set IN SECTION 9.7 ONLY. In Section 9.1, only the
reference to test-and-set was deleted. The part about interrupting the
thread was not removed. Was this the intent of the change?

Stu

At 09:15 AM 4/17/2003, David W. Smith wrote:
>Greetings,
>
>After discussion with Arturo and Dave Rich about this there was agreement
>that this had been decided to be removed. LRM-254 has been created and
>should be fixed in Draft 5.
>
>Regards
>David
>
>-----Original Message-----
>From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of Jay
>Lawrence
>Sent: Wednesday, April 16, 2003 5:19 PM
>To: sv-bc@eda.org
>Cc: David Smith
>Subject: [sv-bc] Assignments in expressions as an atomic operator
>
>
>
>
>
>I know it is very late for this comment but in working on SystemVerilog
>related tasks I came across the following in Sections 9.1 and 9.7.
>
> "Execution of each thread can be interrupted between statements at a
>semicolon, but a single statement (not a block) containing no user task or
>function call shall not be interrupted. This allows atomic test-and-set
>using assignment operators in an if statement"
>
>This was discussed at length in one of the face-to-face sv-bc meetings. I
>believe it was the one in January. I thought it was agreed that this was a
>change to the simulation semantics that was to be removed from the LRM. I
>apologize for not catching this early in the meeting minutes or subsequent
>review. These little paragraphs can be tricky.
>
>I would ask that an LRM issue be created for this item.
>
>Thanks,
>
>Jay
>
>
>===================================
>Jay Lawrence
>Senior Architect
>Functional Verification
>Cadence Design Systems, Inc.
>(978) 262-6294
>lawrence@cadence.com
>===================================

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Stuart Sutherland Sutherland HDL Inc.
stuart@sutherland-hdl.com 22805 SW 92nd Place
phone: 503-692-0898 Tualatin, OR 97062
www.sutherland-hdl.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



This archive was generated by hypermail 2b28 : Thu Apr 17 2003 - 10:09:39 PDT