Hi all,
Instead of using a scasubckt component, I tried creating a cell with a CDF parameter flowing the recipe somehow. The detail recipe can be found from the link at the end of the post.
However, I got a error.
Error found by spectre during circuit read-in.
ERROR (SFE-23): "input.scs" 13: I1 is an instance of an undefined model abc_model.
input.scs
// Generated for: spectre
// Generated on: Apr 4 22:06:27 2011
// Design library name: abc
// Design cell name: tb_abc
// Design view name: schematic
simulator lang=spectre
global 0
// Library name: abc
// Cell name: tb_abc
// View name: schematic
I1 (in_p in_n out) abc_model
V0 (in_p in_n) vsource type=bit edgetype=linear val0=0 val1=1 period=30p \
rise=12p fall=12p data="0" rptstart=1 rpttimes=0
R0 (out 0) resistor r=1
simulatorOptions options reltol=1e-3 vabstol=1e-6 iabstol=1e-12 temp=27 \
tnom=27 scalem=1.0 scale=1.0 gmin=1e-12 rforce=1 maxnotes=5 maxwarns=5 \
digits=5 cols=80 pivrel=1e-3 sensfile="../psf/sens.output" \
checklimitdest=psf
tran tran stop=100p write="spectre.ic" writefinal="spectre.fc" \
annotate=status maxiters=5
finalTimeOP info what=oppoint where=rawfile
modelParameter info what=models where=rawfile
element info what=inst where=rawfile
outputParameter info what=output where=rawfile
designParamVals info what=parameters where=rawfile
primitives info what=primitives where=rawfile
subckts info what=subckts where=rawfile
saveOptions options save=allpub
--------------------
abc_model.scs (model library setup done - attached screen capture)
simulator lang=spectre insensitive=yes
subckt abc_model (in_p in_n out)
// *********************************************************************
// circuit
//
//
//
parameters d=0.01
...
...
...
// output circuit
...
ends abc_model
// *********************************************************************
Which step could be wrong? Which part of message I should post to help troubleshoot?
thanks
http://www.cadence.com/Community/blogs/rf/archive/2009/01/07/tip-of-the-week-how...