I was using cadence IC5141 with IBM PDK. Somehow I couldn't run simulation anymore because the instances are not defined. For example, if I instantiate a mim capacitor, the edit property form tells me subcircuit name is "mim", but in netlist, the model name becomes "subcircuit", I guess this is the reason prevents me from simulation further. Anybody could help me out? Thanks a lot.
There should be an instance of the MIM element and it may
be a subcircuit call that requires a subcircuit definition,
but both should be there. Perhaps you skipped over the
instance line, or perhaps there is some netlister issue
(like missing property?) that inhibits the netlister from
outputting the instance line. Look at the various output
windows for error complaints (CIW?).
It's common for there to be multiple subflows and maybe
there is a master variable that calls out whether you are
going to have MIMs in the flow or not; maybe that inhibits
MIM from netlisting. Just conjecture, there.
Try making a bone simple test circuit (like MIM,
resistor
and voltage source) and post up the intermediate and final
netlists. Sometimes there are schemes where the subcircuit
and instance are done by one call, though I have not
seen this used since cdsSpice went bye-bye.
Below is my netlist, I just used one resistor with one capacitor.
Obviously the model name for resistor and capacitor are both "subcircuit". If I change capacitor to "mim" manually, e.g., I can run through simulation.
// Generated for: spectre
// Generated on: Oct 15 14:23:13 2009
// Design library name: test
// Design cell name: test2
// Design view name: schematic
simulator lang=spectre
global 0
include "/opt/cadence/ic5141/tools/dfII/samples/artist/ahdlLib/quantity.spectre"
Problem solved. I missed one line: export CDS_Netlisting_Mode=Analog in my bashrc file. Though I don't know what it means but it does help.
Thanks a lot.