Lesson 1. An Introduction To Digital Systems: Fundamentals of Computers
Lesson 1. An Introduction To Digital Systems: Fundamentals of Computers
FUNDAMENTALS OF COMPUTERS
Emilio J. Padrón
<[email protected]>
Computer Architecture Group (GAC)
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 1 / 27
Outline
1 Digital Systems
4 Integrated Circuits
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 2 / 27
Warm-up: Engagement trigger
“There are only 10 types of people in the world: Those who un-
derstand binary and those who don’t.”
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 3 / 27
Context
Semiconductors to Computers
Context
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 4 / 27
Context
Semiconductors to Computers
Context
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 5 / 27
Digital Systems
Outline
1 Digital Systems
Binary Systems and logic functions
4 Integrated Circuits
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 6 / 27
Digital Systems
F : X 7−→ Y
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 7 / 27
Digital Systems Binary Systems and logic functions
Binary Systems
Binary System: Input, output and internal signals can only take
two values: 1 or 0 (i.e. TRUE or False / ON or OFF)
I Binary variable = bit
I Binary digital function of n variables:
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 8 / 27
Digital Systems Binary Systems and logic functions
Binary Systems
Binary System: Input, output and internal signals can only take
two values: 1 or 0 (i.e. TRUE or False / ON or OFF)
I Binary variable = bit
I Binary digital function of n variables:
Terminology
Binary variable a.k.a. logic variable a.k.a. boolean variable
Binary digital function a.k.a. logic function a.k.a. boolean function
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 8 / 27
Digital Systems Binary Systems and logic functions
Binary Systems
Binary System: Input, output and internal signals can only take
two values: 1 or 0 (i.e. TRUE or False / ON or OFF)
I Binary variable = bit
I Binary digital function of n variables:
Terminology
Binary variable a.k.a. logic variable a.k.a. boolean variable
Binary digital function a.k.a. logic function a.k.a. boolean function
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 9 / 27
Digital Systems Binary Systems and logic functions
Example
A B A⊕B
0 0 0
0 1 1
A ⊕ B = AB + AB
1 0 1
1 1 0
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 10 / 27
Sequential and Combinational Systems
Outline
1 Digital Systems
4 Integrated Circuits
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 11 / 27
Sequential and Combinational Systems
F : X 7−→ Y
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 12 / 27
Sequential and Combinational Systems
X F Y
S S
∆ ∆
F2 Y F2 Y
(a) (b)
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 13 / 27
Sequential and Combinational Systems
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 14 / 27
Basic Logic Functions
Outline
1 Digital Systems
4 Integrated Circuits
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 15 / 27
Basic Logic Functions
1
Unary functions: 22 = 4 possibilities:
I Zero function
I Identity function
I NOT function
I One function
f0 f1 f2 f3
X 0 X X 1
0 0 0 1 1
1 0 1 0 1
Table: All possible functions with one variable
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 16 / 27
Basic Logic Functions
2
Functions with two inputs: 22 = 24 = 16 possibilities
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 17 / 27
Basic Logic Functions
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 19 / 27
Basic Logic Functions
Maths
enabled variable = logic value ’1’
disabled variable = logic value ’0’
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 19 / 27
Basic Logic Functions
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 19 / 27
Basic Logic Functions
Positive logic: active high (more frequent) Negative logic: active low
’H’ level - 1 logic ’H’ level - 0 logic
’L’ level - 0 logic ’L’ level - 1 logic
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 19 / 27
Integrated Circuits
Outline
1 Digital Systems
4 Integrated Circuits
Delays and Hazards
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 20 / 27
Integrated Circuits
Integrated Circuits
From Computer Science Preliminaries (CSP, 1st term)
Plastic
Chip case
Integrated Circuit (CHIP, Circuit High Integrated Process)
• 1959: Developed by Jack Kilby at Texas Instruments
• He was awarded the Nobel prize in 2000 for it Pins
Advantages:
I Reduction in design and implementation time
I High level of integration
I Cost reduction
I Reliability
I Velocity of operation
I Reduction of errors
I Reduction in time for finding disfunctions
Drawbacks:
I Maximum power level
I Limitations in the variety of resistances and capacities
I Difficult implementation of coils (bobinas) and inductances
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 21 / 27
Integrated Circuits
Integrated Circuits
Different technologies:
I Bipolar transistors: TTL, ECL.
I MOSFET transistors: CMOS, NMOS.
I Combining bipolar-MOSFET: BiCMOS.
Integration level:
I SSI (Small–Scale Integration): < 10 gates
I MSI (Medium–Scale Integration): 10 – 100 gates
I LSI (Large–Scale Integration): 100 – 10.000 gates
I VLSI (Very Large–Scale Integration): 10.000 – 100.000 puertas
I ULSI (Ultra Large–Scale Integration): > 100.000 gates
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 22 / 27
Integrated Circuits
Integrated Circuits
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 23 / 27
Integrated Circuits Delays and Hazards
Integrated Circuits
Ideal vs. real operation: delays
A AND B
A OR B
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 24 / 27
Integrated Circuits Delays and Hazards
Integrated Circuits
Ideal vs. real operation: delays
real A
Δ Δ Δ Δ
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 25 / 27
Integrated Circuits Delays and Hazards
Integrated Circuits
Hazards
On paper, this is what we could expect:
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 26 / 27
Integrated Circuits Delays and Hazards
Integrated Circuits
Hazards
On paper, this is what we could expect:
A
REAL
∆ ∆ ∆ ∆
A AND A
IDEAL
A AND A
REAL ∆’ ∆’
REVIEW
Checklist for. . .
X Do you understand what digital and binary systems are?
X Do you know the difference between combinational and sequential
systems?
X Are you able to use logic functions to create very basic digital
systems
X Do you understand why delays and hazards may appear with real
chips?
GAC (Dpt. Electrónics and Systems) Lesson 1. Introduction to Digital Systems Fundamentals of Computers 27 / 27