summaryrefslogtreecommitdiff
path: root/library/deviceModelLibrary/Switch
diff options
context:
space:
mode:
Diffstat (limited to 'library/deviceModelLibrary/Switch')
-rw-r--r--library/deviceModelLibrary/Switch/switch1.lib3
-rw-r--r--library/deviceModelLibrary/Switch/switch1.xml1
2 files changed, 4 insertions, 0 deletions
diff --git a/library/deviceModelLibrary/Switch/switch1.lib b/library/deviceModelLibrary/Switch/switch1.lib
new file mode 100644
index 00000000..3736c67f
--- /dev/null
+++ b/library/deviceModelLibrary/Switch/switch1.lib
@@ -0,0 +1,3 @@
+*****************Creation of lib file for switch****************************
+
+.model switch1 sw( vt=0.05 vh=1 ron=1 roff=1e12 )
diff --git a/library/deviceModelLibrary/Switch/switch1.xml b/library/deviceModelLibrary/Switch/switch1.xml
new file mode 100644
index 00000000..c38fe559
--- /dev/null
+++ b/library/deviceModelLibrary/Switch/switch1.xml
@@ -0,0 +1 @@
+<library><model_name>sw</model_name><ref_model>switch1</ref_model><param><vt>0.05</vt><vh>1</vh><ron>1</ron><roff>1e12</roff></param></library> \ No newline at end of file