From 9159317a0fa27568c9d7a0be320d0decc06cdb64 Mon Sep 17 00:00:00 2001 From: couriers Date: Tue, 4 Mar 2014 09:25:39 +0000 Subject: [PATCH] Fixed netlist opamp example. --- nl_examples/opamp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nl_examples/opamp.c b/nl_examples/opamp.c index 550ac2e770..66b7580612 100644 --- a/nl_examples/opamp.c +++ b/nl_examples/opamp.c @@ -65,11 +65,11 @@ NETLIST_START(opamp) /* The opamp model */ - NETDEV_VCCS(G1) + VCCS(G1) PARAM(G1.G, 100) // typical OP-AMP amplification 100 * 1000 = 100000 RES(RP1, 1000) CAP(CP1, 1.59e-6) // <== change to 1.59e-3 for 10Khz bandwidth - NETDEV_VCVS(EBUF) + VCVS(EBUF) PARAM(EBUF.RO, 50) PARAM(EBUF.G, 1)