The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Aug 16th, 2024, 5:10pm
Pages: 1
Send Topic Print
HSPICE error: reference not found (Read 5117 times)
jszair
New Member
*
Offline



Posts: 7

HSPICE error: reference not found
Jan 31st, 2011, 1:17pm
 
Hi all, I run into an error in hspice saying that my reference is not found. But i included the model file and the simulation log also shows the model file is included.

Also, the model didn't set lmax/min or wmax/min...

Please help. THanks!

error message:
--------------------------------
**error** reference        0:nmos not found, or instance width or length does not fit into the wmax/wmin or lmax/lmin range.
     it was referenced in element         0:mn
     the channel width=   1.000E-04 and length=   3.500E-07
   the line number was      11
--------------------------------

here's the spice deck

.inc 'tsmc018.sp'
.param ds=0.9
.param gs=1

vdsn vdn 0 dc 'ds'
vgsn vgn 0 dc 'gs'
mn vdn vgn 0 0 nmos L=.35u W=100u

.op
.options nomod dccap post brief
.dc gs 0.2V 1.2V 10mV

and the model file (too long to be included) is attached, (change the extension to sp)
Back to top
 
« Last Edit: Feb 01st, 2011, 9:58am by jszair »  
View Profile   IP Logged
haykp
Community Member
***
Offline



Posts: 40

Re: HSPICE error: reference not found
Reply #1 - Jan 31st, 2011, 10:56pm
 
Hi,

Most probably you have specify the channel length or width that doesn't fit into Lmin< L < Lmax  or Wmin <W<Wmax. So check whether your given W or L fit into that range.
Back to top
 
 
View Profile   IP Logged
jszair
New Member
*
Offline



Posts: 7

Re: HSPICE error: reference not found
Reply #2 - Feb 1st, 2011, 8:05am
 
There is no lmax/wmax or lmin/wmin in the model file.

.35 micron length and 100 micron width are very normal W/L number...
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: HSPICE error: reference not found
Reply #3 - Feb 1st, 2011, 9:57am
 
Is the .inc on the first line?  Remember, Spice treats the first line as a comment.  (I once had a .temp command as the first line, and the simulator printed that comment several times through the log file, which I took to mean it had used that temp, but really it was just printing the comment.)

Also, TSMC is probably not going to like you posting proprietary information on a public forum ...
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   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.