HDLbits

Hardware Language/Vectors

More Replication: Pairwise Equality

easy
vectorsconcatenationreplication

Compare every ordered pair of the five input bits. For each pair, set the corresponding output bit to 1 when the two input bits are equal. The 25 comparisons are arranged as five copies of a, then five copies of b, through five copies of e, compared against five repeats of a & b & c & d & e.

More Replication: Pairwise Equality diagram 1