I don't think a Mantis was ever filed.
In SV-2012, there is no formal BNF for the seeds, just a textual description.
For $random and $dist_*, you have
"random_function ::= $random [ ( seed ) ]
dist_functions ::=
$dist_uniform ( seed , start , end )
..."
"The seed argument shall be an integral variable."
and for $urandom, you have
"The syntax for $urandom is as follows:
function int unsigned $urandom [ (int seed ) ] ;
... The seed can be any integral expression."
Shalom
> -----Original Message-----
> From: owner-verilog-ams@eda.org [mailto:owner-verilog-ams@eda.org] On
> Behalf Of Paul Floyd
> Sent: Saturday, June 02, 2012 23:37
> To: Dave Miller
> Cc: verilog-ams@eda-stds.org
> Subject: Re: $arandom/$rdist_ seeds
>
> Dave Miller wrote:
> > Hi Paul, Shalom,
> > yes, that was silly of me, not sure what I was thinking. Of course I
> > can have -ve numbers as it is just an expression of a unary operator
> > followed by a number.
> >
> > So the change then is just the definition of analog_random_seed to
> > include the sign
> >
> > analog_random seed ::=
> > integer_variable_identifier
> > | reg_variable_identifier
> > | time_variable_identifier
> > | integer_parameter_identifier
> > | [ sign ] decimal_number
> >
> >
> > Same sort of change for seed in the rdist functions. Also the
> > description of the data for table model references decimal_number
> > directly so it should also be updated.
> >
> > If you like, I will add a Mantis item for this.
> Yes, please.
>
> Regards
> Paul
> --
> Dr Paul Floyd
> Mentor Graphics Corporation
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
Received on Sat Jul 21 23:24:08 2012
This archive was generated by hypermail 2.1.8 : Sat Jul 21 2012 - 23:24:21 PDT