summaryrefslogtreecommitdiff
path: root/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.sub
diff options
context:
space:
mode:
authorRahul P2023-06-13 18:21:12 +0530
committerGitHub2023-06-13 18:21:12 +0530
commit3436aa4615dcc1310db8dc8a85f36418db641fb4 (patch)
treee9cf9d33ed2c137f3ac463c7b272e27fe23be75d /library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.sub
parent172debd60ec1bae09c6b9c9180a388628e819909 (diff)
parent9a5f3dabc357277b384c51ccf047f5580772f454 (diff)
downloadeSim-3436aa4615dcc1310db8dc8a85f36418db641fb4.tar.gz
eSim-3436aa4615dcc1310db8dc8a85f36418db641fb4.tar.bz2
eSim-3436aa4615dcc1310db8dc8a85f36418db641fb4.zip
Merge branch 'master' into sky130-dev
Diffstat (limited to 'library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.sub')
-rw-r--r--library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.sub21
1 files changed, 21 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.sub b/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.sub
new file mode 100644
index 00000000..dc6cb480
--- /dev/null
+++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.sub
@@ -0,0 +1,21 @@
+* Subcircuit TINA_TI_Rectifier
+.subckt TINA_TI_Rectifier /vin /vneg /vout /vpos
+* c:\fossee\esim\library\subcircuitlibrary\tina_ti_rectifier\tina_ti_rectifier.cir
+.include lm_741.sub
+.include D.lib
+x1 ? net-_c1-pad1_ /vin /vneg ? net-_c1-pad2_ /vpos ? lm_741
+x2 ? net-_r2-pad1_ net-_d2-pad2_ /vneg ? /vout /vpos ? lm_741
+r1 /vin gnd 49.9
+r3 net-_d2-pad2_ gnd 1k
+d2 net-_c1-pad2_ net-_d2-pad2_ 1N4148
+d1 net-_c1-pad1_ net-_c1-pad2_ 1N4148
+c1 net-_c1-pad1_ net-_c1-pad2_ 47p
+r2 net-_r2-pad1_ net-_c1-pad1_ 1k
+r4 /vout net-_r2-pad1_ 1k
+c3 /vpos gnd 100p
+c5 /vpos gnd 100n
+c2 /vneg gnd 100p
+c4 /vneg gnd 100n
+* Control Statements
+
+.ends TINA_TI_Rectifier \ No newline at end of file