Dear student if you have any doubt Please ask, Thank you....
9) (2 points) You are given two, 3-bit, two's complement integers A[2:0, B(2 : 0). You...
Design 2-bit comparator using 1-bit comparators. Draw the circuit using a block diagram for the unit comparator and any additional gates. Include logic such as: A=B when (A0=B0 && A1=B1) A>B when (A1>B1 or A1=B1 && A0>B0), etc.
In this problem, you will design a 4-bit 2's complement sub tractor, implement it in Logic works, and test it. The 4-bit sub tractor works as follows: given two numbers X and Y in 2's complement binary representation on 4 bits, it outputs a 4-bit value representing X - Y in 2's complement. To obtain full marks, the following requirements must be met: You are only allowed to use basic gates, including NOT, AND, OR, NAND, NOR, XOR, XNOR. (You...
8.9 Use FA's to design a device which will calculate 5x +4y where x and y are 4-bit unsigned inputs. Use 8-bit arithmetic. 8.10 Use FA's and logic gates to design a device which will multiply a given 4-bit signed input by -2. (Hint: if you think about this for a bit, you should see the answer is actually pretty straightforward. ..) in addition to the normal sum and carry outputs, a third output called overflow does not. 8.11 Use...
2. Convert the following two's complement binary numbers to decimal numbers. These numbers are integers. a. 110101 b. 01101010 c. 10110101 3. Convert the following decimal numbers to 6-bit two's complement binary numbers and add them. Write the results in 6-bit two's complement binary number format and decimal number format. Indicate whether or not the sum overflows a 6-bit result. a. 14 + 12 b. 30 + 2 C. -7 + 20 d. -18-17 4. What is the signed/magnitude and two's complement range of...
3) (30 points) Given three 8-bit unsigned inputs A, B, C, design a circuit that outputs 1 if the smallest absolute distance between any pair of values is less than 15 or greater than 50. Note: your circuit must work for any 8-bit unsigned numbers given in A, B, C. 18 18 18 - Assume that you have the following Datapath components available (unsigned only) - decoders, encoders, muxes, parallel load registers, adders, A B C subtractors, magnitude comparators, array...
Using logisim to create a 4bit controlled comparator ECFICATIONS NPUTS Create a cireuit in Logisim thait will take the following inputs 4 bit binary number :4 bit binary number Control where C-O, A and B will be treated as unsigned binary C-1,A and B will be treated as 2's complement signed binary (for example, the number 301 represents the value 5' it is treated as unsigned binary but it represents the value - if it is treated as 2's complemene...
Suppose you have two 8-bit registers, A and B. containing signed two's complement values A contains the value 11001110 B contains the value 11111010 What is the decimal value of the difference between them (A - B)?
Following the circuit specification below: Comparator: A 3-bit comparator has six inputs A= A2A1A0 and B= B2B1B0, and one output: L. The comparator is a ‘less than’, meaning the output is ‘1’ is A<B. Using your method of choice, find the Boolean expression for the output of the comparator; Draw the logic circuit of the 3-bit comparator Available gates (no other gates can be used than the 5 listed below): 2-input NAND 2-input NOR 2-input AND 2-input OR Inverter
A comparator circuit has two 1-bit inputs A and B and three 1-bit outputs G (greater), E (equal), and L (less than). That is, G is 1 if A > B (0 otherwise), E is 1 if A == B (0 otherwise), and L is 1 if A < B (0 otherwise). a. Draw the truth table for a 1-bit comparator (the table has 2 inputs and 3 outputs). b. Implement G, E, and L circuits using only...
Design a four-bit combinational circuit 2’s complementer. (The output generates the 2’s complement of the input binary number.) Show that the circuit can be constructed with exclusive-OR gates. Can you predict what the output functions are for a five-bit 2’s complementer? 1. Truth table 2. Logic circuit with exclusive-OR gates 3.The output functions for a five-bit 2’s complementer