Geoffrey.Coram wrote:
>Kevin Cameron wrote:
>
>
>>I don't see how you can default to the paramset values for l & w when you are trying to select the paramset on those values, the initial values would have to be the module's if no instance parameters are set.
>>
>>
>
>There's nothing that forces the paramset to have the same parameters
>as the module. Look at those examples (eg in Sec 2.7) where the
>paramset has
> localparam corner = design.corner from {"tt"};
>
>The bsim4 model doesn't have such a parameter -- and it's a localparam,
>so it can't be specified for the instance. It *must* take its value
>from the default expression in the paramset.
>
>
>L and W are perhaps special cases in Spice, since one almost always
>provides these two instance parameters. But that's not a reason for
>an HDL should treat them differently.
>
>-Geoffrey
>
>
I think I might have misunderstood your instantiation mechanism first
time round. I assumed you were instantiating modules then applying
paramsets, are you actually using paramsets like (overloaded)
macro-modules?
Kev.
-- Kevin Cameron, CPU Technology, CA 94588, Tel.: (925) 225 4862Received on Mon May 24 09:51:14 2004
This archive was generated by hypermail 2.1.8 : Mon May 24 2004 - 09:51:18 PDT