diff options
author | 2019-03-25 23:13:40 +0100 | |
---|---|---|
committer | 2019-03-25 23:13:40 +0100 | |
commit | b380514764cf857469bae61c11143a19f79a74c5 (patch) | |
tree | 63c8012e262618f08a332da31dd714281aa2c5ed /nl_examples/cmos_inverter.cpp | |
parent | c24473ddff715ecec2e258a6eb38960cf8c8e98e (diff) |
Revert "conflict resolution (nw)"
This reverts commit c24473ddff715ecec2e258a6eb38960cf8c8e98e, reversing
changes made to 009cba4fb8102102168ef32870892438327f3705.
Diffstat (limited to 'nl_examples/cmos_inverter.cpp')
-rw-r--r-- | nl_examples/cmos_inverter.cpp | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/nl_examples/cmos_inverter.cpp b/nl_examples/cmos_inverter.cpp deleted file mode 100644 index e0936bfd3bc..00000000000 --- a/nl_examples/cmos_inverter.cpp +++ /dev/null @@ -1,42 +0,0 @@ -// license:GPL-2.0+ -// copyright-holders:Couriersud -/* - * bjt.c - * - */ - - -#include "netlist/devices/net_lib.h" -#include "netlist/analog/nld_twoterm.h" - -NETLIST_START(cmos_inverter) - /* Standard stuff */ - - SOLVER(Solver, 48000) - PARAM(Solver.ACCURACY, 1e-7) - PARAM(Solver.NR_LOOPS, 5000) - PARAM(Solver.METHOD, "MAT_CR") - ANALOG_INPUT(V5, 5) - - VS(IN, 5) - PARAM(IN.FUNC, "T 5 *") - - MOSFET(P, "PMOS(VTO=-1.0 KP=2e-3 LAMBDA=2E-2)") - MOSFET(M, "NMOS(VTO=1.0 KP=2e-3 LAMBDA=2E-2)") - - NET_C(P.S, V5) - NET_C(P.D, M.D) - NET_C(GND, M.S, IN.N) - - NET_C(IN.P, M.G, P.G) - - // capacitance over D - S -#if 0 - CAP(C, CAP_N(1)) - NET_C(M.D, C.1) - NET_C(M.S, C.2) -#endif - LOG(log_G, M.G) - LOG(log_D, M.D) - -NETLIST_END() |