summaryrefslogtreecommitdiff
path: root/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub
diff options
context:
space:
mode:
authorVanshika Tanwar2022-11-27 20:05:04 +0530
committerVanshika Tanwar2022-11-27 20:05:04 +0530
commitb28dd80353d10c911983de6b4ede75f74f5bbf8a (patch)
treee868df105278e0f7fd60de3cee142770c39e2f0f /Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub
parent4c767ca8d6f93f4026b7f01ba635f14a3e713a1d (diff)
downloadeSim-b28dd80353d10c911983de6b4ede75f74f5bbf8a.tar.gz
eSim-b28dd80353d10c911983de6b4ede75f74f5bbf8a.tar.bz2
eSim-b28dd80353d10c911983de6b4ede75f74f5bbf8a.zip
Log Amplifier IC
Diffstat (limited to 'Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub')
-rw-r--r--Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub15
1 files changed, 15 insertions, 0 deletions
diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub
new file mode 100644
index 00000000..4fc6b46c
--- /dev/null
+++ b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub
@@ -0,0 +1,15 @@
+* Subcircuit LOG_Amplifier
+.subckt LOG_Amplifier /inp1 /nc /vout /vpos /vneg gnd /nc /inp2
+* c:\fossee\esim\library\subcircuitlibrary\log_amplifier\log_amplifier.cir
+.include lm_741.sub
+.include NPN.lib
+x1 ? /inp1 gnd /vneg ? net-_q1-pad3_ /vpos ? lm_741
+x2 ? /inp2 gnd /vneg ? /vout /vpos ? lm_741
+q1 /inp1 net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+q2 /inp2 gnd net-_q1-pad3_ Q2N2222
+r1 /vout net-_q1-pad2_ 3.2k
+r2 net-_q1-pad2_ gnd 5k
+c1 /vout /inp2 3.4u
+* Control Statements
+
+.ends LOG_Amplifier \ No newline at end of file