- #1
ichabodgrant
- 49
- 0
Homework Statement
Hi, it's me again.
Now I am going to design a 4-bit magnitude comparator using just ONE 4-bit adder and infinitely large number of gates (AND, OR, NOT, NAND, NOR, XOR, XNOR) for signed numbers (negative binary).
Homework Equations
A > B => A3barB3 + A2barB2x3 + A1barB1x3x2 + A0barB0x3x2x1
similar for A < B and A = B.
The Attempt at a Solution
This is my attempt. Frankly, this is my first time encountering problems related to comparator design because this is never said to be in the syllabus of the course (introductory course). I find this in a past paper... seemingly indicating that the instructor wants us to divide and conquer it within the 3 hours of exam.
I do this all by resources on the internet. So there may be a lot of mistakes.