A 5-input and function is TRUE only when all the
inputs are true, so the correct value for function is
0x80000000.
A 5-input or function is TRUE whenever any of the
inputs are true, so the correct value for function is
0xffffffffe.
A 2-input xor function is TRUE whenever exactly
one of the inputs is true, so the correct value for
function is 0x6. Only in-0 and
in-1 should be connected to signals, because if any
other bit is TRUE then the output will be
FALSE.
Weights for each line of truth table | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 | Weight | 0 | 0 | 0 | 0 | 0 | 0x1 | 0 | 0 | 0 | 0 | 1 | 0x2 | 0 | 0 | 0 | 1 | 0 | 0x4 | 0 | 0 | 0 | 1 | 1 | 0x8 | 0 | 0 | 1 | 0 | 0 | 0x10 | 0 | 0 | 1 | 0 | 1 | 0x20 | 0 | 0 | 1 | 1 | 0 | 0x40 | 0 | 0 | 1 | 1 | 1 | 0x80 | 0 | 1 | 0 | 0 | 0 | 0x100 | 0 | 1 | 0 | 0 | 1 | 0x200 | 0 | 1 | 0 | 1 | 0 | 0x400 | 0 | 1 | 0 | 1 | 1 | 0x800 | 0 | 1 | 1 | 0 | 0 | 0x1000 | 0 | 1 | 1 | 0 | 1 | 0x2000 | 0 | 1 | 1 | 1 | 0 | 0x4000 | 0 | 1 | 1 | 1 | 1 | 0x8000 | 1 | 0 | 0 | 0 | 0 | 0x10000 | 1 | 0 | 0 | 0 | 1 | 0x20000 | 1 | 0 | 0 | 1 | 0 | 0x40000 | 1 | 0 | 0 | 1 | 1 | 0x80000 | 1 | 0 | 1 | 0 | 0 | 0x100000 | 1 | 0 | 1 | 0 | 1 | 0x200000 | 1 | 0 | 1 | 1 | 0 | 0x400000 | 1 | 0 | 1 | 1 | 1 | 0x800000 | 1 | 1 | 0 | 0 | 0 | 0x1000000 | 1 | 1 | 0 | 0 | 1 | 0x2000000 | 1 | 1 | 0 | 1 | 0 | 0x4000000 | 1 | 1 | 0 | 1 | 1 | 0x8000000 | 1 | 1 | 1 | 0 | 0 | 0x10000000 | 1 | 1 | 1 | 0 | 1 | 0x20000000 | 1 | 1 | 1 | 1 | 0 | 0x40000000 | 1 | 1 | 1 | 1 | 1 | 0x80000000
|
FUNCTIONS
PINS
PARAMETERS
LICENSE
|