7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2024-11-21 22:25:03 +00:00
kicad/demos/simulation/up-down-counter
Seth Hillbrand d25ac664f8 Adding additional demos
Some simulation demos curtesy of Holger Vogt and a new board design
curtesy of Pat Deegan
2024-01-15 16:52:33 -08:00
..
README Adding additional demos 2024-01-15 16:52:33 -08:00
state-3bit-count.in Adding additional demos 2024-01-15 16:52:33 -08:00
state-machine-3b-count.lib Adding additional demos 2024-01-15 16:52:33 -08:00
up-down-c.kicad_pro Adding additional demos 2024-01-15 16:52:33 -08:00
up-down-c.kicad_sch Adding additional demos 2024-01-15 16:52:33 -08:00
up-down-c.wbk Adding additional demos 2024-01-15 16:52:33 -08:00
up-down.kicad_sym Adding additional demos 2024-01-15 16:52:33 -08:00

Up-Down Counter

This project contains a home-made symbol, a home-made subcircuit counter model, and a mix of digital and analog nodes.

The subcircuit counter model is made by the built-in ngspice/XSPICE state machine.
This is a very simple method to run a programmable sequencer. The 'program'
is contained in file state-3bit-count.in.

Please see chapter 12.4.18 'State Machine' of the ngspice manual for more information.

The digital nodes of the state machine are interfaced to the analog world by D/A bridges.

When plotting the output, we use User-defined signals to allow plotting of
multiple signal vertically without overlap, thus emulating multiple panes.