Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Local parameter value will be used in Cadence Spectre

Status
Not open for further replies.

pancho_hideboo

Advanced Member level 5
Joined
Oct 21, 2006
Messages
2,847
Helped
767
Reputation
1,536
Reaction score
733
Trophy points
1,393
Location
Real Homeless
Activity points
17,490
When I create netlist by skill function of "createNetlist(?recreateAll t, ?display t)" in Cadence IC6.1.7, I get following netlist.
parameters nf=4

subckt Hoge_Cell in1 in2 in3 out1 out2 inh_RF_Gnd
parameters nf=1
D0 (in2 out1 inh_RF_Gnd) sbd_rf l=2u w=4u nf=nf
D1 (out1 out2 inh_RF_Gnd) sbd_rf l=2u w=4u nf=nf
Ch (in3 out2) mimcap_2p0_sin lt=30u wt=30u mf=1 mismatchflag=1
Cc (in1 out1) mimcap_2p0_sin lt=30u wt=30u mf=1 mismatchflag=1
ends Hoge_Cell


subckt Hoge_Cascade DCin DCout RF_Gnd RFin_m RFin_p
parameters nf=1
Im1 (RFin_m RFin_p RFin_p net10 net6 RF_Gnd) Hoge_Cell \
nf=nf
Ip1 (RFin_p RFin_m RFin_m net12 net7 RF_Gnd) Hoge_Cell \
nf=nf
Im2 (RFin_m net6 RF_Gnd net013 DCout RF_Gnd) Hoge_Cell \
nf=nf
Ip2 (RFin_p net7 RF_Gnd net9 DCout RF_Gnd) Hoge_Cell nf=nf
ends Hoge_Cascade


subckt Dual_Hoge DCin DCout RF_Gnd RFin_m RFin_p
parameters nf=1
I1 (DCin a1\<1\> a1\<2\> a1\<3\> DCout RF_Gnd RFin_m RFin_p) \
rectifier_separate
I1_L (net011 DCout RF_Gnd RFin_m RFin_p) Hoge_Cascade \
nf=nf
ends Dual_Hoge

Rec1 (gnd_ana rec1_out gnd_ana RF1in_m RF1in_p) Dual_Hoge nf=nf
Rec0 (gnd_ana rec0_out gnd_ana RF0in_m RF0in_p) Dual_Hoge nf=nf
However Cadence Spectre show following warning.
Warning from spectre in `Dual_Hoge', during circuit read-in.
WARNING (SFE-2946): "input.scs" 314: `Dual_Hoge': Parameter `nf' redefines parameter of same name defined at higher level. Local parameter value will be used.

Warning from spectre in `Hoge_Cascade', during circuit read-in.
WARNING (SFE-2946): "input.scs" 302: `Hoge_Cascade': Parameter `nf' redefines parameter of same name defined at higher level. Local parameter value will be used.
Further occurrences of this warning will be suppressed.

I want to pass nf=4 for "Rec0" and "Rec1" hierarchally.

What value is applied as nf for "Rec0" and "Rec1" hierarchally ?


If I create netlist from ADE, I get following netlist.
parameters nf=4

subckt Hoge_Cell in1 in2 in3 out1 out2 inh_RF_Gnd
parameters _par0=1
D0 (in2 out1 inh_RF_Gnd) sbd_rf l=2u w=4u nf=_par0
D1 (out1 out2 inh_RF_Gnd) sbd_rf l=2u w=4u nf=_par0
Ch (in3 out2) mimcap_2p0_sin lt=30u wt=30u mf=1 mismatchflag=1
Cc (in1 out1) mimcap_2p0_sin lt=30u wt=30u mf=1 mismatchflag=1
ends Hoge_Cell


subckt Hoge_Cascade DCin DCout RF_Gnd RFin_m RFin_p
parameters _par0=1
Im1 (RFin_m RFin_p RFin_p net10 net6 RF_Gnd) Hoge_Cell \
_par0=_par0
Ip1 (RFin_p RFin_m RFin_m net12 net7 RF_Gnd) Hoge_Cell \
_par0=_par0
Im2 (RFin_m net6 RF_Gnd net013 DCout RF_Gnd) Hoge_Cell \
_par0=_par0
Ip2 (RFin_p net7 RF_Gnd net9 DCout RF_Gnd) Hoge_Cell _par0=_par0
ends Hoge_Cascade


subckt Dual_Hoge DCin DCout RF_Gnd RFin_m RFin_p
parameters _par0=1
I1 (DCin a1\<1\> a1\<2\> a1\<3\> DCout RF_Gnd RFin_m RFin_p) \
rectifier_separate
I1_L (net011 DCout RF_Gnd RFin_m RFin_p) Hoge_Cascade \
_par0=_par0
ends Dual_Hoge

Rec1 (gnd_ana rec1_out gnd_ana RF1in_m RF1in_p) Dual_Hoge _par0=nf
Rec0 (gnd_ana rec0_out gnd_ana RF0in_m RF0in_p) Dual_Hoge _par0=nf

Cadence Spectre does not say warning of "Local parameter value will be used." for this netlist.

How can I create same netlist by "createNetlist(?recreateAll t, ?display t)" ?
 

If I create netlist from ADE, ...

How can I create same netlist by "createNetlist(?recreateAll t, ?display t)" ?

Can you generate the ADE logFile (OCEAN ?). Perhaps you can find a hint therein?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top