The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 13th, 2024, 3:28am
Pages: 1
Send Topic Print
Iterative calculation of a mos-model (Read 2895 times)
Fabian H.
New Member
*
Offline



Posts: 3

Iterative calculation of a mos-model
Oct 22nd, 2013, 5:30am
 
Hello,

I use the software "IC-CAP" from "Agilent", hereby I access to a VerilogA-model of my MOS-transistor.
The external voltage and the flowing current is stored by IC-CAP. In addition, I save myself the calculated values at each call of my model, in a separate file.

The calculation of; cMOS-inverter, nMOS-inverter, CMOS ring oscillator; works well.

But I expect an iterative calculation of the currents and voltages. However, I can't find iterative calculation.
At each call of my model, a true current and voltage value is calculated.

How can I make the iterations visible?

Thank you very much
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re:  Iterative calculation of a mos-model
Reply #1 - Nov 5th, 2013, 8:35am
 
The Verilog-A system task $debug is supposed to print for every iteration.

 $debug("vds = %g", V(d,s));

But if you have no internal nodes of your model, then it's entirely possible that the simulator just applies the voltages and computes the currents, no iterations necessary, at least for the sorts of simulations IC-CAP does for parameter extraction.  I didn't know you could simulate a circuit with IC-CAP.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
Fabian H.
New Member
*
Offline



Posts: 3

Re:  Iterative calculation of a mos-model
Reply #2 - Nov 10th, 2013, 11:36pm
 
Thank you

i used printf() , with debug() it works very good and i can see the iterations.
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.