17
Lecture 13 Introduction to Embedded Systems Graduate Computer Architecture Fall 2005 Shih-Hao Hung Dept. of Computer Science and Information Engineering National Taiwan University

Lecture 13 Introduction to Embedded Systems

Embed Size (px)

DESCRIPTION

Lecture 13 Introduction to Embedded Systems. Graduate Computer Architecture Fall 2005 Shih-Hao Hung Dept. of Computer Science and Information Engineering National Taiwan University. Computing Systems. Desktop PC, Workstations, Laptops Servers Tier-0: network appliance Tier-1: webserver - PowerPoint PPT Presentation

Citation preview

Page 1: Lecture 13 Introduction to Embedded Systems

Lecture 13

Introduction to Embedded Systems

Graduate Computer ArchitectureFall 2005

Shih-Hao HungDept. of Computer Science and

Information EngineeringNational Taiwan University

Page 2: Lecture 13 Introduction to Embedded Systems

Computing Systems

• Desktop– PC, Workstations, Laptops

• Servers– Tier-0: network appliance– Tier-1: webserver– Tier-2: application/database server– File servers, Storage-area-network

• Embedded Systems– PDA– Cellphone– Routers– Microcontrollers

Page 3: Lecture 13 Introduction to Embedded Systems

Embedded?

• Computing system embedded within electronic devices.

• Combination of computer hardware and software designed to performance a specific function.

• Any computing system that is not a desktop computer nor a server.

Page 4: Lecture 13 Introduction to Embedded Systems

Area of Applications

• General purpose– PDA

• Control systems– Electronics, Automotive

• Signal processing– Media player, Camera

• Communication– Cellphone, switch

Page 5: Lecture 13 Introduction to Embedded Systems

Market

• Average household uses ~225 embedded processors; about 35 for automobile

• Estimated 5 billion embedded processors in use– 94% share of world market– 6%: Pentium, PowerPC, etc.

[Source: World Semiconductor Trade Statistics Bluebook]

Page 6: Lecture 13 Introduction to Embedded Systems

Key IssuesUser’s Point of View

• Single function/application– Dedicated to specific type of tasks

• Tight constraints– Size– Power– Cost– Time-to-market

• Real-time– Respond to environment in real time

• Safety/Reliability– Failure can result in critical damages

Page 7: Lecture 13 Introduction to Embedded Systems

Key IssuesDeveloper’s Point of View

• Concurrent development of HW and SW, i.e. HW/SW codesign

• Wide selection of uP’s.• Wide selection of OS, mostly real time (RTOS)• Few system resources• Specialized development tools• Debugging skills important• Robust HW/SW

Page 8: Lecture 13 Introduction to Embedded Systems

Example

Page 9: Lecture 13 Introduction to Embedded Systems

Elements

Page 10: Lecture 13 Introduction to Embedded Systems

Trends

• High level of integration– System-on-chip (SoC)– Multiprocessor System-on-Chip (MPSoC)

• HW/SW co-design– Concurrent development– Optimization

• Design flow– Design tools– Experiences

Page 11: Lecture 13 Introduction to Embedded Systems

Microcontroller

• Usually a simple uP plus peripheral support devices integrated in a single package

Page 12: Lecture 13 Introduction to Embedded Systems

SoC

• A uP plus peripheral support devices integrated in a single chip

• E.g. Intel StrongARM

• SoC vs uController?

Page 13: Lecture 13 Introduction to Embedded Systems

SoC Design

• Intellectual Property (IP)– Circuits or cores pre-deisgned/pre-verified for

certain functions– Implications:

• Lower design cost• Fast time-to-market

Page 14: Lecture 13 Introduction to Embedded Systems

Requirements

• Functional– Functions– I/O

• Non-functional– Performance– Cost– Power consumption– Size/weight

Page 15: Lecture 13 Introduction to Embedded Systems

Architecture

• How to implement the specifications– Components– System structure– Hardware/software partitioning

• HW/SW work together to solve a problem• Partitioning decided by

– Performance– Flexibility– Cost

Page 16: Lecture 13 Introduction to Embedded Systems

Architecture Design

Page 17: Lecture 13 Introduction to Embedded Systems

Designing An Embedded System

• Understand the big picture

• Understand the details

• Design SW with– Real time constraints– Low power– Small code size

• Domain-specific knowledge