SlideShare a Scribd company logo
1
Microcontrollers and Introduction
to Real-Time Programming
Prof. Yusuf Leblebici
Microelectronic Systems Laboratory (LSM)
yusuf.leblebici@epfl.ch
2
Organization
 Introduction
 Goals of the Course
 Historical Perspective - Microprocessors
• Pre-history
• Last 30 years
• Today and tomorrow
 A Few Words on Embedded Systems
 The Technology Aspect: Moore’s Law
 ITRS Predictions
3
Goals and Objectives
In this course, you will:
 Learn how the hardware (HW) and software (SW)
components of a microprocessor-based system
work together to implement digital systems.
 Learn both HW and SW aspects of integrating
digital devices (memory, I/O interfaces, etc.) into
microprocessor / microcontroller systems.
 Get practical hands-on experience in system
design and assembly language programming.
4
Goals and Objectives
Remember: There is always more than one way of
looking at things !
Hardware Design
Software Design
5
Goals and Objectives
In the classroom lectures, you will learn more about the
hardware architecture aspects of microprocessors and
microcontrollers, their internal building blocks, operation
principles, interfacing with other digital systems etc…
In the laboratory sessions, you will learn more about the
machine code and assembly language programming of
microprocessors / microcontrollers, and implementation
of digital systems using these devices.
6
Goals and Objectives
The classroom lectures will be in English.
The laboratory sessions and exercises will be in French.
There will be regular handouts for reading:
Book chapters
Lecture slides
Laboratory manuals
etc…
Please follow the lectures regularly – it’s important !
7
Building Blocks of Digital Systems
MEMORY
DATAPATH
CONTROL
INPUT-OUTPUT
Main question: How to implement these functions ?
8
Computer Pre-history
• Charles Babbage
• Analytical Engine
• Started in 1834
• Never finished
9
Computer History
Eckert and Mauchly
• 1st
working electronic
computer (1946)
• 18,000 Vacuum tubes
• 1,800 instructions/sec
• 3,000 ft3
10
Computer History
• Maurice Wilkes
1st
store program computer
650 instructions/sec
1,400 ft3
http://www.cl.cam.ac.uk/UoCCL/misc/EDSAC99/
EDSAC 1 (1949)
11
1962 - 1972
http://hrst.mit.edu/hrs/apollo/public/index.htm
12
13
Apollo
Guidance
Computer
14
Word length: 16 bits (15 bits data + parity bit)
First computer using integrated circuits (ICs)
Magnetic core memory
Fixed memory (ROM): 36,864 words
Erasable memory (RAM): 2,048 words
Number of instructions: 34
Cycle time: 11.7 µsec Clock frequency: 85 kHz (!)
Number of logic gates: 5,600 (2,800 packages)
Weight: 30 kg
Power consumption: 70 W
Apollo Guidance Computer (AGC)
15
Intel 4004 Microprocessor
• Introduced in 1970
– First microprocessor
– 4 bit architecture !
• 2,250 transistors
• 12 mm2
• Clock: 108 kHz
16
Intel 8085 Microprocessor
• Introduced in 1974
• 8-bit architecture
• Still used in some
microcontroller
applications !
17
Intel 8086 Microprocessor
• Introduced in 1979
• 29,000 transistors
• 33 mm2
• Clock: 5 MHz
• 16 bit architecture
18
Intel 386 Microprocessor
• Introduced in 1985
• 275,000 transistors
• 43 mm2
• Clock: 16 MHz
• 32 bit architecture
19
Intel 486 Microprocessor
• Introduced in 1989
• 1,200,000 transistors
• 81 mm2
• Clock: 25 MHz
• 32 bit architecture
– 1st
pipelined
implementation of
IA32
20
Intel Pentium Microprocessor
• Introduced in 1993
• 3,100,000 transistors
• 296 mm2
• Clock: 60 MHz
• 32 bit architecture
– 1st
superscalar
implementation of IA32
Pentium Processor Details
• State
– Registers
– Memory
• Control ROM
• Combinational
logic
REG
22
Intel Pentium III
• Introduced in 1999
• 9,500,000 transistors
• 125 mm2
• Clock: 450 MHz
• 32 bit architecture
23
DEC Alpha 21264
• Introduced in 1998
• 15,200,000 transistors
• 302 mm2
• Clock: 700 MHz
• 64 bit architecture
• Still the highest performance
commercial microprocessor:
SPEC-95fp
Alpha 21264: 66
Pentium III Xeon: 30.4
24
Moore’s Law
25
Don’t think that the highest-performance
processors are always found in a computer !!
• Sony Playstation II
• Chip designed by Toshiba
• Introduced in 1998
• 10,500,000 transistors
• 238 mm2
• Clock: 300 MHz
• 128 bit architecture
• 10 floating-point multiplier
accumulators
• MPEG-2 decoder
• Multimedia processor
26
Embedded Systems
About four (!) percent of the world’s microprocessors are used in
computers. Source: Embedded Systems Programming, May 1999
Average car has about 15 microprocessors.
Mercedes S-class: 63 microprocessors !!
32-bit
embedded
microprocessors
16-bit
8-bit
8-bit
250 million
1 billion
1 billion
1 billion
125 million PCs
Intel, AMD
Motorola,
ARM,
MIPS,
i960,
x86,
…
Only 4% of the
total number
27
New Direction: System-on-Chip (SoC)
ASIC Core
Memory
Embedded
Processor
Core
Analog
Functions
Communication
Sensor
Interface
28
Building Blocks of Digital Systems
MEMORY
DATAPATH
CONTROL
INPUT-OUTPUT
Main question: How to implement these functions ?
CPU
29
Bus and CPU
Bus: A shared group of wires used for communicating
signals among devices
• address bus: the device and the location within the
device that is being accessed
• data bus: the data value being communicated
• control bus: describes the action on the address and data
buses
CPU: Core of the processor, where instructions are executed
• High-level language: a = b + c
• Assembly language: add r1 r2 r3
• Machine language: 0001001010111010101
30
Memory and I/O
Memory: Where instructions (programs) and data are stored
• Organized in arrays of locations (addresses), each storing
one byte (8 bits) in general
• A read operation to a particular location always returns the
last value stored in that location
I/O devices: Enable system to interact with the world
• Device interface (a.k.a. controller or adapter) hardware
connects actual device to bus
• The CPU views the I/O device registers just like
memory that can be accessed over the bus. However,
I/O registers are connected to external wires, device
control logic, etc.
• Reads may not return last value written
• Writes may have side effects
31
Moore’s Law
32
33
YEAR 2002 2005 2008 2011 2014
TECHNOLOGY 130 nm 100 nm 70 nm 50 nm 35 nm
CHIP SIZE 400 mm
2
600 mm
2
750 mm
2
800 mm
2
900 mm
2
NUMBER OF
TRANSISTORS
(LOGIC)
400 M 1 Billion 3 Billion 6 Billion 16 Billion
DRAM
CAPACITY
2 Gbits 10 Gbits 25 Gbits 70 Gbits 200 Gbits
MAXIMUM
CLOCK
FREQUENCY
1.6 GHz 2.0 GHz 2.5 GHz 3.0 GHz 3.5 GHz
MINIMUM
SUPPLY
VOLTAGE
1.5 V 1.2 V 0.9 V 0.6 V 0.6 V
MAXIMUM
POWER
DISSIPATION
130 W 160 W 170 W 175 W 180 W
MAXIMUM
NUMBER OF
I/O PINS
2500 4000 4500 5500 6000
ITRS - International Technology Roadmap for
Semiconductors
Predictions of the worldwide semiconductor / IC
industry about its own future prospects...
34
YEAR 2002 2005 2008 2011 2014
TECHNOLOGY 130 nm 100 nm 70 nm 50 nm 35 nm
CHIP SIZE 400 mm
2
600 mm
2
750 mm
2
800 mm
2
900 mm
2
NUMBER OF
TRANSISTORS
(LOGIC)
400 M 1 Billion 3 Billion 6 Billion 16 Billion
DRAM
CAPACITY
2 Gbits 10 Gbits 25 Gbits 70 Gbits 200 Gbits
MAXIMUM
CLOCK
FREQUENCY
1.6 GHz 2.0 GHz 2.5 GHz 3.0 GHz 3.5 GHz
MINIMUM
SUPPLY
VOLTAGE
1.5 V 1.2 V 0.9 V 0.6 V 0.6 V
MAXIMUM
POWER
DISSIPATION
130 W 160 W 170 W 175 W 180 W
MAXIMUM
NUMBER OF
I/O PINS
2500 4000 4500 5500 6000
Shrinking Device Dimensions
35
YEAR 2002 2005 2008 2011 2014
TECHNOLOGY 130 nm 100 nm 70 nm 50 nm 35 nm
CHIP SIZE 400 mm
2
600 mm
2
750 mm
2
800 mm
2
900 mm
2
NUMBER OF
TRANSISTORS
(LOGIC)
400 M 1 Billion 3 Billion 6 Billion 16 Billion
DRAM
CAPACITY 2 Gbits 10 Gbits 25 Gbits 70 Gbits 200 Gbits
MAXIMUM
CLOCK
FREQUENCY
1.6 GHz 2.0 GHz 2.5 GHz 3.0 GHz 3.5 GHz
MINIMUM
SUPPLY
VOLTAGE
1.5 V 1.2 V 0.9 V 0.6 V 0.6 V
MAXIMUM
POWER
DISSIPATION
130 W 160 W 170 W 175 W 180 W
MAXIMUM
NUMBER OF
I/O PINS
2500 4000 4500 5500 6000
Increasing Function Density
36
YEAR 2002 2005 2008 2011 2014
TECHNOLOGY 130 nm 100 nm 70 nm 50 nm 35 nm
CHIP SIZE 400 mm
2
600 mm
2
750 mm
2
800 mm
2
900 mm
2
NUMBER OF
TRANSISTORS
(LOGIC)
400 M 1 Billion 3 Billion 6 Billion 16 Billion
DRAM
CAPACITY
2 Gbits 10 Gbits 25 Gbits 70 Gbits 200 Gbits
MAXIMUM
CLOCK
FREQUENCY
1.6 GHz 2.0 GHz 2.5 GHz 3.0 GHz 3.5 GHz
MINIMUM
SUPPLY
VOLTAGE
1.5 V 1.2 V 0.9 V 0.6 V 0.6 V
MAXIMUM
POWER
DISSIPATION
130 W 160 W 170 W 175 W 180 W
MAXIMUM
NUMBER OF
I/O PINS
2500 4000 4500 5500 6000
Increasing Clock Frequency
37
YEAR 2002 2005 2008 2011 2014
TECHNOLOGY 130 nm 100 nm 70 nm 50 nm 35 nm
CHIP SIZE 400 mm
2
600 mm
2
750 mm
2
800 mm
2
900 mm
2
NUMBER OF
TRANSISTORS
(LOGIC)
400 M 1 Billion 3 Billion 6 Billion 16 Billion
DRAM
CAPACITY
2 Gbits 10 Gbits 25 Gbits 70 Gbits 200 Gbits
MAXIMUM
CLOCK
FREQUENCY
1.6 GHz 2.0 GHz 2.5 GHz 3.0 GHz 3.5 GHz
MINIMUM
SUPPLY
VOLTAGE
1.5 V 1.2 V 0.9 V 0.6 V 0.6 V
MAXIMUM
POWER
DISSIPATION
130 W 160 W 170 W 175 W 180 W
MAXIMUM
NUMBER OF
I/O PINS
2500 4000 4500 5500 6000
Decreasing Supply Voltage
38
39
40
41
Some Interesting WWW Links
• Great Microprocessors of the Past and Present
http://www3.sk.sympatico.ca/jbayko/cpu.html
• CPU Info Center
http://bwrc.eecs.berkeley.edu/CIC/
• CPU Design HOW-TO
http://www.linuxdoc.org/HOWTO/CPU-Design-HOWTO.html
• VLSI Microprocessors
http://www.microprocessor.sscc.ru/
• Molecular Expressions Chip Shots Gallery
http://micro.magnet.fsu.edu/chipshots/index.html

More Related Content

PPTX
History of intel microprocessors ppt
DOCX
Evolution of Intel Microprocessors (Consumer Grade)
PPTX
Microprocessors historical background
PDF
PDF
.Introduction.to.Microprocessors.and.Microcontrollers.Jan.2004.pdf
PPTX
History of intel microprocessors
PPTX
processors
PPTX
Robotics and Embedded System.
History of intel microprocessors ppt
Evolution of Intel Microprocessors (Consumer Grade)
Microprocessors historical background
.Introduction.to.Microprocessors.and.Microcontrollers.Jan.2004.pdf
History of intel microprocessors
processors
Robotics and Embedded System.

What's hot (19)

PPTX
Embedded Systems & Robotics
PPTX
Evolution of INTEL Microprocessor
PDF
Presentation on History of Microcontroller(Updated - 2)
PDF
Ijarcet vol-2-issue-7-2389-2397
PPTX
Microprocessor - A Brief History
PPTX
embedded systems and robotics on avr platform
PPTX
Presentation on embedded system and robotics
PPTX
Smartphone processors
PPTX
robotics and embedded system ppt
PPTX
Zigbee based metal detecting robot to assist bomb detection and rescue team
PPTX
Embedded systems and robotics by scmandota
PPTX
Micro-processor, Micro-controller and Peripherals
PPTX
Presentation_BTBox_2012
PPTX
History of microprocessors
PDF
Comparative study of microprocessor perspective of historical preference
PDF
GSM based agriculture monitoring system
PPTX
PDF
Wi play audio streaming over wi-fi
PPT
Lec22 intel
Embedded Systems & Robotics
Evolution of INTEL Microprocessor
Presentation on History of Microcontroller(Updated - 2)
Ijarcet vol-2-issue-7-2389-2397
Microprocessor - A Brief History
embedded systems and robotics on avr platform
Presentation on embedded system and robotics
Smartphone processors
robotics and embedded system ppt
Zigbee based metal detecting robot to assist bomb detection and rescue team
Embedded systems and robotics by scmandota
Micro-processor, Micro-controller and Peripherals
Presentation_BTBox_2012
History of microprocessors
Comparative study of microprocessor perspective of historical preference
GSM based agriculture monitoring system
Wi play audio streaming over wi-fi
Lec22 intel
Ad

Similar to Microcontrollers and intro to real time programming 1 (20)

PDF
Mobile Device-Architecture
PPTX
VLSI Technology
PDF
CMOS Digital Integrated Circuits - Ch 01_Introduction
PDF
Micro controller & Micro processor
PPTX
Evolution of processors
PDF
Technology overview
PDF
EE6502 Microprocessor & Microcontroller Regulation 2013
PDF
IC technology integration and circuit logic families
PDF
Evolution of Computing Microprocessors and SoCs
PDF
My Feb 2003 HPCA9 Keynote Slides - Billion Transistor Processor Chips
DOCX
8085 manual NCIT SAROZ BISTA SIR
PPTX
VLSI Design-Lecture2 introduction to ic technology
PDF
Internet of Things to Internet of Everythings
PDF
DileepB EDPS talk 2015
PDF
Practical introduction to IoT
PPTX
1IntroductionToComputersAndComputerOrganization.pptx
PPT
PDF
Sistem mikroprosessor
PPTX
Very Large Scale Integrated Circuits VLSI Overview
PPTX
Intel processor family
Mobile Device-Architecture
VLSI Technology
CMOS Digital Integrated Circuits - Ch 01_Introduction
Micro controller & Micro processor
Evolution of processors
Technology overview
EE6502 Microprocessor & Microcontroller Regulation 2013
IC technology integration and circuit logic families
Evolution of Computing Microprocessors and SoCs
My Feb 2003 HPCA9 Keynote Slides - Billion Transistor Processor Chips
8085 manual NCIT SAROZ BISTA SIR
VLSI Design-Lecture2 introduction to ic technology
Internet of Things to Internet of Everythings
DileepB EDPS talk 2015
Practical introduction to IoT
1IntroductionToComputersAndComputerOrganization.pptx
Sistem mikroprosessor
Very Large Scale Integrated Circuits VLSI Overview
Intel processor family
Ad

More from SSGMCE SHEGAON (10)

PPTX
Unit-1 intro to communication networks
PPT
Insulating materials- electrial
PPT
Digital communication (DSSS)
DOC
C-programs
PPT
Microcontrollers and RT programming 3
DOCX
Lect 2 loudspeakers (instrumentation)
PPT
Android automation tools
PPTX
Android mobile cotrolled robot (wi fi)
PDF
Khushwant singh's joke book 5
DOCX
7th sem syllabus
Unit-1 intro to communication networks
Insulating materials- electrial
Digital communication (DSSS)
C-programs
Microcontrollers and RT programming 3
Lect 2 loudspeakers (instrumentation)
Android automation tools
Android mobile cotrolled robot (wi fi)
Khushwant singh's joke book 5
7th sem syllabus

Recently uploaded (20)

PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PDF
RMMM.pdf make it easy to upload and study
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Lesson notes of climatology university.
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Sports Quiz easy sports quiz sports quiz
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Classroom Observation Tools for Teachers
PDF
Insiders guide to clinical Medicine.pdf
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Module 4: Burden of Disease Tutorial Slides S2 2025
Microbial diseases, their pathogenesis and prophylaxis
Microbial disease of the cardiovascular and lymphatic systems
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
TR - Agricultural Crops Production NC III.pdf
GDM (1) (1).pptx small presentation for students
RMMM.pdf make it easy to upload and study
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Lesson notes of climatology university.
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Anesthesia in Laparoscopic Surgery in India
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Sports Quiz easy sports quiz sports quiz
O5-L3 Freight Transport Ops (International) V1.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Classroom Observation Tools for Teachers
Insiders guide to clinical Medicine.pdf

Microcontrollers and intro to real time programming 1

  • 1. 1 Microcontrollers and Introduction to Real-Time Programming Prof. Yusuf Leblebici Microelectronic Systems Laboratory (LSM) yusuf.leblebici@epfl.ch
  • 2. 2 Organization  Introduction  Goals of the Course  Historical Perspective - Microprocessors • Pre-history • Last 30 years • Today and tomorrow  A Few Words on Embedded Systems  The Technology Aspect: Moore’s Law  ITRS Predictions
  • 3. 3 Goals and Objectives In this course, you will:  Learn how the hardware (HW) and software (SW) components of a microprocessor-based system work together to implement digital systems.  Learn both HW and SW aspects of integrating digital devices (memory, I/O interfaces, etc.) into microprocessor / microcontroller systems.  Get practical hands-on experience in system design and assembly language programming.
  • 4. 4 Goals and Objectives Remember: There is always more than one way of looking at things ! Hardware Design Software Design
  • 5. 5 Goals and Objectives In the classroom lectures, you will learn more about the hardware architecture aspects of microprocessors and microcontrollers, their internal building blocks, operation principles, interfacing with other digital systems etc… In the laboratory sessions, you will learn more about the machine code and assembly language programming of microprocessors / microcontrollers, and implementation of digital systems using these devices.
  • 6. 6 Goals and Objectives The classroom lectures will be in English. The laboratory sessions and exercises will be in French. There will be regular handouts for reading: Book chapters Lecture slides Laboratory manuals etc… Please follow the lectures regularly – it’s important !
  • 7. 7 Building Blocks of Digital Systems MEMORY DATAPATH CONTROL INPUT-OUTPUT Main question: How to implement these functions ?
  • 8. 8 Computer Pre-history • Charles Babbage • Analytical Engine • Started in 1834 • Never finished
  • 9. 9 Computer History Eckert and Mauchly • 1st working electronic computer (1946) • 18,000 Vacuum tubes • 1,800 instructions/sec • 3,000 ft3
  • 10. 10 Computer History • Maurice Wilkes 1st store program computer 650 instructions/sec 1,400 ft3 http://www.cl.cam.ac.uk/UoCCL/misc/EDSAC99/ EDSAC 1 (1949)
  • 12. 12
  • 14. 14 Word length: 16 bits (15 bits data + parity bit) First computer using integrated circuits (ICs) Magnetic core memory Fixed memory (ROM): 36,864 words Erasable memory (RAM): 2,048 words Number of instructions: 34 Cycle time: 11.7 µsec Clock frequency: 85 kHz (!) Number of logic gates: 5,600 (2,800 packages) Weight: 30 kg Power consumption: 70 W Apollo Guidance Computer (AGC)
  • 15. 15 Intel 4004 Microprocessor • Introduced in 1970 – First microprocessor – 4 bit architecture ! • 2,250 transistors • 12 mm2 • Clock: 108 kHz
  • 16. 16 Intel 8085 Microprocessor • Introduced in 1974 • 8-bit architecture • Still used in some microcontroller applications !
  • 17. 17 Intel 8086 Microprocessor • Introduced in 1979 • 29,000 transistors • 33 mm2 • Clock: 5 MHz • 16 bit architecture
  • 18. 18 Intel 386 Microprocessor • Introduced in 1985 • 275,000 transistors • 43 mm2 • Clock: 16 MHz • 32 bit architecture
  • 19. 19 Intel 486 Microprocessor • Introduced in 1989 • 1,200,000 transistors • 81 mm2 • Clock: 25 MHz • 32 bit architecture – 1st pipelined implementation of IA32
  • 20. 20 Intel Pentium Microprocessor • Introduced in 1993 • 3,100,000 transistors • 296 mm2 • Clock: 60 MHz • 32 bit architecture – 1st superscalar implementation of IA32
  • 21. Pentium Processor Details • State – Registers – Memory • Control ROM • Combinational logic REG
  • 22. 22 Intel Pentium III • Introduced in 1999 • 9,500,000 transistors • 125 mm2 • Clock: 450 MHz • 32 bit architecture
  • 23. 23 DEC Alpha 21264 • Introduced in 1998 • 15,200,000 transistors • 302 mm2 • Clock: 700 MHz • 64 bit architecture • Still the highest performance commercial microprocessor: SPEC-95fp Alpha 21264: 66 Pentium III Xeon: 30.4
  • 25. 25 Don’t think that the highest-performance processors are always found in a computer !! • Sony Playstation II • Chip designed by Toshiba • Introduced in 1998 • 10,500,000 transistors • 238 mm2 • Clock: 300 MHz • 128 bit architecture • 10 floating-point multiplier accumulators • MPEG-2 decoder • Multimedia processor
  • 26. 26 Embedded Systems About four (!) percent of the world’s microprocessors are used in computers. Source: Embedded Systems Programming, May 1999 Average car has about 15 microprocessors. Mercedes S-class: 63 microprocessors !! 32-bit embedded microprocessors 16-bit 8-bit 8-bit 250 million 1 billion 1 billion 1 billion 125 million PCs Intel, AMD Motorola, ARM, MIPS, i960, x86, … Only 4% of the total number
  • 27. 27 New Direction: System-on-Chip (SoC) ASIC Core Memory Embedded Processor Core Analog Functions Communication Sensor Interface
  • 28. 28 Building Blocks of Digital Systems MEMORY DATAPATH CONTROL INPUT-OUTPUT Main question: How to implement these functions ? CPU
  • 29. 29 Bus and CPU Bus: A shared group of wires used for communicating signals among devices • address bus: the device and the location within the device that is being accessed • data bus: the data value being communicated • control bus: describes the action on the address and data buses CPU: Core of the processor, where instructions are executed • High-level language: a = b + c • Assembly language: add r1 r2 r3 • Machine language: 0001001010111010101
  • 30. 30 Memory and I/O Memory: Where instructions (programs) and data are stored • Organized in arrays of locations (addresses), each storing one byte (8 bits) in general • A read operation to a particular location always returns the last value stored in that location I/O devices: Enable system to interact with the world • Device interface (a.k.a. controller or adapter) hardware connects actual device to bus • The CPU views the I/O device registers just like memory that can be accessed over the bus. However, I/O registers are connected to external wires, device control logic, etc. • Reads may not return last value written • Writes may have side effects
  • 32. 32
  • 33. 33 YEAR 2002 2005 2008 2011 2014 TECHNOLOGY 130 nm 100 nm 70 nm 50 nm 35 nm CHIP SIZE 400 mm 2 600 mm 2 750 mm 2 800 mm 2 900 mm 2 NUMBER OF TRANSISTORS (LOGIC) 400 M 1 Billion 3 Billion 6 Billion 16 Billion DRAM CAPACITY 2 Gbits 10 Gbits 25 Gbits 70 Gbits 200 Gbits MAXIMUM CLOCK FREQUENCY 1.6 GHz 2.0 GHz 2.5 GHz 3.0 GHz 3.5 GHz MINIMUM SUPPLY VOLTAGE 1.5 V 1.2 V 0.9 V 0.6 V 0.6 V MAXIMUM POWER DISSIPATION 130 W 160 W 170 W 175 W 180 W MAXIMUM NUMBER OF I/O PINS 2500 4000 4500 5500 6000 ITRS - International Technology Roadmap for Semiconductors Predictions of the worldwide semiconductor / IC industry about its own future prospects...
  • 34. 34 YEAR 2002 2005 2008 2011 2014 TECHNOLOGY 130 nm 100 nm 70 nm 50 nm 35 nm CHIP SIZE 400 mm 2 600 mm 2 750 mm 2 800 mm 2 900 mm 2 NUMBER OF TRANSISTORS (LOGIC) 400 M 1 Billion 3 Billion 6 Billion 16 Billion DRAM CAPACITY 2 Gbits 10 Gbits 25 Gbits 70 Gbits 200 Gbits MAXIMUM CLOCK FREQUENCY 1.6 GHz 2.0 GHz 2.5 GHz 3.0 GHz 3.5 GHz MINIMUM SUPPLY VOLTAGE 1.5 V 1.2 V 0.9 V 0.6 V 0.6 V MAXIMUM POWER DISSIPATION 130 W 160 W 170 W 175 W 180 W MAXIMUM NUMBER OF I/O PINS 2500 4000 4500 5500 6000 Shrinking Device Dimensions
  • 35. 35 YEAR 2002 2005 2008 2011 2014 TECHNOLOGY 130 nm 100 nm 70 nm 50 nm 35 nm CHIP SIZE 400 mm 2 600 mm 2 750 mm 2 800 mm 2 900 mm 2 NUMBER OF TRANSISTORS (LOGIC) 400 M 1 Billion 3 Billion 6 Billion 16 Billion DRAM CAPACITY 2 Gbits 10 Gbits 25 Gbits 70 Gbits 200 Gbits MAXIMUM CLOCK FREQUENCY 1.6 GHz 2.0 GHz 2.5 GHz 3.0 GHz 3.5 GHz MINIMUM SUPPLY VOLTAGE 1.5 V 1.2 V 0.9 V 0.6 V 0.6 V MAXIMUM POWER DISSIPATION 130 W 160 W 170 W 175 W 180 W MAXIMUM NUMBER OF I/O PINS 2500 4000 4500 5500 6000 Increasing Function Density
  • 36. 36 YEAR 2002 2005 2008 2011 2014 TECHNOLOGY 130 nm 100 nm 70 nm 50 nm 35 nm CHIP SIZE 400 mm 2 600 mm 2 750 mm 2 800 mm 2 900 mm 2 NUMBER OF TRANSISTORS (LOGIC) 400 M 1 Billion 3 Billion 6 Billion 16 Billion DRAM CAPACITY 2 Gbits 10 Gbits 25 Gbits 70 Gbits 200 Gbits MAXIMUM CLOCK FREQUENCY 1.6 GHz 2.0 GHz 2.5 GHz 3.0 GHz 3.5 GHz MINIMUM SUPPLY VOLTAGE 1.5 V 1.2 V 0.9 V 0.6 V 0.6 V MAXIMUM POWER DISSIPATION 130 W 160 W 170 W 175 W 180 W MAXIMUM NUMBER OF I/O PINS 2500 4000 4500 5500 6000 Increasing Clock Frequency
  • 37. 37 YEAR 2002 2005 2008 2011 2014 TECHNOLOGY 130 nm 100 nm 70 nm 50 nm 35 nm CHIP SIZE 400 mm 2 600 mm 2 750 mm 2 800 mm 2 900 mm 2 NUMBER OF TRANSISTORS (LOGIC) 400 M 1 Billion 3 Billion 6 Billion 16 Billion DRAM CAPACITY 2 Gbits 10 Gbits 25 Gbits 70 Gbits 200 Gbits MAXIMUM CLOCK FREQUENCY 1.6 GHz 2.0 GHz 2.5 GHz 3.0 GHz 3.5 GHz MINIMUM SUPPLY VOLTAGE 1.5 V 1.2 V 0.9 V 0.6 V 0.6 V MAXIMUM POWER DISSIPATION 130 W 160 W 170 W 175 W 180 W MAXIMUM NUMBER OF I/O PINS 2500 4000 4500 5500 6000 Decreasing Supply Voltage
  • 38. 38
  • 39. 39
  • 40. 40
  • 41. 41 Some Interesting WWW Links • Great Microprocessors of the Past and Present http://www3.sk.sympatico.ca/jbayko/cpu.html • CPU Info Center http://bwrc.eecs.berkeley.edu/CIC/ • CPU Design HOW-TO http://www.linuxdoc.org/HOWTO/CPU-Design-HOWTO.html • VLSI Microprocessors http://www.microprocessor.sscc.ru/ • Molecular Expressions Chip Shots Gallery http://micro.magnet.fsu.edu/chipshots/index.html