diff options
author | 2016-05-31 23:49:55 +0200 | |
---|---|---|
committer | 2016-06-07 21:44:15 +0200 | |
commit | 81880659d23b36598f498e32f24fd6a4cecbd80b (patch) | |
tree | d7cd226d8335ba06fab273b1616231881ecfe766 /nl_examples/cdelay.c | |
parent | 3d3f5761f0b0419581762f72ea0984e047d3e55c (diff) |
- More code cleanup.
- Dead code removal and minor refactoring.
- Simplify. Align naming with stl. Fix somed pedantic warnings.
- More STL compatability.
- Remove ATTR_HOT and ATTR_COLD. Refactored netlist_time.
- Fix long standing workaround which would ignore policy of change-only"
propagation.
- Rewrote for loops to use auto : semantics.
- Truthtable cleanup. (nw)
- Get rid of nl_math. Remove nl_util.h and moved contents to
plib/putil.h.
- Fix standalone build. Refactor ptypes.h.
[Couriersud]
Diffstat (limited to 'nl_examples/cdelay.c')
-rw-r--r-- | nl_examples/cdelay.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nl_examples/cdelay.c b/nl_examples/cdelay.c index 6f396e8ca07..927a7cfe0a4 100644 --- a/nl_examples/cdelay.c +++ b/nl_examples/cdelay.c @@ -7,6 +7,17 @@ #include "netlist/devices/net_lib.h" +NETLIST_START(perf) + + SOLVER(Solver, 48000) + PARAM(Solver.ACCURACY, 1e-20) + MAINCLOCK(clk, 50000000) + + TTL_7400_NAND(n1,clk,clk) + +NETLIST_END() + + NETLIST_START(7400_astable) /* |