EveryCircuit
Contact
Reviews
Home
Niick19
modified 1 year ago

Programmable Truth Table

2
1
314
02:51:33
This circuit can programming any truth table for 2 bits input. Canonical normal form: Any Boolean function can be expressed in the canonical disjunctive normal form, minterm canonical form, or Sum of Products (SoP or SOP) as a disjunction (OR) of minterms.  2 inputs can generate a 4 bit number representing the Truth Table for theses inputs. You can sum this number to get another expression. A number of n bits can generate 2^(2^n) Boolean functions. This circuit can make every sum of products for 2 bits generating any Boolean function. You need to set the inputs from each cell individually and close the switch that allows the sum of the cells Exemple: The half adder truth table for the s output can be represented with the following miniterms: (a*!b) + (!a*b) a b s 0 0 0 0 1 1 1 0 1 1 1 0 For cout we have: (a*b) a b cout 0 0 0 0 1 0 1 0 0 1 1 1 If we wants to representing a truth table that put 1 on the first and the last rows, we could do: (!a*!b) + (a*b) It's like we are saying "put 1 on the rows 00 and 11". So, !a*!b is the row 00, !a*b 01, a*!b 10... To make a half adder truth table for s output in this circuit, close the first two switches to activate the cells and set respectively 10 and 01 in each cell. See more on: https://en.m.wikipedia.org/wiki/Canonical_normal_form
published 1 year ago
Redstone_guy
1 year ago
Here is one that is programmable for 4 bits of input: https://everycircuit.com/circuit/6315106958573568

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy