Skip to content

Commit

Permalink
Fixed netlist opamp example.
Browse files Browse the repository at this point in the history
  • Loading branch information
couriers committed Mar 4, 2014
1 parent 8b493ef commit 9159317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nl_examples/opamp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 9159317

Please sign in to comment.