26 Questions
2 Views
3.6 Stars

Digital Logic: Combinational Circuits

Learn about combinational circuits in digital logic, where the output is a function of the input only, with no feedback. Understand how inputs affect outputs with a delay.

Created by
@HumourousAcropolis
1/26
Find out if you were right!
Create an account to continue playing and access all the benefits such as generating your own quizzes, flashcards and much more!
Quiz Team

Access to a Library of 520,000+ Quizzes & Flashcards

Explore diverse subjects like math, history, science, literature and more in our expanding catalog.

Questions and Answers

What is the main function of a half-subtractor?

Perform subtraction of two bits

How many inputs does a half-subtractor have?

2

What are the two outputs of a half-subtractor?

Difference and Borrow

What type of circuit is a half-subtractor?

<p>Combinational circuit</p> Signup and view all the answers

What is the purpose of FA in the binary adder circuit?

<p>Full Adder</p> Signup and view all the answers

How many full adders are used in the binary adder circuit?

<p>4</p> Signup and view all the answers

What is the function of a full subtractor?

<p>To subtract one binary number from another</p> Signup and view all the answers

What is the purpose of the control signal M in a binary adder/subtractor?

<p>To select between addition and subtraction operations</p> Signup and view all the answers

What is the output of a 2-to-4 line decoder when the input is 10?

<p>Y0 = 0, Y1 = 1, Y2 = 0, Y3 = 0</p> Signup and view all the answers

What is the function of an n-to-2^n line decoder?

<p>To decode an n-bit binary number into 2^n possible outputs</p> Signup and view all the answers

What is the purpose of the enable control in a decoder?

<p>To enable the decoder circuit</p> Signup and view all the answers

What is the difference between a binary adder and a binary subtractor?

<p>A binary adder performs addition, while a binary subtractor performs subtraction</p> Signup and view all the answers

What is the purpose of the carry-in flag in a binary adder?

<p>To carry over a bit from the previous addition</p> Signup and view all the answers

What is the output of a 3-to-8 line decoder when the input is 110?

<p>Y0 = 0, Y1 = 0, Y2 = 0, Y3 = 0, Y4 = 0, Y5 = 0, Y6 = 0, Y7 = 1</p> Signup and view all the answers

What is the difference between a decoder and an encoder?

<p>A decoder decodes an n-bit binary number into 2^n possible outputs, while an encoder encodes a single input into an n-bit binary number</p> Signup and view all the answers

What is the purpose of a binary subtractor?

<p>To subtract one binary number from another</p> Signup and view all the answers

What is the characteristic of a combinational circuit?

<p>Output is a function of input only</p> Signup and view all the answers

What is the purpose of a half adder?

<p>To add 1-bit numbers</p> Signup and view all the answers

What is the output of a half adder when the inputs are x = 1 and y = 1?

<p>Sum = 0, Carry = 1</p> Signup and view all the answers

What is the function of a full adder?

<p>To add 1-bit numbers and a carry</p> Signup and view all the answers

What is the equation for the sum output of a full adder?

<p>S = xy'z' + x'yz' + x'y'z + xyz</p> Signup and view all the answers

What is the equation for the carry output of a full adder?

<p>C = xy + xz + yz</p> Signup and view all the answers

What is the purpose of the HA blocks in a full adder circuit?

<p>To add the two inputs and a carry</p> Signup and view all the answers

How many inputs does a full adder circuit have?

<p>3</p> Signup and view all the answers

What is the output of a full adder when the inputs are x = 1, y = 1, and z = 1?

<p>Sum = 1, Carry = 1</p> Signup and view all the answers

What is the purpose of a binary adder?

<p>To add two binary numbers</p> Signup and view all the answers

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Study Notes

Combinational Circuits

  • Output is a function of input only, with no feedback.
  • When input changes, output may change after a delay.

Binary Adder

  • Half Adder:
    • Adds 1-bit plus 1-bit.
    • Produces Sum and Carry.
    • Truth table:
      • x y C S
      • 0 0 0 0
      • 0 1 0 1
      • 1 0 0 1
      • 1 1 1 0
  • Full Adder:
    • Adds 1-bit plus 1-bit plus 1-bit.
    • Produces Sum and Carry.
    • Truth table:
      • x y z C S
      • 0 0 0 0 0
      • 0 0 1 0 1
      • 0 1 0 0 1
      • 0 1 1 1 0
      • 1 0 0 0 1
      • 1 0 1 1 0
      • 1 1 0 1 0
      • 1 1 1 1 1
    • S = xy'z'+x'yz'+x'y'z+xyz = x ⊕ y ⊕ z
    • C = xy + xz + yz

Binary Adder Circuit

  • Full Adder circuit:
    • Consists of two half adders and an OR gate.
    • Produces Sum and Carry outputs.

Binary Adder with Multiple Bits

  • Binary Adder with multiple bits:
    • Consists of multiple full adders.
    • Each full adder adds corresponding bits of two binary numbers.
    • Carry output from each full adder is used as input to the next full adder.

Binary Subtractor

  • Uses 2's complement with binary adder:
    • x - y = x + (-y) = x + y' + 1
  • Binary Subtractor circuit:
    • Uses a binary adder with inverters and an OR gate.

Binary Adder/Subtractor

  • Binary Adder/Subtractor circuit:
    • Uses a binary adder with an additional control signal (M).
    • M = 0: F = x + y
    • M = 1: F = x - y

Decoders

  • Binary Decoder:
    • Extracts "information" from the code.
    • Only one output is active (lamp turns on).
  • 2-to-4 Line Decoder:
    • Truth table:
      • I1 I0 Y3 Y2 Y1 Y0
      • 0 0 0 0 0 1
      • 0 1 0 0 1 0
      • 1 0 0 1 0 0
      • 1 1 1 0 0 0
  • 3-to-8 Line Decoder:
    • Truth table:
      • I2 I1 I0 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0
      • (all possible combinations of I2, I1, I0)
  • "Enable" Control:
    • Decoder with an enable control signal (E).
    • E = 0: all outputs are 0.
    • E = 1: Decoder functions normally.

Trusted by students at

More Quizzes Like This

Use Quizgecko on...
Browser
Browser