[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnucap] diode and bjt models and netlist
From: |
al davis |
Subject: |
Re: [Help-gnucap] diode and bjt models and netlist |
Date: |
Tue, 2 Aug 2016 20:57:49 -0400 |
On Tue, 2 Aug 2016 17:37:15 -0700
Mrudula Bhilwadikar <address@hidden> wrote:
> I have been using the following models for diode and a npn/ pnp which
> give me an error everytime i try to simulate it.
>
> .model DIODE D level=1 Is=1f Rs=100 CJO=50f BV=6.4
> ^ ? model: "D1" no match
>
> .model NPN NPN level=1 IS=1e-16 BF=50 BR= 0.9 RE=10 RB=50 RC=7 NF=1
> ^ ? model: "NPN1" no match
The modelgen models of diode and bjt don't have levels, but the front
end applied the level hack anyway, which means you got a misleading
error message.
What there is no match for is "D level=1", "NPN level=1" and "PNP
level=1".
> Dd_58 N__60 gnd! DIODE '1e-13 * 1e+12'
> ^ ? D: no match
>
> Qmn_45 N__48 N__48 gnd! NPN m=1
> ^ ? what's this?
I think your copy/paste messed up the spacing, so I can't tell where
the "^ ?" really points. Probably it means you are referencing the
models that were rejected.