Problem with analog artist simulation

G

Guenther Sohler

Guest
Hallo Group,

I am simulating a circuit containing MOS Transistors.
For debugging I'd like to have the Current through a Drain
plotted. Unfortunately the MOS Transistor is not modelled as a plain BSIM3V3 Model, but as a complex subcircuit. Therefore the current through the drain is not available as such simple value, but would have to be calculated as the sum of some (internal) subcircuit currents).
Is there still a way to handle the transistor as a simple symbol and have the current through drain plotted(without tricks eg, inserting a 0V voltage supply in series) ?

rds
 
Gunther,

First of all you have to select your
currents to be saved in ADE 'Outputs->Save All...',
but I assume you already know that.

Second you have to modify your cell CDF siminfo for the required
simulator and define a 'termMapping' and
add an 'opParamExprList'.
Refer to
'Component Description Format User Guide',
Appendix B 'Accessing Subcircuit Simulation Data',
'Accessing Subcircuit Port Currents' &
'Accessing Subcircuit Model Parameter and Operating Point Information'

e.g.

cdfId->simInfo->spectre = '( nil
componentName nmos_rf
propMapping nil
namePrefix ""
otherParameters (model)
instParameters (lr nr wr)
termOrder (D G S B)
termMapping (nil D \:d G \:g S \:s B \:b)
opParamExprList (("cdg" "OP(mappedRoot(\".m0\") \"cdg\")") ....
)


Bernd
 
Guenther Sohler wrote:
Hallo Group,

I am simulating a circuit containing MOS Transistors.
For debugging I'd like to have the Current through a Drain
plotted. Unfortunately the MOS Transistor is not modelled as a plain BSIM3V3 Model, but as a complex subcircuit. Therefore the current through the drain is not available as such simple value, but would have to be calculated as the sum of some (internal) subcircuit currents).
Is there still a way to handle the transistor as a simple symbol and have the current through drain plotted(without tricks eg, inserting a 0V voltage supply in series) ?

rds
Hello,

did you try to use an Inline Subcircuit to model this transistor? It's purpose
is exactly what you are looking for, masking a subcicuit as primitive device.

Regards,
Marc
 
Marc Heise wrote:

Guenther Sohler wrote:

Hallo Group,

I am simulating a circuit containing MOS Transistors. For debugging
I'd like to have the Current through a Drain
plotted. Unfortunately the MOS Transistor is not modelled as a plain
BSIM3V3 Model, but as a complex subcircuit. Therefore the current
through the drain is not available as such simple value, but would
have to be calculated as the sum of some (internal) subcircuit currents).
Is there still a way to handle the transistor as a simple symbol and
have the current through drain plotted(without tricks eg, inserting a
0V voltage supply in series) ?

rds


Hello,

did you try to use an Inline Subcircuit to model this transistor? It's
purpose is exactly what you are looking for, masking a subcicuit as
primitive device.
And masking leakages as well. When someone annotates op and dc to the schematic,
he ends up with stg that does not respect Kirchoff. inline subckts avoid a lot
of that CDF mess but are a poor solution.
 

Welcome to EDABoard.com

Sponsor

Back
Top