Digital Adders and Wider Muxes

Jan 14 2021, 2:55 PM PST · 0 comments »

Today we’re launching six new digital combinational gates, now available in your CircuitLab toolbox. These pair well with our recent Quick Toggle feature allowing you to rapidly do digital simulations.

Four new gates are binary adders: a full adder, half adder (no carry input), 4-bit adder, and 8-bit adder:

These can be used for making counters or even an Arithmetic Logic Unit (ALU) of a small CPU.

For example, check out this simulation where we use the 4-bit adder to create a counter which counts up from 0 to 15 before overflowing:

Click to open the circuit above and try the simulation. Can you modify the circuit to increment by 3 instead?

The other two new gates are wider muxes with 4 and 8 data inputs (and 2 and 3 control inputs, respectively):

This allows you to more compactly express higher-bit-width multiplexers without needing to wire up trees of CircuitLab’s old 2x1 muxes.

The new gates are available to all users immediately. This adds to CircuitLab’s existing digital simulation features, bringing us to 5 different types of flip-flops plus 21 different combinational logic gates.


No comments yet. Be the first!

Leave a Comment

Please sign in or create an account to comment.

About CircuitLab

CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.