In general,
The rand or randc qualifier can only be specified for
variables declared in a class. When the built-in
'randomize' method of the class is called, the
variables with a rand or randc qualifier are assigned
random values (also meeting any constraints).
Any variable can be randomized by using the scope
randomize function (std::randomize). The variables to
be randomized are listed as parameters in the
call to the scope randomize (eg std::randomize(a, b, c);).
- Ray
> -----Original Message-----
> From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On
> Behalf Of Francoise Martinolle
> Sent: Thursday, September 16, 2004 10:07 AM
> To: sv-ec@eda.org
> Subject: [sv-ec] question about randomization
>
> I thought that variables declared with the rand or randc
> qualifier could be randomized.
> It seems that variables qualified with rand or randc and
> declared as member of a class can be randomized.
> Regular variables without qualifier declared inside a module
> can also be randomized.
> Is that correct?
>
>
> Thanks
> Francoise
> '
>
Received on Thu Sep 16 11:18:48 2004
This archive was generated by hypermail 2.1.8 : Thu Sep 16 2004 - 11:19:18 PDT