![]() |
||||||
|
||||||
|
Digital Logic - Truth Tables, Part
II
We looked at truth tables previously:
Let's review how we fill a truth table for a given gate. To fill a truth table, we will look at every possible combination of inputs, put those inputs in the circuit, then find the resulting output. To guarantee that we cover every possible combination, we will order the rows of the truth table by counting in binary - for example, let's use 0 for FALSE and 1 for TRUE:
If we have 3 inputs, we will have 8 rows (binary numbers 0 through 7) 000 > False False False
For 4 inputs, use binary 0 through 15 (0000 through 1111). Filling Truth Tables: Once the input colums are set, apply each combination to the circuit and find the output. For example, the first row is filled:
The rest of the table is filled: The same process is used for more complex circuits also.
|
||||||
| lowertext | ||||||