From: Shalom Bresticker (Shalom.Bresticker@motorola.com)
Date: Wed Feb 14 2001 - 01:30:35 PST
<x-html>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<body bgcolor="#FFFFFF">
<p>-------- Original Message --------
<table BORDER=0 CELLSPACING=0 CELLPADDING=0 >
<tr>
<th ALIGN=RIGHT VALIGN=BASELINE NOWRAP>Subject: </th>
<td>Re: LRM 5.x: Unclear about when block refires on same event that changed</td>
</tr>
<tr>
<th ALIGN=RIGHT VALIGN=BASELINE NOWRAP>Date: </th>
<td>Tue, 13 Feb 2001 21:24:31 -0700</td>
</tr>
<tr>
<th ALIGN=RIGHT VALIGN=BASELINE NOWRAP>From: </th>
<td>"M Ciletti" <eagle64@email.msn.com></td>
</tr>
<tr>
<th ALIGN=RIGHT VALIGN=BASELINE NOWRAP>To: </th>
<td><VhdlCohen@aol.com>, <vlog-synth@eda.org></td>
</tr>
<tr>
<th ALIGN=RIGHT VALIGN=BASELINE NOWRAP>References: </th>
<td><d9.1032eda2.27baf5ee@aol.com></td>
</tr>
</table>
<p><style></style>
<font size=-1>Ben - Section 9.7 of the LRM for IEEE-1364
says: "The second type of timing control is the event expression, which
allows execution to be delayed until the occurrence of some simulation
event occuring in a procedure executing concurrently with this procedure.
A simulation event can be a change of value on a net or register (an implicit
event) or the occurrence of an explicitly named event that is triggered
from other procedures (an explicit event)." The key word here is
"other."</font> <font size=-1>Mike Ciletti</font>
<blockquote
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<div style="FONT: 10pt arial">----- Original Message -----</div>
<div
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><b>From:</b>
<a href="mailto:VhdlCohen@aol.com" title="VhdlCohen@aol.com">VhdlCohen@aol.com</a></div>
<div style="FONT: 10pt arial"><b>To:</b> <a href="mailto:vlog-synth@eda.org" title="vlog-synth@eda.org">vlog-synth@eda.org</a></div>
<div style="FONT: 10pt arial"><b>Sent:</b> Tuesday, February 13, 2001 1:41
PM</div>
<div style="FONT: 10pt arial"><b>Subject:</b> Re: LRM 5.x: Unclear about
when block refires on same event that changed</div>
<font face="arial,helvetica"><font size=-1>In a message dated 2/13/01
11:51:19 AM Pacific Standard Time,</font></font>
<br><font face="arial,helvetica"><font size=-1><a href="mailto:eagle64@email.msn.com">eagle64@email.msn.com</a>
writes:</font></font>
<br><font face="arial,helvetica"><font size=-1><<</font></font>
<blockquote
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px"
TYPE="CITE"><font face="arial,helvetica"><font size=-1>The
"always" behavior in your example parks for 10 time steps, then</font></font>
<br><font face="arial,helvetica"><font size=-1>complements a, but notice
that the event control expression cannot see this</font></font>
<br><font face="arial,helvetica"><font size=-1>because the activity is
located at the statement where the complement is</font></font>
<br><font face="arial,helvetica"><font size=-1>taking place. Control
does not return to the event control expression</font></font>
<br><font face="arial,helvetica"><font size=-1>until all of the sequential
statements in the behaviror have completed</font></font>
<br><font face="arial,helvetica"><font size=-1>execution. When the
event control expression is finally awake, it does not</font></font>
<br><font face="arial,helvetica"><font size=-1>see what happened in the
past.>></font></font></blockquote>
<p><font face="Arial"><font color="#000000"><font size=+0>OK, so WHERE
in the LRM does it say that "</font><font size=-1>Control does not return
to the</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>event control
expression until all of the sequential statements in the</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>behaviror have
completed execution"?</font></font></font>
<p><font face="Arial"><font color="#000000"><font size=-1>Section 5.4 shows
the Verilog simulation reference model</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>It states:</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>while (there
are events) {</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>if (no active
events) {</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1> ...</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>
}</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>}</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>E = any active
event;</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>if (E is an
update event) {</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>
update the modified object;</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>
add evaluation events for sensitive processes to event queue;</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1> } else
{ /* shall be an evaluation event */</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1> evaluate
the process;</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1> add update
events to the event queue;</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>}</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>}</font></font></font>
<p><font face="Arial"><font color="#000000"><font size=-1>Also, in 5.6.3
Blocking assignment states "When the process is returned (or</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>if it returns
immediately if no delay is specified), the process performs the</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>assign-ment
to the left-hand side and enables any events based upon the</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>update of the
left-hand side.</font></font></font>
<p><font face="Arial"><font color="#000000"><font size=-1>From the above
two statements, it would seem that at time 10, "a" becomes an</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>updated event.</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>Where am I wrong?</font></font></font>
<br>
<p><font face="Arial"><font color="#000000"><font size=-1>always(@ a or
@ b) // P1 block</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>
begin</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>
#10 a =~ a;</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>
c = b;</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>
end</font></font></font>
<br>
<br>
<br>
<br>
<br>
<br>
<p><font face="Arial"><font color="#000000"><font size=-1>------------------------------------------------------------------------------</font></font></font>
<p><font face="Arial"><font color="#000000"><font size=-1>--------------------------------------</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>Ben Cohen
Publisher, Trainer, Consultant (310) 721-4830</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>http://www.vhdlcohen.com/>
vhdlcohen@aol.com</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>Author of following
textbooks:</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>* Component
Design by Example ... a Step-by-Step Process Using</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1> VHDL
with UART as Vehicle", 2001 isbn 0-9705394-0-1</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>* VHDL Coding
Styles and Methodologies, 2nd Edition, 1999 isbn 0-7923-8474-1</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>* VHDL Answers
to Frequently Asked Questions, 2nd Edition, isbn 0-7923-8115</font></font></font>
<br><font face="Arial"><font color="#000000"><font size=-1>------------------------------------------------------------------------------</font></font></font>
<p><font face="Arial"><font color="#000000"><font size=-1>--------------------------------------</font></font></font></blockquote>
</body>
</html>
</x-html>
This archive was generated by hypermail 2.1.4
: Mon Jul 08 2002 - 12:54:39 PDT
and
sponsored by Boyd Technology, Inc.