futilehdl/doc/examples/comparator.fut

8 lines
79 B
Plaintext

comb comparator (
a: Logic<8>,
b: Logic<8>
) -> Logic
{
~reduce_or(a ^ b)
}