trashbox
|
Hi Ken, Thanks for your patience. However it seems the multiplicity factor in "inline" block should evaluated to be a number instead of "nf". Please refer to my detailed information:
Foundry's mosfet model is in sub-circuit format as: subckt n33_ckt_rf (1 2 3 4) parameters lr=0.35u wr=10u nf=2 ...... main (11 21 31 41) n33_rf l=lr w=wr m=nf model n33_rf bsim3v3{ ... } ends n33_ckt_rf
My netlist is the following as your advice: subckt lcvco net0 OUTN OUTP VDD VSS M1 (net034 net037 net082 VSS) nmos w=4u l=400.00n m=2 ..... ends lcvco
inline subckt nmos (d g s b) parameters wr lr nf nmos (d g s b) n33_ckt_rf w=wr l=lr m=nf ends nmos The simulation errors are: Warning from spectre in `t_lcvco', during circuit read-in. M1: `w' is not a valid parameter for an instance of `nmos'. Ignored. M1: `l' is not a valid parameter for an instance of `nmos'. Ignored. Error found by spectre in `nmos':`M1', in `lcvco':`I0', during hierarchy flattening. nmos: The value for the multiplicity factor `m' should evaluate to a number.
The error tells me that I should assign a number to nf in the inline block, however the multiplicity factor is different in different mosfet such as M1,M2 etc. What is your comment? Thank you very much!
|