From b28dd80353d10c911983de6b4ede75f74f5bbf8a Mon Sep 17 00:00:00 2001 From: Vanshika Tanwar Date: Sun, 27 Nov 2022 20:05:04 +0530 Subject: Log Amplifier IC --- Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub (limited to 'Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub') 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 -- cgit