Docsity

Computer Logic Design Homework: Encoders, Decoders, Multiplexers, and Demultiplexers, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE238, Summer 2005
Computer Logic Design
Instructor: Victor Manuel Murray Herrera
Name: ____________________________________________
Homework # 3
Instructions:
•
Date assigned: 06/24/05, 12:00 M
•
Due back: 06/29/05, 9:30 AM
•
Answer in a clear, direct and brief form.
•
Any question, doubt, suggestion or recommendation, write an email as soon as
possible to: vmurray@ieee.org. Remember that the goal is to learn as much as
possible in a good class environment.
•
If you need an extra explanation, please use the office hours or send an email to an
appointment.
1 Explain in you own words (and write a simple application) what is:
•
an encoder?
•
an decoder?
pf3
pf4
pf5

Partial preview of the text

Download Computer Logic Design Homework: Encoders, Decoders, Multiplexers, and Demultiplexers and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECE238, Summer 2005

Computer Logic Design

Instructor: Victor Manuel Murray Herrera

_Name: _____________________________________________

Homework # 3

Instructions:

  • Date assigned: 06/24/05, 12:00 M
  • Due back: 06/29/05, 9:30 AM
  • Answer in a clear, direct and brief form.
  • Any question, doubt, suggestion or recommendation, write an email as soon as

possible to: [email protected]. Remember that the goal is to learn as much as

possible in a good class environment.

  • If you need an extra explanation, please use the office hours or send an email to an

appointment.

1 Explain in you own words (and write a simple application) what is:

  • an encoder?
  • an decoder?
  • a multiplexer?
  • a demultiplexer?

Do not use neither logic functions nor the truth table, use only your own words.

Use no more than two lines for the explanation and the others for the example.

2 Complete the next truth tables:

Note: Remember that a variable with a bar (

X

) means negative logic, and a

variable without the bar ( X ) means positive logic.

a. A decoder:

E I2 I1 I0 D0 D1 D2 D3 D4 D5 D6 D7 D

d. Multiplexer with 16 lines in the input:

E S3 S2 S1 S0 F

e. A demultiplexer with input D:

E S3 S2 S1 S

O

O

O

O

O

O

O

O

O

O

O

O

O

O

O

O

3 Do problems 4-6, 4-12, 4-14, 4-21, and 4-

4 Design a logic circuit that encode the inputs from a 16-key board (see the

figure). The circuit needs to show in the output the ASCII code of the keyboard

letters. Use encoders, adders, and logic gates.

Example: The ASCII code of: 'A' is '01000001'

'b' is '01100010'

5 Design a 9-to-1 multiplexer using only NAND gates. The inputs and outputs are in

positive logic. The MUX must have an ENABLE in negative logic.

A B C D

F G H I

a b c d

e f g h

Logic

Circuit

ASCII

code