summaryrefslogtreecommitdiff
path: root/library/SubcircuitLibrary/LOG_100/LOG100.sub
diff options
context:
space:
mode:
authorAditya Minocha2024-08-25 20:32:50 +0530
committerGitHub2024-08-25 20:32:50 +0530
commit80c18ab21a75c2193fe867f6fc8ac23bbb559d59 (patch)
tree95612eb2768daab4be47b5e57c9cdd09e7621461 /library/SubcircuitLibrary/LOG_100/LOG100.sub
parent55568c864d1f19971c15c27df999ea161a07f366 (diff)
downloadeSim-80c18ab21a75c2193fe867f6fc8ac23bbb559d59.tar.gz
eSim-80c18ab21a75c2193fe867f6fc8ac23bbb559d59.tar.bz2
eSim-80c18ab21a75c2193fe867f6fc8ac23bbb559d59.zip
LOG100 IC - Logarithmic Amplifier
Diffstat (limited to 'library/SubcircuitLibrary/LOG_100/LOG100.sub')
-rw-r--r--library/SubcircuitLibrary/LOG_100/LOG100.sub17
1 files changed, 17 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/LOG_100/LOG100.sub b/library/SubcircuitLibrary/LOG_100/LOG100.sub
new file mode 100644
index 00000000..b177f945
--- /dev/null
+++ b/library/SubcircuitLibrary/LOG_100/LOG100.sub
@@ -0,0 +1,17 @@
+* Subcircuit LOG100
+.subckt LOG100 net-_q1-pad1_ net-_q1-pad2_ net-_r3-pad1_ net-_r4-pad1_ net-_r5-pad1_ net-_u1-pad6_ net-_u1-pad7_ gnd net-_u1-pad9_ gnd gnd gnd gnd net-_q2-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\log100\log100.cir
+.include CA3240_OP.sub
+.include NPN.lib
+x1 net-_q1-pad3_ net-_q1-pad1_ gnd net-_u1-pad9_ net-_u1-pad6_ CA3240_OP
+x2 net-_u1-pad7_ net-_q2-pad1_ gnd net-_u1-pad9_ net-_u1-pad6_ CA3240_OP
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+q2 net-_q2-pad1_ gnd net-_q1-pad3_ Q2N2222
+r2 net-_r1-pad2_ net-_q1-pad2_ 270
+r1 gnd net-_r1-pad2_ 220
+r3 net-_r3-pad1_ net-_q1-pad2_ 7.5k
+r4 net-_r4-pad1_ net-_q1-pad2_ 24k
+r5 net-_r5-pad1_ net-_q1-pad2_ 39k
+* Control Statements
+
+.ends LOG100 \ No newline at end of file