Number range detector
Design a logic circuit that, when enabled with an active-high signal named en, will detect four different ranges of values for a 5-bit input number. The inputs are labeled num4 through num0 and the outputs are labeled range1 through range4. Range1, range2, and range3 each produce active-high outputs, while range4 produces and active-low output signal. Write Boolean expressions for each of the outputs. Hint: Use the greater-than-or-equal-to (>=) and less-than-or-equal-to (<=) symbols in the Boolean expression to detect the desired range of input values for each output.
Outputs values detected
range1 4-12
range2 15-20
range3 18-24
range4 26-30