196 lines
5.1 KiB
Plaintext
196 lines
5.1 KiB
Plaintext
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")
|
|
)
|
|
);
|