Building Blocks

Module 6

Reading Assignment s Mano & Kime (4th ed.)

 

Sections 3-7, 3-8, 3-9: pp. 121-139

Sect. 6-8: pp. 319-329

Supplement for Xilinx FPGAs

Schedule of Lectures

Sample Problems

 

2,3,7

Previous Lecture

Next Lecture

Supplemental Material

 

Decoders

Encoders

Priority Encoders

 

 A3 A2 A1 A0 

 B1 B0 

  0  0  0  0 
  0  0  0  1 
  0  0  1  0 
  0  0  1  1 
  0  1  0  0 
  0  1  0  1 
  0  1  1  0 
  0  1  1  1 
  1  0  0  0 
  1  0  0  1 
  1  0  1  0 
  1  0  1  1 
  1  1  0  0 
  1  1  0  1 
  1  1  1  0 
  1  1  1  1 

  ?  ? 
  0  0 
  0  1 
  ?  ? 
  1  0 
  ?  ? 
  ?  ? 
  ?  ? 
  1  1 
  ?  ? 
  ?  ? 
  ?  ? 
  ?  ? 
  ?  ? 
  ?  ? 
  ?  ? 

 

 A3 A2 A1 A0 

 B1 B0 V 

  0  0  0  0 
  0  0  0  1 
  0  0  1  x 
  0  1  x  x 
  1  x  x  x 

  x  x  0 
  0  0  1 
  0  1  1 
  1  0  1 
  1  1  1 

o     example 

Multiplexors/Demultiplexors

1.     example

1.     example

Programmable Logic Devices

Parity Generators

·        Generate an extra bit to encode even/odd number of bits with value 1

·        Generate parity at the receiver and compare

o   Can detect certain classes of errors

Building Blocks: Summary