The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 16th, 2024, 3:28pm
Pages: 1
Send Topic Print
gmin in hspice and spectre (Read 7194 times)
Jin Tang
New Member
*
Offline



Posts: 4

gmin in hspice and spectre
Feb 08th, 2010, 1:47pm
 
Hi

I have a diode model in both spectre and hspice format. I try to compare the characteristics like dc, cv, et. al. I simulate both models in ICCAP. They are identical models (except the format is different) and i see almost identical behavior in all areas except the low current region where gmin is supposed to be in effect. Spectre shows about 1 order of magnitude lower current. Note that i set dskip=0 for spectre.

I set gmin=1e-15 (for spectre) and gmindc=1e-15 (for hspice). Any one has an idea why this is the case? Thanks in advance!

Jin
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: gmin in hspice and spectre
Reply #1 - Feb 9th, 2010, 3:34am
 
Maybe it's due to differences in iabstol (I forget the equivalent parameter in hspice). What is the magnitude of the currents that you're seeing? That might allow a more educated guess...

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
Jin Tang
New Member
*
Offline



Posts: 4

Re: gmin in hspice and spectre
Reply #2 - Feb 9th, 2010, 9:25am
 
The current level i am seeing is about 5e-16 for spectre and 5e-15 for hspice.
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: gmin in hspice and spectre
Reply #3 - Feb 9th, 2010, 1:08pm
 
Does the voltage source current equal the diode current?

I recall that some simulators don't include the GMIN current as part of the diode current.
Back to top
 
 

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



Posts: 4

Re: gmin in hspice and spectre
Reply #4 - Feb 9th, 2010, 2:22pm
 
I think in my case GMIN current is indeed included, because the current level changes with GMIN.
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: gmin in hspice and spectre
Reply #5 - Feb 10th, 2010, 1:52pm
 
Bear in mind that this is a very small current - and it's almost certainly below the iabstol (unless you've tightened it) in both simulators, and so it's not going to be accurately resolved.

Why do you care about the accuracy of a current which is in femtoamps?

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
Jin Tang
New Member
*
Offline



Posts: 4

Re: gmin in hspice and spectre
Reply #6 - Feb 10th, 2010, 2:03pm
 
My project is to convert a spectre format diode to hspice format. and try to understand any difference. This indeed is a very small current. i think it is pretty much determined by the implementation of Gmin.
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.