The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> HSPICE error: reference not found
https://designers-guide.org/forum/YaBB.pl?num=1296508633

Message started by jszair on Jan 31st, 2011, 1:17pm

Title: HSPICE error: reference not found
Post by jszair on 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)

Title: Re: HSPICE error: reference not found
Post by haykp on 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.

Title: Re: HSPICE error: reference not found
Post by jszair on 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...

Title: Re: HSPICE error: reference not found
Post by Geoffrey_Coram on 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 ...

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.