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

Go to the source code of this file.

Variables

static IFparm B2pTable []
 
static IFparm B2mPTable []
 
static char * B2names []
 
static char * B2modNames []
 
static IFkeys B2keys []
 
static int B2kSize = NUMELEMS(B2keys)
 
static int B2pTSize = NUMELEMS(B2pTable)
 
static int B2mPTSize = NUMELEMS(B2mPTable)
 
static int B2iSize = sizeof(B2instance)
 
static int B2mSize = sizeof(B2model)
 
SPICEdev B2info
 

Variable Documentation

SPICEdev B2info

Definition at line 326 of file b2.c.

int B2iSize = sizeof(B2instance)
static

Definition at line 322 of file b2.c.

IFkeys B2keys[]
static
Initial value:
= {
{ 'm', NUMELEMS(B2names), B2names, 0, 0 },
}
static char * B2names[]
Definition: b2.c:301
#define NUMELEMS(ARRAY)
Definition: spice.h:157

Definition at line 314 of file b2.c.

int B2kSize = NUMELEMS(B2keys)
static

Definition at line 319 of file b2.c.

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

Definition at line 308 of file b2.c.

IFparm B2mPTable[]
static

Definition at line 29 of file b2.c.

int B2mPTSize = NUMELEMS(B2mPTable)
static

Definition at line 321 of file b2.c.

int B2mSize = sizeof(B2model)
static

Definition at line 323 of file b2.c.

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

Definition at line 301 of file b2.c.

IFparm B2pTable[]
static
Initial value:
= {
IOP( "l", BSIM2_L, IF_REAL, "Length"),
IOP( "w", BSIM2_W, IF_REAL, "Width"),
IOP( "ad", BSIM2_AD, IF_REAL, "Drain area"),
IOP( "as", BSIM2_AS, IF_REAL, "Source area"),
IOP( "pd", BSIM2_PD, IF_REAL, "Drain perimeter"),
IOP( "ps", BSIM2_PS, IF_REAL, "Source perimeter"),
IOP( "nrd", BSIM2_NRD, IF_REAL, "Number of squares in drain"),
IOP( "nrs", BSIM2_NRS, IF_REAL, "Number of squares in source"),
IOP( "off", BSIM2_OFF, IF_FLAG, "Device is initially off"),
IOP( "vds", BSIM2_IC_VDS, IF_REAL, "Initial D-S voltage"),
IOP( "vgs", BSIM2_IC_VGS, IF_REAL, "Initial G-S voltage"),
IOP( "vbs", BSIM2_IC_VBS, IF_REAL, "Initial B-S voltage"),
}
#define BSIM2_AS
Definition: bsim2def.h:522
#define BSIM2_NRS
Definition: bsim2def.h:526
#define BSIM2_W
Definition: bsim2def.h:520
#define BSIM2_NRD
Definition: bsim2def.h:527
#define IOP(a, b, c, d)
Definition: devdefs.h:120
#define BSIM2_IC_VBS
Definition: bsim2def.h:529
#define BSIM2_IC_VDS
Definition: bsim2def.h:530
#define BSIM2_PD
Definition: bsim2def.h:525
#define BSIM2_OFF
Definition: bsim2def.h:528
#define BSIM2_IC_VGS
Definition: bsim2def.h:531
#define BSIM2_L
Definition: bsim2def.h:521
#define IF_REAL
Definition: ifsim.h:108
#define IF_FLAG
Definition: ifsim.h:106
#define BSIM2_AD
Definition: bsim2def.h:523
#define BSIM2_PS
Definition: bsim2def.h:524

Definition at line 13 of file b2.c.

int B2pTSize = NUMELEMS(B2pTable)
static

Definition at line 320 of file b2.c.