Hello all,
I have an assignment that I am working on right now for VLSI that requires us to build a circuit using |―| principal. The first stage of the assignment is to build a single bit block that is able then to link up with more of its kind to form a 4 bit absolute value subtractor circuit. Our hint was to design a comparator followed by a subtraction circuit. I have designed both a comparator and a half subtractor. However, I am stuck on how to sort the data using the comparator. I attached my truth table for both. I need to be able to send the highest bit between the two numbers to A input of the subtractor and the lowest bit to B input of the subtractor. Right now, my comparator just tells if A is bigger smaller or equal to B.
If someone can help point me in the right direction it would be really appreciated!
Thank you guys so much!
I have an assignment that I am working on right now for VLSI that requires us to build a circuit using |―| principal. The first stage of the assignment is to build a single bit block that is able then to link up with more of its kind to form a 4 bit absolute value subtractor circuit. Our hint was to design a comparator followed by a subtraction circuit. I have designed both a comparator and a half subtractor. However, I am stuck on how to sort the data using the comparator. I attached my truth table for both. I need to be able to send the highest bit between the two numbers to A input of the subtractor and the lowest bit to B input of the subtractor. Right now, my comparator just tells if A is bigger smaller or equal to B.
If someone can help point me in the right direction it would be really appreciated!
Thank you guys so much!
Attachments
-
1 MB Views: 8