File: currentsourceexponential.xsym

package info (click to toggle)
caneda 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,764 kB
  • sloc: cpp: 16,593; vhdl: 236; xml: 61; ansic: 18; makefile: 9
file content (94 lines) | stat: -rw-r--r-- 4,180 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE caneda>
<!--
 ***************************************************************************
 * Copyright (C) 2014-2015 by Pablo Daniel Pareja Obregon                  *
 *                                                                         *
 * This is free software; you can redistribute it and/or modify            *
 * it under the terms of the GNU General Public License as published by    *
 * the Free Software Foundation; either version 2, or (at your option)     *
 * any later version.                                                      *
 *                                                                         *
 * This software is distributed in the hope that it will be useful,        *
 * but WITHOUT ANY WARRANTY; without even the implied warranty of          *
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           *
 * GNU General Public License for more details.                            *
 *                                                                         *
 * You should have received a copy of the GNU General Public License       *
 * along with this package; see the file COPYING.  If not, write to        *
 * the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,   *
 * Boston, MA 02110-1301, USA.                                             *
 ***************************************************************************
-->

<component name="Current Source Exponential" version="0.1.0" label="I">

    <displaytext>
        <lang lang="C">Exponential Current Source</lang>
        <lang lang="es">Fuente de Corriente Exponencial</lang>
    </displaytext>

    <description>
        <lang lang="C">An exponencial current source device</lang>
    </description>

    <symbol>
        <painting name="ellipse" ellipse="0,0,40,40" pos="-20,-20" transform="1,0,0,1,0,0"/>

        <painting name="line" line="0,0,0,10" pos="0,20" transform="1,0,0,1,0,0"/>
        <painting name="line" line="0,0,0,-10" pos="0,-20" transform="1,0,0,1,0,0"/>

        <painting name="line" line="0,0,0,-20" pos="0,10" transform="1,0,0,1,0,0"/>
        <painting name="line" line="0,0,5,-5" pos="0,10" transform="1,0,0,1,0,0"/>
        <painting name="line" line="0,0,-5,-5" pos="0,10" transform="1,0,0,1,0,0"/>

        <painting name="ellipseArc" ellipse="0,0,20,20" pos="30,-7" transform="1,0,0,1,0,0">
            <properties startAngle="180" spanAngle="-90"/>
        </painting>
        <painting name="ellipseArc" ellipse="0,0,20,20" pos="40,-17" transform="1,0,0,1,0,0">
            <properties startAngle="180" spanAngle="90"/>
        </painting>
    </symbol>

    <ports>
        <port name="+" pos="0,-30"/>
        <port name="-" pos="0,30"/>
    </ports>

   <properties>
         <property name="I1" default="0" unit="A" visible="false">
           <description>
             <lang lang="C">Initial current value.</lang>
           </description>
         </property>
         <property name="I2" default="1m" unit="A" visible="true">
           <description>
             <lang lang="C">Pulsed current value.</lang>
           </description>
         </property>
         <property name="td1" default="0" unit="s" visible="false">
           <description>
             <lang lang="C">Rise delay time.</lang>
           </description>
         </property>
         <property name="tau1" default="1m" unit="s" visible="true">
           <description>
             <lang lang="C">Rise time constant.</lang>
           </description>
         </property>
         <property name="td2" default="4m" unit="s" visible="true">
           <description>
             <lang lang="C">Fall delay time.</lang>
           </description>
         </property>
         <property name="tau2" default="2m" unit="s" visible="true">
           <description>
             <lang lang="C">Fall time constant.</lang>
           </description>
         </property>
   </properties>

    <models>
        <model type="spice" syntax="I%label %port{+} %port{-} EXP( %property{I1} %property{I2} %property{td1} %property{tau1} %property{td2} %property{tau2} )"/>
    </models>
</component>