01 // PROJECT AT A GLANCE
NANOTEKSPICE
C++Simulating digital electronics: from logic gates to complex components.
The program reads the description of an electronic circuit — which components, wired how — and computes what comes out of each pin. You start from elementary logic gates and reach real components referenced by their part number, up to complete circuits able to count or to remember.
A logic circuit simulator in C++: parsing a description format, a component graph, state propagation and undefined state handling.
PRIMARYC++
DELIVERYTEAM RECORD
VERIFICATIONmake
SOURCEINSPECTOR READY
03 // KEY OUTCOMES
- Three-state logic with the undefined value propagating through the whole graph
- A generic factory: the graph only ever handles the nts::IComponent interface
- Thirteen packages of the 4000 series simulated, up to RAM and a ROM loaded from a binary file
BEYOND THE BRIEF
- A component catalogue markedly wider than the required minimum, including the 2716 ROM and the 4094 shift register
- A dump command printing each component's internal state, useful when debugging a circuit
04 // SOURCE TREE
READING SOURCE…