[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnucap] model naming convetions: dash in model name
From: |
Werner Hoch |
Subject: |
Re: [Help-gnucap] model naming convetions: dash in model name |
Date: |
Sun, 4 Nov 2007 20:27:39 +0100 |
User-agent: |
KMail/1.9.6 (enterprise 20070904.708012) |
Hi Al,
On Sonntag, 4. November 2007, al davis wrote:
> On Saturday 03 November 2007, Werner Hoch wrote:
> > Is this a feature or a bug?
>
> If that model works with Spice, it's a bug.
ngspice-17 says:
------------
******
** ngspice-17 : Circuit level simulation program
** The U. C. Berkeley CAD Group
** Copyright 1985-1994, Regents of the University of California.
** Please submit bug-reports to: address@hidden
** Creation Date: Mon Oct 1 12:13:37 UTC 2007
******
Circuit: * gnetlist -g spice-sdb -o saturation_voltages.net
saturation_voltages.sch
Error on line 10 : .model qbc817-25 npn( is = 9.198e-14 nf =
1.003 ise = 4.468e-16 ne = 1.65 bf = 338.8 ikf = 0.4913
vaf = 107.9 nr = 1.002 isc = 5.109e-15 nc = 1.071 br =
29.48 ikr = 0.193 var = 25 rb = 1 irb = 1000 rbm =
1 re = 0.2126 rc = 0.143 xtb = 0 eg = 1.11 xti = 3
cje = 3.825e-11 vje = 0.7004 mje = 0.364 tf = 5.229e-10
xtf = 219.7 vtf = 3.502 itf = 7.257 ptf = 0 cjc =
1.27e-11 vjc = 0.4431 mjc = 0.3983 xcjc = 0.4555 tr =
7e-11 cjs = 0 vjs = 0.75 mjs = 0.333 fc = 0.905)
Unknown model type -25 - ignored
Error on line 54 : q1 out in 0 qbc817-25
unable to find definition of model -25 - default assumed
ngspice 55 ->
-----------
Mmmhh, seems that ngspice is not very happy with that syntax.
> This one is fixed in the development version.
Great.
> > Where can I find the syntax rules for netlists and models?
>
> When reading a Spice file, it is supposed to be the same as
> Spice. Things like this are usually artifacts of the parser.
> It can be fixed, but things like this often slip by.
Yes but knowing the syntax would still be nice.
Regards
Werner