Question: This comparator is specifically designed to assess flag states, not to directly compare numeric values. Your comparator should report the relationship between two unsigned numbers

This comparator is specifically designed to assess flag states, not to directly compare numeric values. Your comparator should report the relationship between two unsigned numbers of unspecified bit-width.
HS Indicates that A is higher than or the same as B
LS Indicates that A is lower than or the same as B
HI Indicates that A is higher than B
LO indicates that A is lower than B
Inputs and Outputs:
N (Negative): True when the number is negative.
Z (Zero): True when the result is zero.
V (Overflow): True when there is an overflow.
C (Carry): True whenever there is a carry output from the ALU.
Inputs: Use dip switches to simulate the ALU's output flags N, Z, C, V:
Outputs: Implement LEDs to display the output of the comparator.
- Create a truth table and the k map for each outputs.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!