Docsity

Digital Logic: Lecture 5 - Boolean Algebra and Logic Circuits, Study notes of Contemporary Literature

Partial preview of the text

Download Digital Logic: Lecture 5 - Boolean Algebra and Logic Circuits and more Study notes Contemporary Literature in PDF only on Docsity!

Electronics 1:

Lecture 5

Digital Logic

Digital Systems

  • Boolean Algebra– Digital Logic Circuits– Binary Arithmetic– Binary NumbersDigital Logic ( Bobrow pp 749-790)

Logic circuit families

Digital Systems

Computer Motherboard

Intel Quad Core CPU

But need to start simple first…

Digital Systems

…A counter“state machine” Example of a finite

Basics

Boolean AlgebraDigital Logic CircuitsBinary Arithmetic Binary numbers

Binary Arithmetic

Subtraction (n-m)…borrows Addition …carries

  1. Convert to addition by using 1’s complement (^) To n add the 1’s complement of m

of the sum.The result is n-mto the least sinificant digit (end-around carry)^ If the sum has a carry at the left end, add a 1

negative sign in front of it. The result is n-mthe 1’s complement of the sum and place a^ If the sum has no carry at the left end,take

1’s complement is obtained by changing 1’s to 0’s and 0’s to 1’s

(circuits that deal with 0s and 1s)Digital Electronics:

transmit withoutdigital information: noise!!!

electronic states:

HIGH

LOW

either

(^) or

Boolean states:

TRUE

FALSE

H

L

digital input

(^) digital output:

  • combinational tasks

 (^) gates

  • sequential tasks

 (^) flip-flops

Using e.g. NOR Gates:

(A+B) = AB AND: NOT

A • 1 = ABoolean Algebra:

A + 1 = 1

A • 0 = 0

A + 0 = A

A • A = A

A + A = A

A • A = 0

A + A = 1

A = A

A • B = B • A

A • (B + C) = A • B + A • CA • (B • C) = (A • B) • C

A + B = B + A

A + (B + C) = (A + B) + C

A + (B • C) = (A + B) • (A + C)

(AND precedence over OR…)

De Morgan:

A + B = A • B

A • B = A + B

A • (A + B) = AA + A • B = A

A • (A + B) = A • BA + A • B = A + B

Absorption laws:

V Terminology:

IH

HIGH-state input voltage (logic 1 @ input)

ILV

LOW-state input voltage (logic 0 @ input)

OHV

HIGH-state output voltage (logic 1 @ output)

OLV

LOW-state output voltage (logic 0 @ output)

IHI

HIGH-state input current (logic 1 @ input)

ILI

LOW-state input current (logic 0 @ input)

OHI

HIGH-state output current (logic 1 @ output)

OLI

LOW-state output current (logic 0 @ output)

Fan-in:

of standard outputs that an input can take

Fan-out:

of standard inputs that an output can drive

Delay times between input and corresponding output transition:

PHLt

turn off delay (logic 1 to 0)

PLHt

turn on delay (logic 0 to 1)

representing binary 1 or binary 0Define: 2 voltage or 2 current levels

Levels and Margins:

on V^ depends

CC

LOW =0VHIGH = +5V (2V – 5V) Power supply: +5VTTL: Transistor Transistor Logic

(0.0V – 0.8V)

Standard naming: TTL starts with 74 (

(^) C – 70o

C)o

or 54 (military: -

(^) C – +125o

(^) C)o

Sub-families:

74xx

standard

74L

low-power

74H

high-speed

74S

Schottky

74LS

low-power Schottky

74AS

advanced Schottky

74ALS

advanced low-power Schottky

74F(AST)

fast (advanced Schottky)

TTL Fan-Out Capabilities

74LS

74S

74H

74L

74LS

74S

74H

74L

TTL loads

TTL drivers