My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
log_amp.defs.h
Go to the documentation of this file.
1 /*
2  * log_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 __log_amp_DEFS_H__
12 #define __log_amp_DEFS_H__
13 
14 // required properties
15 PROP_REQ [] = {
16  { "Kv", PROP_REAL, { 1.0, PROP_NO_STR }, PROP_NO_RANGE },
17  { "Dk", PROP_REAL, { 0.3, PROP_NO_STR }, PROP_RNGII (-100, 100) },
18  { "Ib1", PROP_REAL, { 5e-12, PROP_NO_STR }, PROP_NO_RANGE },
19  { "Ibr", PROP_REAL, { 5e-12, PROP_NO_STR }, PROP_NO_RANGE },
20  { "M", PROP_REAL, { 5, PROP_NO_STR }, PROP_MIN_VAL (1) },
21  { "N", PROP_REAL, { 0.1, PROP_NO_STR }, PROP_RNGII (0, 100) },
22  { "Vosout", PROP_REAL, { 3e-3, PROP_NO_STR }, PROP_NO_RANGE },
23  { "Rinp", PROP_REAL, { 1e6, PROP_NO_STR }, PROP_MIN_VAL (1) },
24  { "Fc", PROP_REAL, { 1e3, PROP_NO_STR }, PROP_MIN_VAL (1) },
25  { "Ro", PROP_REAL, { 1e-3, PROP_NO_STR }, PROP_MIN_VAL (1e-3) },
26  { "Ntc", PROP_REAL, { 0.002, PROP_NO_STR }, PROP_RNGII (-100, 100) },
27  { "Vosouttc", PROP_REAL, { 80e-6, PROP_NO_STR }, PROP_NO_RANGE },
28  { "Dktc", PROP_REAL, { 0.03, PROP_NO_STR }, PROP_RNGII (-100, 100) },
29  { "Ib1tc", PROP_REAL, { 0.5e-12, PROP_NO_STR }, PROP_NO_RANGE },
30  { "Ibrtc", PROP_REAL, { 0.5e-12, PROP_NO_STR }, PROP_NO_RANGE },
31  { "Tnom", PROP_REAL, { 26.85, PROP_NO_STR }, PROP_MIN_VAL (-273) },
32  PROP_NO_PROP };
33 
34 // optional properties
35 PROP_OPT [] = {
36  { "Temp", PROP_REAL, { 26.85, PROP_NO_STR }, PROP_MIN_VAL (K) },
37  PROP_NO_PROP };
38 
39 // device definition
40 struct define_t log_amp::cirdef =
41  { "log_amp",
43 
44 #endif /* __log_amp_DEFS_H__ */