futilehdl/doc/examples/comparator.fut

8 lines
94 B
Plaintext

module comparator (
a: Logic<8>,
b: Logic<8>
) -> Logic
{
assign eq = ~reduce_or(a ^ b);
}