The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> Spectre Error
https://designers-guide.org/forum/YaBB.pl?num=1413815922

Message started by bki on Oct 20th, 2014, 7:38am

Title: Spectre Error
Post by bki on Oct 20th, 2014, 7:38am

Hi,

when i try to simulate a real transistor model (PHC2300N) in Cadence/Spectre i get the following error:
" WARNING: .LIB section `typ`not terminated in this file.
ERROR: illegal node name: [V"

I dont understand what the problem is.
I just added the NXP model:

simulator lang=spectre

library phc2300nnmos
section typ

simulator lang=spice

.SUBCKT PHC2300N DRAIN GATE SOURCE

LD DRAIN 5 9e-10
RLD2 DRAIN 5 2.2619448
RLD1 5 4 0.00021
LG GATE 1 7.81292696075128e-10
RLG GATE 1 1.96360105685013
LS SOURCE 8 1.93735483323052e-09
RLS2 SOURCE 8 4.86909965642293
RLS1 8 7 0.0128545079936694

RDS 7 4 6000000000 TC=-0.05

RS 6 7 0.0001

RD 3 4 3.75 TC=0.00757007972004158,-1.12226632721876e-05
*RBD 9 4 0.0662733597192391 TC=0.00757007972004158,-1.12226632721876e-05
RBD 9 4 0.2662733597192391 TC=0.00757007972004158,-1.12226632721876e-05
DBD 7 9 DBD

M1 3 2 6 6 MINT

RGS 2 6 200000000
*CGS 2 6 2.31816326530612e-10
CGS 2 6 25e-11
RG 1 2 12.9806016135844

* CGD
C11    11   12   1E-12
V11    11   0   0Vdc
G11    3 2 VALUE { V(13, 0)*I(V11) }
E11    12   0  3 2  1
E12    13   0  TABLE {V(12)}
+ -30      50
+ -20      50.6
+ -10      54.9
+ -5      65
+ -2      110
+ -1      375
+ -0.5      380
+ -0.2      385
+ -0.1      390
+ 0      334
+ 0.1      231
+ 0.2      187
+ 0.5      80
+ 1      44
+ 5      18
+ 10      13
+ 20      9
+ 30      7.7
+ 50      7.3



.MODEL MINT NMOS(Vto=1.5 Kp=20e-01 Nfs=650e+09 Eta=0
+ Level=3 L=1e-4 W=1e-4 Gamma=0 Phi=0.6 Is=1e-24
+ Js=0 Pb=0.8 Cj=0 Cjsw=0 Cgso=0 Cgdo=0 Cgbo=0
+ Tox=1e-07 Xj=0
+ U0=600 Vmax=1000)

.MODEL DBD D(Bv=336.00 Ibv=1.00E-05 Rs=1E-6 Is=2.24329941372341e-13
+ N=1 M=0.39 VJ=0.5 Fc=0.5 Cjo=3.8e-11 Tt=4e-08)

.ENDS PHC2300N


Title: Re: Spectre Error
Post by Geoffrey_Coram on Nov 13th, 2014, 10:46am

WARNING: .LIB section `typ`not terminated in this file.

You have "section typ" so you need "endsection typ" at the bottom of the file (probably also need "simulator lang=spectre" just before it).

Title: Re: Spectre Error
Post by Geoffrey_Coram on Nov 13th, 2014, 10:48am

Regarding ERROR: illegal node name: [V
I would try commenting out these two elements:

G11    3 2 VALUE { V(13, 0)*I(V11) }

E12    13   0  TABLE {V(12)}
+ ..

and see if one of them is the culprit.

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