File: currentswitchmodel.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 (74 lines) | stat: -rw-r--r-- 3,549 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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE caneda>
<!--
********************************************************************************
* Copyright (C) 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 Controlled Switch Model" version="0.1.0" label="S">
    <displaytext>
        <lang lang="C">Current Controlled Switch Model</lang>
        <lang lang="es">Modelo de Llave Controlada por Corriente</lang>
    </displaytext>

    <description>
        <lang lang="C">A semiconductor dissipative device.</lang>
    </description>

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

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

    <properties>
        <property name="IT" default="0" unit="A" visible="false">
            <description>
                <lang lang="C">Threshold current.</lang>
            </description>
        </property>
        <property name="IH" default="0" unit="A" visible="false">
            <description>
                <lang lang="C">Hysteresis current.</lang>
            </description>
        </property>
        <property name="RON" default="1" unit="Ω" visible="false">
            <description>
                <lang lang="C">ON resistance value.</lang>
            </description>
        </property>
        <property name="ROFF" default="1e12" unit="Ω" visible="false">
            <description>
                <lang lang="C">OFF resistance value.</lang>
            </description>
        </property>
        <property name="model" default="CurrentSwitchModel" unit="" visible="true">
            <description>
                <lang lang="C">Device model.</lang>
                <lang lang="es">Modelo del dispositivo.</lang>
            </description>
        </property>
    </properties>

    <models>
        <model type="spice" syntax="%model{%property{model} CSW ( IT=%property{IT} IH=%property{IH} RON=%property{RON} ROFF=%property{ROFF} )}"/>
    </models>
</component>