Given four 8-bit unsigned inputs, produce both the minimum and the maximum values.
Requirements
- Module:
minmax4_task - Inputs:
v0[7:0], v1[7:0], v2[7:0], v3[7:0] - Outputs:
min_val[7:0], max_val[7:0]
Behavior
- Inputs:
v0, v1, v2, v3 (all 8-bit unsigned) - Outputs:
min_val = minimum of the four, max_val = maximum of the four