Jspice3
b1.c File Reference
#include "spice.h"
#include <stdio.h>
#include "bsim1def.h"
#include "uflags.h"
Include dependency graph for b1.c:

Go to the source code of this file.

Variables

static IFparm B1pTable []
 
static IFparm B1mPTable []
 
static char * B1names []
 
static char * B1modNames []
 
static IFkeys B1keys []
 
static int B1kSize = NUMELEMS(B1keys)
 
static int B1pTSize = NUMELEMS(B1pTable)
 
static int B1mPTSize = NUMELEMS(B1mPTable)
 
static int B1iSize = sizeof(B1instance)
 
static int B1mSize = sizeof(B1model)
 
SPICEdev B1info
 

Variable Documentation

SPICEdev B1info

Definition at line 214 of file b1.c.

int B1iSize = sizeof(B1instance)
static

Definition at line 210 of file b1.c.

IFkeys B1keys[]
static
Initial value:
= {
{ 'm', NUMELEMS(B1names), B1names, 0, 0 },
}
#define NUMELEMS(ARRAY)
Definition: spice.h:157
static char * B1names[]
Definition: b1.c:189

Definition at line 202 of file b1.c.

int B1kSize = NUMELEMS(B1keys)
static

Definition at line 207 of file b1.c.

char* B1modNames[]
static
Initial value:
= {
"nmos",
"pmos",
}
#define NULL
Definition: spdefs.h:121

Definition at line 196 of file b1.c.

IFparm B1mPTable[]
static

Definition at line 29 of file b1.c.

int B1mPTSize = NUMELEMS(B1mPTable)
static

Definition at line 209 of file b1.c.

int B1mSize = sizeof(B1model)
static

Definition at line 211 of file b1.c.

char* B1names[]
static
Initial value:
= {
"Drain",
"Gate",
"Source",
"Bulk"
}

Definition at line 189 of file b1.c.

IFparm B1pTable[]
static
Initial value:
= {
IOP( "l", BSIM1_L, IF_REAL, "Length"),
IOP( "w", BSIM1_W, IF_REAL, "Width"),
IOP( "ad", BSIM1_AD, IF_REAL, "Drain area"),
IOP( "as", BSIM1_AS, IF_REAL, "Source area"),
IOP( "pd", BSIM1_PD, IF_REAL, "Drain perimeter"),
IOP( "ps", BSIM1_PS, IF_REAL, "Source perimeter"),
IOP( "nrd", BSIM1_NRD, IF_REAL, "Number of squares in drain"),
IOP( "nrs", BSIM1_NRS, IF_REAL, "Number of squares in source"),
IOP( "off", BSIM1_OFF, IF_FLAG, "Device is initially off"),
IOP( "vds", BSIM1_IC_VDS, IF_REAL, "Initial D-S voltage"),
IOP( "vgs", BSIM1_IC_VGS, IF_REAL, "Initial G-S voltage"),
IOP( "vbs", BSIM1_IC_VBS, IF_REAL, "Initial B-S voltage"),
}
#define BSIM1_AS
Definition: bsim1def.h:480
#define BSIM1_W
Definition: bsim1def.h:478
#define IOP(a, b, c, d)
Definition: devdefs.h:120
#define BSIM1_AD
Definition: bsim1def.h:481
#define BSIM1_NRD
Definition: bsim1def.h:485
#define BSIM1_OFF
Definition: bsim1def.h:486
#define BSIM1_IC_VGS
Definition: bsim1def.h:489
#define BSIM1_IC_VBS
Definition: bsim1def.h:487
#define BSIM1_L
Definition: bsim1def.h:479
#define BSIM1_PD
Definition: bsim1def.h:483
#define IF_REAL
Definition: ifsim.h:108
#define IF_FLAG
Definition: ifsim.h:106
#define BSIM1_NRS
Definition: bsim1def.h:484
#define BSIM1_IC_VDS
Definition: bsim1def.h:488
#define BSIM1_PS
Definition: bsim1def.h:482

Definition at line 13 of file b1.c.

int B1pTSize = NUMELEMS(B1pTable)
static

Definition at line 208 of file b1.c.