From 51516efbe9e880e4c3b80f0f4e8c69266745ffa0 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Thu, 5 Jan 2023 16:55:13 +0100 Subject: [PATCH] Example for OTA code model --- examples/xspice/various/ota-test1.cir | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 examples/xspice/various/ota-test1.cir diff --git a/examples/xspice/various/ota-test1.cir b/examples/xspice/various/ota-test1.cir new file mode 100644 index 000000000..b7c01bf09 --- /dev/null +++ b/examples/xspice/various/ota-test1.cir @@ -0,0 +1,21 @@ +Test of OTA simple + +Aota 1 2 0 0 0 0 7 0 newota +.model newota ota(g=1m ioffset=200u) + +V1 1 0 1 +V2 2 0 0 +V3 3 0 1 +V4 4 0 0 + +Rload 7 0 1 + + +.dc V1 -1 1 0.1 + +.control +run +plot v(7) +.endc + +.end