summaryrefslogtreecommitdiff
path: root/library/deviceModelLibrary/Switch
diff options
context:
space:
mode:
authordilipboidya2022-08-11 17:21:27 +0530
committerdilipboidya2022-08-11 17:21:27 +0530
commit7f6a5a325b23e6818acb89d2b147387b4b441d63 (patch)
tree6095386a1b164f4fbd243b307485c093ab9a11df /library/deviceModelLibrary/Switch
parentb973e4d4ebc094e45d13d02d2c587f6db2553bdb (diff)
downloadeSim-7f6a5a325b23e6818acb89d2b147387b4b441d63.tar.gz
eSim-7f6a5a325b23e6818acb89d2b147387b4b441d63.tar.bz2
eSim-7f6a5a325b23e6818acb89d2b147387b4b441d63.zip
Added the Device Models
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