combinational circuits

Work in Progress

Summary

Gate-level design

  • circuit constructed with pure logic gates
  • focus on the logical expression

Block-level design

  • components abstracted as “black boxes”
  • focus on the higher level idea of each component

Binary coded decimal(BCD)

Circuit delay

  • a gate/block needs to wait for the slowest input

Concept

Full adder

  • arithmetic addition of 3 single bits, 3rd is for the carry bit
  • 2-bit output
  • can be implemented using 2 half adders
00000
00101
01001
01110
10001
10110
11010
11111

full_adder.png

4-bit parallel adder

  • arithmetic addition of two 4-bit binary numbers and a carry in
  • 5-bit output

4-bit_parallel_adder.png

4-bit magnitude comparator

  • compare two 4-bit binary numbers
  • 3 outputs for <, > and =

4-bit_comparator.png

Application

BCD to excess-3

Extra

Expansion of XOR

Negation of XOR