binary-circuit

1.0.0 • Public • Published

Logic Circuit Simulator

Object oriented logic circuit simulator.
It can simulate stored states like SR flip flop, as well as normal one way composition operations.
So far the most complex thing that I have built with it is a 32 bit integer adder.
1 means 1, 0 means 0, and 2 means error in the output.

Major Methods

Gate.getOutputValues();
CompositeGate.setInputValues(array);

Example

Refer to test.js

/binary-circuit/

    Package Sidebar

    Install

    npm i binary-circuit

    Weekly Downloads

    4

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    12 kB

    Total Files

    4

    Last publish

    Collaborators

    • martian17