paramset for a parameterless module?
All,
Can I use a paramset to select a parameterless
module? Consider for instance the following example:
paramset restest resistor;
parameter real r = 1k from (0:inf);
.r=r;
endparamset
paramset restest short;
parameter real r = 0 from [0:inf) exclude
(0:inf); // Trick to select only 0.
endparamset
module short (a, b);
inout a, b;
electrical a, b;
analog V(a, b) <+ 0.0;
endmodule
In the LRM nothing is said about the
relation between a paramset and the module it is associated with, but it
seems to suggest that the module needs parameters...
Cheers,
Marq
Marq Kole
Competence Leader Robust Design
Research
NXP Semiconductors
Tel: +31 40 27 49051, Fax: +31 40 27 44700, Mobile: +31 6 387 48 389
High Tech Campus 48 p.2.039, 5656 AE Eindhoven, The Netherlands
marq.kole@nxp.com, www.nxp.com
Received on Mon Dec 4 02:16:33 2006
This archive was generated by hypermail 2.1.8
: Mon Dec 04 2006 - 02:16:42 PST