Chapter 4
Digital Components
Tutorial 11

Functions of a Decoder and an Encoder:

Correction to Notes:

A decoder converts binary information from n coded inputs to a maximum of 2n unique outputs.

There are 2n or less and n output lines in an encoder.  The encoder produces a binary output corresponding to an input value.  

1.	Design a 3-bit serial circuit with 3 full-adders.

2.	Design an 4-to-2 encoder circuit. 

3.	Design a 3-to-8 decoder circuit.

Chapter 4
Digital Components
Tutorial 12

1.	Show how to use T-type flip-flop to build a divide-by-8 ripple counter.  Explain its operation with the aids of timing diagram.

2.	An up-counter counts the binary number from 0 upwards.  A down-counter counts from the largest number down to 0.  All the examples shown in lecture notes are up-counters.  Show how to build a divide-by-8 asynchronous down-counter.  Explain its operation with the aids of timing diagram.

Chapter 4
Digital Components
Tutorial 13

1.	Show how to use D-type flip-flop to build a 4-bit left-shift register.  Explain its operation with the aids of timing diagram.

2.	Modify the circuits in (1) so that it allows parallel inputs.  Explain its operation procedures.