Dave,
Tom is absolutely right.
Could you please create the errata?
"The entries in the 3rd
row of table 12-2 (Description) should be swapped, that is, the description for
OFF corresponds to ON and vice-versa".
Arturo
----- Original Message -----
From: "David W.
Smith" <dwsmith@synopsys.COM>
To:
<sv-language-team@synopsys.COM>
Sent:
Subject: [sv-lang-team] FW:
Constraint_mode table error
-----Original Message-----
From: Tom Fitzpatrick [mailto:fitz@Synopsys.COM]
Sent:
To: David Smith; Dave Rich
Subject: Constraint_mode
table error
Hi Guys,
I think that table 12-2 (p.
151) has the incorrect polarity for the constraint_mode task:
Value Meaning Description
0 OFF Sets the specified
constraint block to active so
that it is considered by
subsequent calls to the
randomize() method.
1 ON Sets
the specified constraint block to inactive
so that it is not enforced on
subsequent calls to
the randomize() method.
The constraint_mode function
returns a 1 if the constraint is active and 0 if inactive. These two should be
consistent, and the table looks backward.
Thanks,
-Fitz