futilehdl/doc/examples/comparator.fut

8 lines
120 B
Plaintext
Raw Normal View History

2022-01-04 19:37:54 +00:00
module comparator (
input wire [8] a,
input wire [8] b,
output wire eq
) {
assign eq = not(reduce_or(xor(a, b)));
}