diff options
| author | 2014-03-04 09:25:39 +0000 | |
|---|---|---|
| committer | 2014-03-04 09:25:39 +0000 | |
| commit | b50d6fff9ddece0e8d11162799d5db9e5421e759 (patch) | |
| tree | f1ebdcd4a259f00c1218b7fcd3d4d345b1ecb25c /nl_examples | |
| parent | 0d16fc4fc2af2a35472f4981b9b53616c440a30f (diff) | |
Fixed netlist opamp example.
Diffstat (limited to 'nl_examples')
| -rw-r--r-- | nl_examples/opamp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nl_examples/opamp.c b/nl_examples/opamp.c index 550ac2e7708..66b7580612d 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) |
