Added JFET component with 1 model
This commit is contained in:
@@ -0,0 +1,195 @@
|
||||
create_item
|
||||
(
|
||||
"mr_jfet_n", // name
|
||||
"JFET Transistor, N", // label
|
||||
"Q", // prefix
|
||||
0, // attributes
|
||||
NULL, // priority
|
||||
NULL, // icon name
|
||||
standard_dialog, // dialog name
|
||||
"*", // dialog data
|
||||
CmpModelNetlistFmt, // netlist format string
|
||||
"JFET", // netlist data (model name)
|
||||
ComponentAnnotFmt, // display format string
|
||||
NULL, // symbol name (not used)
|
||||
NULL, // artwork type (not used)
|
||||
NULL, // artwork data (not used)
|
||||
ITEM_PRIMITIVE_EX, // extra attributes
|
||||
|
||||
create_parm
|
||||
(
|
||||
"Model",
|
||||
"Model instance name",
|
||||
0,
|
||||
"StdFileFormSet",
|
||||
UNITLESS_UNIT,
|
||||
prm("StdForm","")
|
||||
),
|
||||
|
||||
create_parm
|
||||
(
|
||||
"Area",
|
||||
"Scaling Factor, (default: 1.0)",
|
||||
PARM_OPTIMIZABLE | PARM_STATISTICAL | PARM_NO_DISPLAY,
|
||||
"StdFileFormSet",
|
||||
UNITLESS_UNIT,
|
||||
prm("StdForm","")
|
||||
),
|
||||
|
||||
create_parm
|
||||
(
|
||||
"Region",
|
||||
"DC operating region, 0=off, 1=on, 2=rev, 3=sat, (default: on)",
|
||||
PARM_NO_DISPLAY,
|
||||
"StdFileFormSet",
|
||||
UNITLESS_UNIT,
|
||||
prm("StdForm","1")
|
||||
),
|
||||
|
||||
create_parm
|
||||
(
|
||||
"Temp",
|
||||
"Device operating temperature, (default: 25)",
|
||||
PARM_OPTIMIZABLE | PARM_STATISTICAL | PARM_NO_DISPLAY,
|
||||
"StdFileFormSet",
|
||||
TEMPERATURE_UNIT,
|
||||
prm("StdForm","25")
|
||||
),
|
||||
|
||||
create_parm
|
||||
(
|
||||
"Trise",
|
||||
"Temperature rise over ambient",
|
||||
PARM_OPTIMIZABLE | PARM_STATISTICAL | PARM_NO_DISPLAY,
|
||||
"StdFileFormSet",
|
||||
TEMPERATURE_UNIT,
|
||||
prm("StdForm","0")
|
||||
),
|
||||
|
||||
create_parm
|
||||
(
|
||||
"Mode",
|
||||
"Simulation Mode for This Device, (default: NONLINEAR)",
|
||||
PARM_NO_DISPLAY,
|
||||
"simtype_mode",
|
||||
UNITLESS_UNIT,
|
||||
prm("simtype_nonlin","")
|
||||
),
|
||||
|
||||
create_parm
|
||||
(
|
||||
"Noise",
|
||||
"Noise generation option; yes=1, no=0 ( default: yes ) ",
|
||||
PARM_NO_DISPLAY,
|
||||
"sim_enum_on_off_list_form",
|
||||
UNITLESS_UNIT,prm("Yes","yes")
|
||||
),
|
||||
|
||||
create_parm
|
||||
(
|
||||
"_M",
|
||||
"Number of devices in parallel, (default: 1)",
|
||||
PARM_NO_DISPLAY,
|
||||
"StdFileFormSet",
|
||||
UNITLESS_UNIT,
|
||||
prm("StdForm","1")
|
||||
)
|
||||
);
|
||||
|
||||
create_item
|
||||
(
|
||||
"mr_jfet_p", // name
|
||||
"JFET Transistor, P", // label
|
||||
"Q", // prefix
|
||||
0, // attributes
|
||||
NULL, // priority
|
||||
NULL, // icon name
|
||||
standard_dialog, // dialog name
|
||||
"*", // dialog data
|
||||
CmpModelNetlistFmt, // netlist format string
|
||||
"JFET", // netlist data (model name)
|
||||
ComponentAnnotFmt, // display format string
|
||||
NULL, // symbol name (not used)
|
||||
NULL, // artwork type (not used)
|
||||
NULL, // artwork data (not used)
|
||||
ITEM_PRIMITIVE_EX, // extra attributes
|
||||
|
||||
create_parm
|
||||
(
|
||||
"Model",
|
||||
"Model instance name",
|
||||
0,
|
||||
"StdFileFormSet",
|
||||
UNITLESS_UNIT,
|
||||
prm("StdForm","")
|
||||
),
|
||||
|
||||
create_parm
|
||||
(
|
||||
"Area",
|
||||
"Scaling Factor, (default: 1.0)",
|
||||
PARM_OPTIMIZABLE | PARM_STATISTICAL | PARM_NO_DISPLAY,
|
||||
"StdFileFormSet",
|
||||
UNITLESS_UNIT,
|
||||
prm("StdForm","")
|
||||
),
|
||||
|
||||
create_parm
|
||||
(
|
||||
"Region",
|
||||
"DC operating region, 0=off, 1=on, 2=rev, 3=ohmic, (default: on)",
|
||||
PARM_NO_DISPLAY,
|
||||
"StdFileFormSet",
|
||||
UNITLESS_UNIT,
|
||||
prm("StdForm","1")
|
||||
),
|
||||
|
||||
create_parm
|
||||
(
|
||||
"Temp",
|
||||
"Device operating temperature, (default: 25)",
|
||||
PARM_OPTIMIZABLE | PARM_STATISTICAL | PARM_NO_DISPLAY,
|
||||
"StdFileFormSet",
|
||||
TEMPERATURE_UNIT,
|
||||
prm("StdForm","")
|
||||
),
|
||||
|
||||
create_parm
|
||||
(
|
||||
"Trise",
|
||||
"Temperature rise over ambient",
|
||||
PARM_OPTIMIZABLE | PARM_STATISTICAL | PARM_NO_DISPLAY,
|
||||
"StdFileFormSet",
|
||||
TEMPERATURE_UNIT,
|
||||
prm("StdForm","0")
|
||||
),
|
||||
|
||||
create_parm
|
||||
(
|
||||
"Mode",
|
||||
"Simulation Mode for This Device, (default: NONLINEAR)",
|
||||
PARM_NO_DISPLAY,
|
||||
"simtype_mode",
|
||||
UNITLESS_UNIT,
|
||||
prm("simtype_nonlin","")
|
||||
),
|
||||
|
||||
create_parm
|
||||
(
|
||||
"Noise",
|
||||
"Noise generation option; yes=1, no=0 ( default: yes ) ",
|
||||
PARM_NO_DISPLAY,
|
||||
"sim_enum_on_off_list_form",
|
||||
UNITLESS_UNIT,prm("Yes","yes")
|
||||
),
|
||||
|
||||
create_parm
|
||||
(
|
||||
"_M",
|
||||
"Number of devices in parallel, (default: 1)",
|
||||
PARM_NO_DISPLAY,
|
||||
"StdFileFormSet",
|
||||
UNITLESS_UNIT,
|
||||
prm("StdForm","1")
|
||||
)
|
||||
);
|
||||
@@ -0,0 +1,19 @@
|
||||
define BF245B_PLP(1 2 3)
|
||||
|
||||
BF245B :J 1 2 3
|
||||
|
||||
model BF245B JFET \
|
||||
NFET = yes \
|
||||
PFET = no \
|
||||
Vto = -4.10850E+000 \
|
||||
Beta = 1.09045E-003 \
|
||||
Lambda = 2.31754E-002 \
|
||||
Rd = 7.77648E+000 \
|
||||
Rs = 7.77648E+000 \
|
||||
Is = 2.59121E-016 \
|
||||
Cgs = 2.00000E-012 \
|
||||
Cgd = 2.20000E-012 \
|
||||
Pb = 9.91494E-001 \
|
||||
Fc = 5.00000E-001
|
||||
|
||||
end BF245B_PLP
|
||||
@@ -43,5 +43,6 @@ load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "mrmodels_include"));
|
||||
|
||||
load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "mr/mr_resistor" ));
|
||||
load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "mr/mr_bjt" ));
|
||||
load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "mr/mr_jfet" ));
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
-- Master.tag File, Rev:1.0
|
||||
symbol.oa
|
||||
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
-- Master.tag File, Rev:1.0
|
||||
symbol.oa
|
||||
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
-- Master.tag File, Rev:1.0
|
||||
sch.oa
|
||||
Binary file not shown.
Reference in New Issue
Block a user