summaryrefslogtreecommitdiff
path: root/Windows/spice/tests/vbic/diffamp.cir
diff options
context:
space:
mode:
Diffstat (limited to 'Windows/spice/tests/vbic/diffamp.cir')
-rw-r--r--Windows/spice/tests/vbic/diffamp.cir47
1 files changed, 47 insertions, 0 deletions
diff --git a/Windows/spice/tests/vbic/diffamp.cir b/Windows/spice/tests/vbic/diffamp.cir
new file mode 100644
index 00000000..cf1b9108
--- /dev/null
+++ b/Windows/spice/tests/vbic/diffamp.cir
@@ -0,0 +1,47 @@
+VBIC DiffAmp Test
+
+V1 VCC 0 3.3
+V2 V2_P R3_N AC 1 DC 0 Sine(0 10m 10Meg 0 0)
+R1 Q3_C 0 100k
+R2 Q4_C 0 100k
+R3 VCC R3_N 1K
+R4 R3_N 0 1K
+Q10 Q1_E I1_N 0 0 N1
+Q11 I1_N I1_N 0 0 N1
+Q12 Q9_B I1_N 0 0 N1 M=2
+Q13 Q5_B I1_N 0 0 N1 M=2
+Q1 Q5_C V2_P Q1_E 0 N1
+Q2 Q6_C R3_N Q1_E 0 N1
+Q3 Q3_C Q9_B Q5_C Q3_C P1
+Q4 Q4_C Q9_B Q6_C Q4_C P1
+I1 VCC I1_N 10u
+Q5 Q5_C Q5_B VCC Q5_C P1
+Q6 Q6_C Q5_B VCC Q6_C P1
+E1 E1_P 0 Q3_C Q4_C 1
+RH E1_P 0 1G
+Q7 Q5_B Q5_B VCC Q5_B P1
+Q8 Q8_B Q8_B VCC Q8_B P1
+Q9 Q9_B Q9_B Q8_B Q9_B P1
+
+.OPTIONS NOACCT
+
+.OP
+.TRAN 1n 1u 0 10n
+.AC DEC 25 100k 1G
+
+.print ac v(e1_p)
+.print tran v(e1_p)
+
+.MODEL N1 NPN LEVEL=4
++ IS=1e-16 IBEI=1e-18 IBEN=5e-15 IBCI=2e-17 IBCN=5e-15 ISP=1e-15 RCX=10
++ RCI=60 RBX=10 RBI=40 RE=2 RS=20 RBP=40 VEF=10 VER=4 IKF=2e-3 ITF=8e-2
++ XTF=20 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