My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mod_amp.defs.h
Go to the documentation of this file.
1 /*
2  * mod_amp.defs.h - device definition header
3  *
4  * This is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2, or (at your option)
7  * any later version.
8  *
9  */
10 
11 #ifndef __mod_amp_DEFS_H__
12 #define __mod_amp_DEFS_H__
13 
14 // required properties
15 PROP_REQ [] = {
16  { "GBP", PROP_REAL, { 1e6, PROP_NO_STR }, PROP_MIN_VAL (1) },
17  { "AOLDC", PROP_REAL, { 106.0, PROP_NO_STR }, PROP_MIN_VAL (0.01) },
18  { "FP2", PROP_REAL, { 3e6, PROP_NO_STR }, PROP_MIN_VAL (0.01) },
19  { "RO", PROP_REAL, { 75, PROP_NO_STR }, PROP_MIN_VAL (0.01) },
20  { "CD", PROP_REAL, { 1e-12, PROP_NO_STR }, PROP_MIN_VAL (1e-20) },
21  { "RD", PROP_REAL, { 2e6, PROP_NO_STR }, PROP_MIN_VAL (0.01) },
22  { "IOFF", PROP_REAL, { 20e-9, PROP_NO_STR }, PROP_MIN_VAL (1e-20) },
23  { "IB", PROP_REAL, { 80e-9, PROP_NO_STR }, PROP_MIN_VAL (1e-20) },
24  { "VOFF", PROP_REAL, { 7e-4, PROP_NO_STR }, PROP_MIN_VAL (0) },
25  { "CMRRDC", PROP_REAL, { 90.0, PROP_NO_STR }, PROP_MIN_VAL (1) },
26  { "FCM", PROP_REAL, { 200, PROP_NO_STR }, PROP_MIN_VAL (0.01) },
27  { "PSRT", PROP_REAL, { 5e5, PROP_NO_STR }, PROP_MIN_VAL (1) },
28  { "NSRT", PROP_REAL, { 5e5, PROP_NO_STR }, PROP_MIN_VAL (1) },
29  { "VLIMP", PROP_REAL, { 14, PROP_NO_STR }, PROP_MIN_VAL (0.01) },
30  { "VLIMN", PROP_REAL, { -14, PROP_NO_STR }, PROP_MAX_VAL (0) },
31  { "ILMAX", PROP_REAL, { 35e-3, PROP_NO_STR }, PROP_MIN_VAL (1e-9) },
32  { "CSCALE", PROP_REAL, { 50, PROP_NO_STR }, PROP_MIN_VAL (0) },
33  PROP_NO_PROP };
34 
35 // optional properties
36 PROP_OPT [] = {
37  PROP_NO_PROP };
38 
39 // device definition
40 struct define_t mod_amp::cirdef =
41  { "mod_amp",
43 
44 #endif /* __mod_amp_DEFS_H__ */