Docsity

Digital Logic Design: Combinational Systems and Truth Tables - Prof. Uchechukwu Abanulo, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Digital Logic Design: Combinational Systems and Truth Tables - Prof. Uchechukwu Abanulo and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Chapter 2:

Combinational Systems

Adapted from Alan Marcovitz’s

Introduction to Logic and Computer Design

Uchechukwu Ofoegbu

Temple University

Riddle

Riddle

Four switches can be turned on or off. One is theswitch for the incandescent overhead light in thenext room, which is initially off, but you don't knowwhich. The other three switches do nothing. Fromthe room with the switches in it, you can't seewhether the light in the next room is turned on oroff. You may flip the switches as often and asmany times as you like, but once you enter thenext room to check on the light, you must be ableto say which switch controls the light withoutflipping the switches any further. (And you can'topen the door without entering, either!) How canyou determine which switch controls the light?

Chapter 2

A system with four inputs, A, B, C, and D, and one output, Z,such thatZ = 1 iff

three of the inputs are 1.

A single light (that can be on or off) that can be controlled by any one of three switches. One switch is the master on/offswitch. If it is off, the lights are off. When the master switch

is

on, a change in the position of one of the other switches(from up to down or from down to up) will cause the light tochange state.

A system to do 1 bit of binary addition. It has three inputs(the 2 bits to be added plus the carry from the next lowerorder bit) and produces two outputs, a sum bit and a carry tothe next higher order position.

Illustrations

Illustrations

ES 244: Digital Logic Design

A system that has as its input the code for a decimal digit,and produces as its output the signals to drive a seven- segment display, such as those on most digital watchesand numeric displays.

A system with nine inputs, representing two 4-bit binarynumbers and a carry input, and one 5-bit output,representing the sum. (Each input number can range from0 to 15; the output can range from 0 to 31.)

Illustrations

Illustrations

Simplify the description. •

Most times expressions have to be converted to algebraic forms

Several techniques exist for reducing complexity of algebraicforms

Implement the system with the available components,subject to the design objectives and constraints. •

Gates are the most common components

A gate is a network with one output

The less number of gates required, the more desirable thesystem is, since each signal passing through a gate introduces a delay in the system.

More complex systems can be used in addition to gates (ex.Adders, decoders, e.t.c.).

Design Steps

Design Steps

Don’t cares occur when •

The output is not specified for all input combinations,so for the remaining input combinations, it doesn’tmatter

There are input combinations that don’t occur in thesystem

Flip-flops –

one systems drives another

When we just don’t care

Don’t cares are represented by X in a truth table.

The output of the combination could either be a 1 or a0.

Don

Don

t Care Conditions

t Care Conditions

A single light (that can be on or off) that can be controlled by

any one of three switches. One switch is the master on/off switch. If it is off, the lights are off. When the master switch

is on, a change in the position of one of the other switches (from up to down or from down to up) will cause the light to

change state.

  1. A system that has as its input the code for a decimal digit, and

produces as its output the signals to drive a seven-segment display

Simplify the description. •

Most times expressions have to be converted to algebraic forms

Several techniques exist for reducing complexity of algebraicforms

Implement the system with the available components,subject to the design objectives and constraints. •

Gates are the most common components

A gate is a network with one output

The less number of gates required, the more desirable thesystem is, since each signal passing through a gate introduces a delay in the system.

More complex systems can be used in addition to gates (ex.Adders, decoders, e.t.c.).

Switching Algebra

Switching Algebra

Switching Algebra

Switching Algebra

Basic Digital logic is based on 3primary functions (the basic gates):

AND

OR

NOT

AND Logic Symbol

AND Logic Symbol

Inputs

Output

If both inputs are 1, the output is 1

If any input is 0, the output is 0

AND Logic Symbol

AND Logic Symbol

Inputs

Output

Determine the output

AND Logic Symbol

AND Logic Symbol

Inputs

Output

Determine the output

AND Truth Table

AND Truth Table

To help understand the function of adigital device, a Truth Table is used:

Input

Output

AND Function

Every possibleinput combination