Design a circuit receives two 3-bit numbers at the input and produces the maximum of both numbers at the output.
module max3(a, b, max);
input [2:0] a, b;
output [2:0] max;a and b are the two 3-bit input
numbers.
max is the 3-bit output number.
Author: Jordi Cortadella
Generation: 2026-02-03T12:16:44.492Z
© Jutge.org, 2006–2026.
https://jutge.org