i) Design a combinational circuit whose input is a 4-bit number and whose output is the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
i) Design a combinational circuit whose input is a 4-bit number and whose output is the 2s complement of the input number. a) Implement your design using only XOR and AND logic gates. Inverters are not available. [4 Marks] b) Implement your design using at least one functional block (decoder, multiplexer etc) and any number of logic gates of your choice. You only need to show the implementation for the most significant output bit. [2 marks] [3 marks] c) Implement your design using a CMOS complex gate. You only need to show the implementation for the most significant output bit. ii) Redesign the combinational circuit in (i) as a sequential 2s complement generator. The generator takes in the binary input number as a sequence of bits with Least Significant Bit (LSB) arriving first and generates the 2s complement output number also as a sequence of bits with LSB being delivered first. Show your implementation using D-flip flop and any other gates of your choice. [4 Marks] iii) Consider the following 16-bit long binary codes stored in register R1 and R2 of a 16-bit microprocessor datapath R1 = 0x8F15 R2 = 0xAB97 Assuming that the binary codes expressed as hexadecimal values above are in 2s complement binary formats and a 16-bit binary addition of the two registers is performed by the micro- processor. Determine the values of the status flags V, N, Z, and C of the micro-processor. [4 marks] iv) Fig. 3 is a TTL gate. List the state of each transistor (OFF or ON) and the output (Y) in each of the following conditions: (a) when C is low and A is low; (b) when C is low and A is high; and (c) when C is high. Data input Ao- 4KQ- 4K02 Control input CQ6 01 1.6KQ 1KQ 1.6K Vcc=5V 1K2 www 02 Q7 05 Q8 Hi Fig. 3: TTL gate 1300 04 Q3 Y [3 marks] i) Design a combinational circuit whose input is a 4-bit number and whose output is the 2s complement of the input number. a) Implement your design using only XOR and AND logic gates. Inverters are not available. [4 Marks] b) Implement your design using at least one functional block (decoder, multiplexer etc) and any number of logic gates of your choice. You only need to show the implementation for the most significant output bit. [2 marks] [3 marks] c) Implement your design using a CMOS complex gate. You only need to show the implementation for the most significant output bit. ii) Redesign the combinational circuit in (i) as a sequential 2s complement generator. The generator takes in the binary input number as a sequence of bits with Least Significant Bit (LSB) arriving first and generates the 2s complement output number also as a sequence of bits with LSB being delivered first. Show your implementation using D-flip flop and any other gates of your choice. [4 Marks] iii) Consider the following 16-bit long binary codes stored in register R1 and R2 of a 16-bit microprocessor datapath R1 = 0x8F15 R2 = 0xAB97 Assuming that the binary codes expressed as hexadecimal values above are in 2s complement binary formats and a 16-bit binary addition of the two registers is performed by the micro- processor. Determine the values of the status flags V, N, Z, and C of the micro-processor. [4 marks] iv) Fig. 3 is a TTL gate. List the state of each transistor (OFF or ON) and the output (Y) in each of the following conditions: (a) when C is low and A is low; (b) when C is low and A is high; and (c) when C is high. Data input Ao- 4KQ- 4K02 Control input CQ6 01 1.6KQ 1KQ 1.6K Vcc=5V 1K2 www 02 Q7 05 Q8 Hi Fig. 3: TTL gate 1300 04 Q3 Y [3 marks]
Expert Answer:
Answer rating: 100% (QA)
The images reflect a series of digital electronics questions which include designing combinational circuits sequential circuits and analyzing the functionality of a TTL gate Here are the solutions to ... View the full answer
Related Book For
Fundamentals Of Digital Logic With Verilog Design
ISBN: 9780073380544
3rd Edition
Authors: Stephen Brown, Zvonko Vranesic
Posted Date:
Students also viewed these programming questions
-
Digital Systems Laboratory Lab 3: Combinational Logic Design with Decoders and Multiplexers Objectives To design a combinational circuit and implement it with decoders. To design a combinational...
-
F udy A big part of communication is sharing personal information with another person. Some information we believe we have the right to be our own and should remain private. However, the degree to...
-
By showing the primary and secondary connections of three single-phase transformers, illustrate the following three-phase transformer connections: starstar, and stardelta. What is the relationship...
-
Find the Taylor series at x = 0 of the given function by computing three or four derivatives and using the definition of the Taylor series. 1 2x + 3
-
A person with an SAT score of 2200 is twice as qualified for college as a person with a score of 1100. complete classification. Determine whether the given statement represents a meaningful ratio, so...
-
(a) What other types of accounts are available to Kwaku? (b) How might he manage his accounts to earn as much interest as possible and keep his money safe? (c) How might he use electronic money...
-
Compare the NPV technique and the APV technique indicating how both the approaches really are consistent with each other. (9 points)
-
What is an eccentric riveted joint? Explain the method adopted for designing such a joint? A bracket, attached to a vertical column by means of four identical rivets, is subjected to an eccentric...
-
67. Teri's uncle gave her a house on 12/25/02. Her uncle purchased the house on 3/20/74 for $58,759. The fair market value of the house at the time of the gift was $79,000. Assume he owed no gift...
-
Financial Option 3: $30 Million Investment in Bonds Rationale for investment: The business that's offering these bonds for sale contracts with another business in China to assemble computer...
-
Let L be some class of standard latency functions. Let I = (G = (V,A), (la)a=A, (Si, ti)i[k], (ri)i[k]) be a selfish routing instance with latency functions (la)aA L. Define al as the instance that...
-
In this discussion consider what it means to "know."How do you define knowledge?When are we so sure that we cannot be wrong? Consider the following questions When are you so sure that you can't be...
-
Perception of Psychology Question A Psychoanalytic theory suggests that some memories can be so painful, that a person can totally block them from their conscious memory and then later "recover"...
-
Determine the equation of the line tangent to the curve y = 4( y = 4(x + 1) y = at the point (3,16). Determine the equation of the line tangent to the curve y=x3x + 22 at the point (3,21).
-
Schedule Varience, Cost Varience and EAC of Week 14 is* Cumulative Cos, in Thousands Variance S Week BCWS BCWP ACWP Schedule Cost EAC 50 70 90 120 130 140 165 200 250 270 300 350 380 420 460 50 60 80...
-
An interest bearing promissory note for 90 days at 5.6% p.a. has a face value of $120,000. If the note is discounted 20 days after the issue date at a rate of 6.8% p.a., calculate the amount of...
-
A universal shift register can shift in both the left-to-right and right-to-left directions, and it has parallel-load capability. Draw a circuit for such a shift register.
-
Repeat Problem 2.37 for the function f (x1, x2, x3) = m(1, 4, 7) + D(2, 5). Data From Problem 2.37 Find the minimum-cost SOP and POS forms for the function f (x 1 , x 2 , x 3 ) = m(1, 2, 3, 5).
-
Repeat Problem 2.35 for the case where f should be 1 only if X Y. (a) Show the truth table for f. (b) Show the canonical sum-of-products expression for f. (c) Show the simplest possible...
-
An old-fashioned tire swing exerts a force on the branch and a torque about the point where the branch meets the trunk. If you hang the swing closer to the trunk, this will --the force and-- the...
-
Which of these objects is in static equilibrium? A. B. C. D.
-
A beam with a pivot on its le ft end is suspended from a rope. Tn which direction is the force of the pivot on the beam? A. B. C. D. E.
Study smarter with the SolutionInn App