2.1.4.1 Realize Logical Expression using One LUT
Imagine the following logical expression: .
This gives the following truth table:
| C | B | A | OUT |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 1 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 0 | 1 |
| 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 0 |
Looking at the truth table above, the value needed to be written to the TRUTH register will be 0x72.
