From: Shalom.Bresticker@motorola.com
Date: Mon Aug 13 2001 - 04:53:00 PDT
>Number: 17
>Category: enhancement
>Originator: Shalom.Bresticker@motorola.com
>Description:
12.1.3 says (para. 7),
"a defparam statement within the generate scope or within a
hierarchy instantiated within the generate scope shall only
modify the value of a parameter declared within the generate
scope or within a hierarchy instantiated within the generate
scope."
It is unclear whether a defparam may reference a different
iteration of a generate loop.
E.g.,
genvar i;
generate for(i=0; i < 8; i = i+1)
begin : somename
flop my_flop(in[i], in1[i], out1[i]);
defparam somename[i+1].my_flop.xyz = i ;
end endgenerate
There have been different interpretations of whether this is
permitted or not.
This must be clarified.
This archive was generated by hypermail 2.1.4
: Mon Jul 08 2002 - 12:54:44 PDT
and
sponsored by Boyd Technology, Inc.