|
The 4-bit input signal is compared with the 4-bit control signal using some combinational logic to produce 3 different outputs; Greater than, Less than, and Equal to.
In this schematic, the control signal is a fixed binary value that you can adjust using the logic switches on the bottom, while the other comparator input is the counter, as shown on the Green 7-Segment Display. The Inputs & Outputs of the Comparator are shown in more detail below.
Comparator Outputs:
• Yellow LED illuminated: (Greater than )
input > Control
• Green LED illuminated: (Equal to)
input = Control
• Red LED illuminated: (Less than)
input < Control
Comparator Inputs:
• Control Binary Input: Logic switches, shown on the Blue 7-Segment Display, initially set to 0101
• Comparator Binary Input: Binary Counter output, shown on the Green 7-Segment Display, counts from 0 to F continuously
|