Added palette JFET opamp
This commit is contained in:
@@ -0,0 +1,190 @@
|
||||
// (setq tab-width 4)
|
||||
//decl diode_va_ModelNetlistFmt = "%43?global %;model %t diode_va %b%r%8?%29?%:%30?%p %:%k%?[%1i]%;=%p %;%;%;%e%e";
|
||||
|
||||
create_item(
|
||||
"mr_triode", // name
|
||||
"Verilog-A implementation of Triode", // label
|
||||
"T", // prefix
|
||||
0, // attributes
|
||||
NULL, // priority
|
||||
NULL, // icon
|
||||
|
||||
standard_dialog, // dialog name
|
||||
"", // dialog data
|
||||
|
||||
CmpModelNetlistFmt, // netlist format
|
||||
"", // netlist data
|
||||
|
||||
ComponentAnnotFmt, // display format string
|
||||
|
||||
NULL, // symbol name (not used since 2011)
|
||||
NULL, // artwork type (not used since 2011)
|
||||
NULL, // artwork data (not used since 2011)
|
||||
|
||||
ITEM_PRIMITIVE_EX, // extra attributes
|
||||
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// Model
|
||||
// ------------------------------------------------------------------------
|
||||
create_parm
|
||||
(
|
||||
"Model",
|
||||
"Model instance name",
|
||||
0,
|
||||
"StdFileFormSet",
|
||||
UNITLESS_UNIT,
|
||||
prm("StdForm","mr_triode")
|
||||
),
|
||||
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// Kp
|
||||
// ------------------------------------------------------------------------
|
||||
create_parm
|
||||
(
|
||||
"Kp",
|
||||
"Perveance of the triode",
|
||||
PARM_NO_DISPLAY |
|
||||
PARM_OPTIMIZABLE |
|
||||
PARM_STATISTICAL,
|
||||
"StdFileFormSet",
|
||||
UNITLESS_UNIT,
|
||||
prm("StdForm","")
|
||||
),
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// smallKp
|
||||
// ------------------------------------------------------------------------
|
||||
create_parm
|
||||
(
|
||||
"smallKp",
|
||||
"Fitting parameter",
|
||||
PARM_NO_DISPLAY |
|
||||
PARM_OPTIMIZABLE |
|
||||
PARM_STATISTICAL,
|
||||
"StdFileFormSet",
|
||||
UNITLESS_UNIT,
|
||||
prm("StdForm","")
|
||||
),
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// Kvb
|
||||
// ------------------------------------------------------------------------
|
||||
create_parm
|
||||
(
|
||||
"kvb",
|
||||
"fitting parameter",
|
||||
PARM_NO_DISPLAY |
|
||||
PARM_OPTIMIZABLE |
|
||||
PARM_STATISTICAL,
|
||||
"StdFileFormSet",
|
||||
UNITLESS_UNIT,
|
||||
prm("StdForm","")
|
||||
),
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// mu
|
||||
// ------------------------------------------------------------------------
|
||||
create_parm
|
||||
(
|
||||
"mu",
|
||||
"amplification factor",
|
||||
PARM_NO_DISPLAY |
|
||||
PARM_OPTIMIZABLE |
|
||||
PARM_STATISTICAL,
|
||||
"StdFileFormSet",
|
||||
UNITLESS_UNIT,
|
||||
prm("StdForm","")
|
||||
),
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// X
|
||||
// ------------------------------------------------------------------------
|
||||
create_parm
|
||||
(
|
||||
"X",
|
||||
"Fitting parameter",
|
||||
PARM_NO_DISPLAY |
|
||||
PARM_OPTIMIZABLE |
|
||||
PARM_STATISTICAL,
|
||||
"StdFileFormSet",
|
||||
UNITLESS_UNIT,
|
||||
prm("StdForm","")
|
||||
),
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// cgc
|
||||
// ------------------------------------------------------------------------
|
||||
create_parm
|
||||
(
|
||||
"cgc",
|
||||
"Grid-Cathode capacitance",
|
||||
PARM_NO_DISPLAY |
|
||||
PARM_OPTIMIZABLE |
|
||||
PARM_STATISTICAL,
|
||||
"StdFileFormSet",
|
||||
CAPACITANCE_UNIT,
|
||||
prm("StdForm","")
|
||||
),
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// cga
|
||||
// ------------------------------------------------------------------------
|
||||
create_parm
|
||||
(
|
||||
"cga",
|
||||
"Grid-Anode capacitance",
|
||||
PARM_NO_DISPLAY |
|
||||
PARM_OPTIMIZABLE |
|
||||
PARM_STATISTICAL,
|
||||
"StdFileFormSet",
|
||||
CAPACITANCE_UNIT,
|
||||
prm("StdForm","")
|
||||
),
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// cac
|
||||
// ------------------------------------------------------------------------
|
||||
create_parm
|
||||
(
|
||||
"cac",
|
||||
"Anode-Cathode capacitance",
|
||||
PARM_NO_DISPLAY |
|
||||
PARM_OPTIMIZABLE |
|
||||
PARM_STATISTICAL,
|
||||
"StdFileFormSet",
|
||||
CAPACITANCE_UNIT,
|
||||
prm("StdForm","")
|
||||
),
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// Tcathode
|
||||
// ------------------------------------------------------------------------
|
||||
create_parm
|
||||
(
|
||||
"Tchatode",
|
||||
"Cathode temperature (noise analysis only)",
|
||||
PARM_NO_DISPLAY |
|
||||
PARM_OPTIMIZABLE |
|
||||
PARM_STATISTICAL,
|
||||
"StdFileFormSet",
|
||||
TEMPERATURE_UNIT,
|
||||
prm("StdForm","")
|
||||
),
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// gm
|
||||
// ------------------------------------------------------------------------
|
||||
create_parm
|
||||
(
|
||||
"gm",
|
||||
"Transconductance (noise analysis only)",
|
||||
PARM_NO_DISPLAY |
|
||||
PARM_OPTIMIZABLE |
|
||||
PARM_STATISTICAL,
|
||||
"StdFileFormSet",
|
||||
UNITLESS_UNIT,
|
||||
prm("StdForm","")
|
||||
)
|
||||
);
|
||||
Reference in New Issue
Block a user