introduction - setha.ppt

79
7/23/2019 Introduction - Setha.ppt http://slidepdf.com/reader/full/introduction-sethappt 1/79 Introduction to Introduction to Embedded Embedded Systems Systems

Upload: vinayaga-moorthy

Post on 18-Feb-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 1/79

Introduction toIntroduction to

EmbeddedEmbeddedSystemsSystems

Page 2: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 2/79

2

ObjectivesObjectives

• Introduction to embedded systemsIntroduction to embedded systems

• Embedded system componentsEmbedded system components

• HardwareHardware• SoftwareSoftware

• Embedded system programmingEmbedded system programming

• Hardware Description Language (HDLHardware Description Language (HDL

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 3: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 3/79

!

"ontents"ontents

• Introduction to embedded systemsIntroduction to embedded systems

• Software engineeringSoftware engineering

• "omputer arc#itecture"omputer arc#itecture• Operating systemsOperating systems

• Digita$ systemsDigita$ systems

• %rogramming practice%rogramming practice

• &#eory for practica$ wor's&#eory for practica$ wor's

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 4: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 4/79

"ontents"ontents

• Lab) Software programming too$sLab) Software programming too$s

• Introduction to #ardware syst#esisIntroduction to #ardware syst#esis

• Lab) E*terna$ interfaceLab) E*terna$ interface

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 5: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 5/79

+ Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

,- .i$$iams "sci/!!01 Spring 22 2

.ire$ess "ommunications

Hand/#e$d 3%S 4nits

&e$ematics System for 5utomobi$es

S$ide credit , .i$$iams1 3.4S$ide credit , .i$$iams1 3.4

Page 6: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 6/79

6 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

,- .i$$iams "sci/!!01 Spring 22 22

7obotics "ontro$

Spider robot 8 constructed wit# LE3O 9indstorms "omponents

Slide credit Y Williams, GWU Slide credit Y Williams, GWU 

Page 7: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 7/79

:

9ore e*amp$es9ore e*amp$es

Slide credit Y Williams, GWU Slide credit Y Williams, GWU 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

,- .i$$iams "sci/!!01 Spring 22 2

Smart &oys

Page 8: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 8/79

; Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngumSlide credit Y Williams, GWU Slide credit Y Williams, GWU 

,- .i$$iams "sci/!!01 Spring 22 2<

"ruise 9issi$e 3uidance

Page 9: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 9/79

0

Slide credit S. Kowalewsi !achen Uni"ersitySlide credit S. Kowalewsi !achen Uni"ersity

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 10: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 10/79

<Slide credit P Koo#man, $%U Slide credit P Koo#man, $%U 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 11: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 11/79

<<

DefinitionDefinition

== Any sort of device which includes a Any sort of device which includes a

programmable computer but itself is notprogrammable computer but itself is not

intended to be a general-purposeintended to be a general-purpose

computer computer >> Wayne Wolf Wayne Wolf 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 12: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 12/79

<2

DefinitionDefinition

S$ide credit % ?oopman1 "94S$ide credit % ?oopman1 "94

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 13: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 13/79

<!

Embedded systems overviewEmbedded systems overview

"omputing systems are everyw#ere"omputing systems are everyw#ere

9ost of us t#in' of =des'top> computers9ost of us t#in' of =des'top> computers 8  %"@s%"@s

 8  LaptopsLaptops 8  9ainframes9ainframes

 8  ServersServers

Aut t#ere@s anot#er type of computing systemAut t#ere@s anot#er type of computing system

 8  Bar more common---Bar more common---

Slide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction, Slide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction,

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 14: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 14/79

<

Embedded systems overviewEmbedded systems overview

Embedded computing systemsEmbedded computing systems 8  "omputing systems embedded"omputing systems embedded

wit#in e$ectronic deviceswit#in e$ectronic devices

 8 Hard to define- Cear$y anyHard to define- Cear$y anycomputing system ot#er t#an acomputing system ot#er t#an ades'top computer des'top computer 

 8  Ai$$ions of units produced year$y1Ai$$ions of units produced year$y1versus mi$$ions of des'top unitsversus mi$$ions of des'top units

 8  %er#aps + per #ouse#o$d and per%er#aps + per #ouse#o$d and perautomobi$eautomobi$e

Slide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*iedSlide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction,  +ardware'So*tware Introduction,

"omputers are in #ere---

and #ere---

and even #ere---

Lots more of t#ese1

t#oug# t#ey cost a $ot

$ess eac#-

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 15: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 15/79

<+

5 =s#ort $ist> of embedded5 =s#ort $ist> of embedded

systemssystems

5nd t#e $ist goes on and on5nd t#e $ist goes on and onSlide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction, Slide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction,

5nti/$oc' bra'es5uto/focus cameras

5utomatic te$$er mac#ines

5utomatic to$$ systems

5utomatic transmission

5vionic systems

Aattery c#argers

"amcorders

"e$$ p#ones

"e$$/p#one base stations

"ord$ess p#ones

"ruise contro$

"urbside c#ec'/in systems

Digita$ cameras

Dis' drives

E$ectronic card readers

E$ectronic instruments

E$ectronic toysgames

Bactory contro$

Ba* mac#ines

Bingerprint identifiers

Home security systemsLife/support systems

9edica$ testing systems

9odems9%E3 decoders

 Cetwor' cards

 Cetwor' switc#esrouters

On/board navigation

%agers

%#otocopiers

%oint/of/sa$e systems

%ortab$e video games

%rinters

Sate$$ite p#ones

Scanners

Smart ovensdis#was#ers

Speec# recogniers

Stereo systems

&e$econferencing systems

&e$evisions

&emperature contro$$ers

&#eft trac'ing systems

&F set/top bo*es

F"7@s1 DFD p$ayers

Fideo game conso$esFideo p#ones

.as#ers and dryers

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 16: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 16/79

<6

How many do we useGHow many do we useG 5verage midd$e/c$ass 5merican #ome #as to +5verage midd$e/c$ass 5merican #ome #as to +

embedded processors in itembedded processors in it 8  9icrowave1 was#er1 dryer1 dis#was#er1 &F1 F"719icrowave1 was#er1 dryer1 dis#was#er1 &F1 F"71

stereo1 #air dryer1 coffee ma'er1 remote contro$1stereo1 #air dryer1 coffee ma'er1 remote contro$1

#umidifier1 #eater1 toys1 etc-#umidifier1 #eater1 toys1 etc-

Lu*ury cars #ave over 6 embedded processorsLu*ury cars #ave over 6 embedded processors 8  Ara'es1 steering1 windows1 $oc's1 ignition1 das#boardAra'es1 steering1 windows1 $oc's1 ignition1 das#board

disp$ays1 transmission1 mirrors1 etc-disp$ays1 transmission1 mirrors1 etc-

%ersona$ computers #ave over < embedded%ersona$ computers #ave over < embedded

 processors processors 8  3rap#ics acce$erator1 mouse1 'eyboard1 #ard/drive1 "D/3rap#ics acce$erator1 mouse1 'eyboard1 #ard/drive1 "D/

7O91 bus interface1 networ' card1 etc-7O91 bus interface1 networ' card1 etc-- %ie Schulte- %ie Schulte

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 17: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 17/79

<:

Embedded Systems Embedded Systems  ระบบระบบฝ   งต  วฝ   งต  ว

 ค  ดถ  งคอมพ  วเตอร   พ  ซ   เราน  กถ  ง ค  ดถ  งคอมพ  วเตอร   พ  ซ   เราน  กถ  ง 8 %rocessor %rocessor 11 "$oc' speed"$oc' speed11 7O97597O9759

 พดถ  งเคร   องใช   ไฟฟ   าท  วไ เราน  กถ  งพดถ  งเคร   องใช   ไฟฟ   าท  วไ เราน  กถ  งท  วท  ว // !นาด"อ!นาด"อ11 เทค#น#$%  การ&า%'าพเทค#น#$%  การ&า%'าพ เคร   องซ ก(  า เคร   องซ ก(  า // !นาดความ")!นาดความ")11 ระบบซ กระบบซ ก

 *อร   

*อร   //

A&4A&4

 $ ก+,ะการตดต   ง$ ก+,ะการต  ดต   ง #ทร- พท  ม อถอ #ทร- พท  ม   อถ  อ // "อ ก$  อง ฟ  งก  ช  น "อ ก$  อง ฟ  งก  ช  น

 รถ%นต   รถ%นต   // !นาดเคร   อง%นต   .มรรถนะ!นาดเคร   อง%นต   .มรรถนะ

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 18: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 18/79

<;

&ypes of Embedded Systems&ypes of Embedded Systems

Slide credit P Koo#man, $%U Slide credit P Koo#man, $%U 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 19: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 19/79

<0

&ypes of Embedded Systems&ypes of Embedded Systems

Slide credit S. Kowalewsi !achen Uni"ersitySlide credit S. Kowalewsi !achen Uni"ersity

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 20: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 20/79

2

&ypica$ Embedded Systems&ypica$ Embedded Systems

5re designed to observed (t#roug# sensors5re designed to observed (t#roug# sensors

and contro$ somet#ing (t#roug# actuatorsand contro$ somet#ing (t#roug# actuators

E-g- air condition senses room temperature andE-g- air condition senses room temperature and

maintains it at set temperature via t#ermostat-maintains it at set temperature via t#ermostat-

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 21: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 21/79

2<

Embedded System A$oc' DiagramEmbedded System A$oc' Diagram

Slide credit Y Williams, GWU Slide credit Y Williams, GWU 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

%rocessor 

mem

Observe(Input

"ontro$(Output 9otorLig#t

&emperature

Sensor 

SystemAus

Page 22: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 22/79

22

%rocessors%rocessors

9icroprocessors for %"s9icroprocessors for %"s

Embedded processors or 9icrocontro$$ersEmbedded processors or 9icrocontro$$ers

for embedded systemsfor embedded systems 8 Often wit# $ower c$oc' speedsOften wit# $ower c$oc' speeds

 8 Integrated wit# memory andIntegrated wit# memory and

 8 IO devices e-g- 5D D5 %.9 "5CIO devices e-g- 5D D5 %.9 "5C

 8 Hig#er environmenta$ specsHig#er environmenta$ specs

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 23: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 23/79

2!

9icrocontro$$ers dominates processor mar'et9icrocontro$$ers dominates processor mar'et

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 24: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 24/79

2

&#ere are so many microcontro$$ers in t#e&#ere are so many microcontro$$ers in t#e

wor$dwor$d

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 25: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 25/79

2+

&ypes of Embedded %rocessors&ypes of Embedded %rocessors "omputationa$ micros (!2/ or 6/bit datapat#s"omputationa$ micros (!2/ or 6/bit datapat#s

 8  "%4 of wor'stations1 %"s1 or #ig#/end portab$e devices (%D5s"%4 of wor'stations1 %"s1 or #ig#/end portab$e devices (%D5s

 8  *;61 %5/7IS"1 %ower%"1 S%57"1 etc-*;61 %5/7IS"1 %ower%"1 S%57"1 etc-

Embedded genera$ purpose micros (!2/bit datapat#sEmbedded genera$ purpose micros (!2/bit datapat#s

 8  Designed for a wide range of embedded app$icationsDesigned for a wide range of embedded app$ications

 8  Often sca$ed/down version of computationa$ microsOften sca$ed/down version of computationa$ micros

 8  5791 %ower%"1 9I%S1 *;61 6;?1 etc-5791 %ower%"1 9I%S1 *;61 6;?1 etc-

9icrocontro$$ers (/1 ;/1 or <6/bit datapat#s9icrocontro$$ers (/1 ;/1 or <6/bit datapat#s

 8  Integrate processing unit1 memory1 IO buses1 and perip#era$sIntegrate processing unit1 memory1 IO buses1 and perip#era$s

 8  Often $ow/cost1 #ig#/vo$ume devicesOften $ow/cost1 #ig#/vo$ume devices

Domain/specific processors (datapat# sie varies great$yDomain/specific processors (datapat# sie varies great$y 8  Designed for a particu$ar app$ication domainDesigned for a particu$ar app$ication domain

 8  Digita$ signa$ processors1 mu$timedia processors1 grap#icsDigita$ signa$ processors1 mu$timedia processors1 grap#ics

 processors1 networ' processors1 security processors1 etc- processors1 networ' processors1 security processors1 etc-Slide credit - %ie SchulteSlide credit - %ie Schulte

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 26: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 26/79

26

%rocessor Sa$es Data%rocessor Sa$es Data

Slide credit - %ie SchulteSlide credit - %ie Schulte

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 27: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 27/79

2:

%rocessor 9ar'et%rocessor 9ar'et

2< processor mar'et by vo$ume)2< processor mar'et by vo$ume)

 8  "omputationa$ micros) 2"omputationa$ micros) 2 8  Embedded genera$/purpose micros) <<Embedded genera$/purpose micros) <<

 8  DS%s) <DS%s) <

 8  9icrocontro$$ers) ;9icrocontro$$ers) ;

2< processor mar'et by revenue)2< processor mar'et by revenue) 8  "omputationa$ micros) +<"omputationa$ micros) +<

 8  Embedded genera$/purpose micros) ;Embedded genera$/purpose micros) ;

 8  DS%s) <!DS%s) <!

 8  9icrocontro$$ers) 2;9icrocontro$$ers) 2; Hig#er growt# e*pected for embedded micros1 DS%s1 andHig#er growt# e*pected for embedded micros1 DS%s1 and

microcontro$$ersmicrocontro$$ersSlide credit - %ie SchulteSlide credit - %ie Schulte

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 28: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 28/79

2;

3rowing Demand3rowing Demand

EmbeddedEmbedded processors account processors account

forfor

 8  Over 0: of tota$Over 0: of tota$

 processors so$d processors so$d

 8  Over 6 of tota$Over 6 of tota$

sa$es from processorssa$es from processors

Sa$es e*pected toSa$es e*pected to

increase by roug#$yincrease by roug#$y

<+ eac# year <+ eac# year Slide credit - %ie SchulteSlide credit - %ie Schulte

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 29: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 29/79

20

9oore@s Law9oore@s Law

Slide credit W /ornaciariSlide credit W /ornaciari

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 30: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 30/79

!

 Cumber of &ransistors on "#ips Cumber of &ransistors on "#ips

Slide credit 0 Gi"argisSlide credit 0 Gi"argis

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 31: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 31/79

!<

Slide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction, Slide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction,

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

3rap#ica$ i$$ustration of 9oore@s $aw

<0;< <0; <0;: <00 <00! <006 <000 22

 1eading edge

chi# in 2342

<1

transistors

 1eading edge

chi# in

<+11

transistors

Page 32: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 32/79

!2

Some common c#aracteristics of embeddedSome common c#aracteristics of embedded

systemssystems

Sing$e/functionedSing$e/functioned 8 E*ecutes a sing$e program1 repeated$yE*ecutes a sing$e program1 repeated$y

&ig#t$y/constrained&ig#t$y/constrained 8 Low cost1 $ow power1 sma$$1 fast1 etc-Low cost1 $ow power1 sma$$1 fast1 etc-

7eactive and rea$/time7eactive and rea$/time 8 "ontinua$$y reacts to c#anges in t#e system@s"ontinua$$y reacts to c#anges in t#e system@s

environmentenvironment

 8 9ust compute certain resu$ts in rea$/time9ust compute certain resu$ts in rea$/timewit#out de$aywit#out de$ay

Slide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction, Slide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction,

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 33: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 33/79

!!

"#aracteristics of Embedded Systems"#aracteristics of Embedded Systems 5pp$ication/specific functiona$ity 8 specia$ied for one or one5pp$ication/specific functiona$ity 8 specia$ied for one or one

c$ass of app$icationsc$ass of app$ications Dead$ine constrained operation 8 system may #ave to performDead$ine constrained operation 8 system may #ave to perform

its function(s wit#in specific time periods to ac#ieve successfu$its function(s wit#in specific time periods to ac#ieve successfu$

resu$tsresu$ts

7esource c#a$$enged 8 systems typica$$y are configured wit# a7esource c#a$$enged 8 systems typica$$y are configured wit# a

modest set of resources to meet t#e performance objectivesmodest set of resources to meet t#e performance objectives

%ower efficient 8 many systems are battery/powered and must%ower efficient 8 many systems are battery/powered and must

conserve power to ma*imie t#e usab$e $ife of t#e system-conserve power to ma*imie t#e usab$e $ife of t#e system-

Borm factor 8 many systems are $ig#t weig#t and $ow vo$ume toBorm factor 8 many systems are $ig#t weig#t and $ow vo$ume to

 be used as components in #ost systems be used as components in #ost systems 9anufacturab$e 8 usua$$y sma$$ and ine*pensive to manufacture9anufacturab$e 8 usua$$y sma$$ and ine*pensive to manufacture

 based on t#e sie and $ow comp$e*ity of t#e #ardware- based on t#e sie and $ow comp$e*ity of t#e #ardware-

Slide credit Y William, GWU Slide credit Y William, GWU 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

i i # f $i i

Page 34: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 34/79

!

Design wit# focus on 5pp$icationDesign wit# focus on 5pp$ication

Slide credit P Koo#man, $%U Slide credit P Koo#man, $%U 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 35: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 35/79

!+

Design "onstraintsDesign "onstraints

Slide credit P Koo#man, $%U Slide credit P Koo#man, $%U 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 36: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 36/79

!6

Design "#a$$engesDesign "#a$$enges

Does it rea$$y wor'GDoes it rea$$y wor'G 8 Is t#e specification correctGIs t#e specification correctG

 8 Does t#e imp$ementation meet t#e specGDoes t#e imp$ementation meet t#e specG

 8 How do we test for rea$/time c#aracteristicsGHow do we test for rea$/time c#aracteristicsG

 8 How do we test on rea$ dataGHow do we test on rea$ dataG How do we wor' on t#e systemGHow do we wor' on t#e systemG

 8 Observabi$ity1 contro$$abi$ityGObservabi$ity1 contro$$abi$ityG

 8 .#at is our deve$opment p$atformG.#at is our deve$opment p$atformGSlide credit P Koo#man, $%U Slide credit P Koo#man, $%U 

More importantly – optimising designMore importantly – optimising design

metrics!!metrics!!

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 37: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 37/79

!:

Design 9etricsDesign 9etrics

• "ommon metrics"ommon metrics

• 4nit cost)4nit cost) t#e monetary cost of manufacturing eac# copy oft#e monetary cost of manufacturing eac# copy of

t#e system1 e*c$uding C7E costt#e system1 e*c$uding C7E cost

•  C7E cost (Con/7ecurring Engineering cost) C7E cost (Con/7ecurring Engineering cost)&#e one/time monetary cost of designing t#e system&#e one/time monetary cost of designing t#e system

• Sie)Sie) t#e p#ysica$ space reJuired by t#e systemt#e p#ysica$ space reJuired by t#e system

• %erformance)%erformance) t#e e*ecution time or t#roug#put of t#e systemt#e e*ecution time or t#roug#put of t#e system

• %ower)%ower) t#e amount of power consumed by t#e systemt#e amount of power consumed by t#e system

• B$e*ibi$ity)B$e*ibi$ity) t#e abi$ity to c#ange t#e functiona$ity of t#et#e abi$ity to c#ange t#e functiona$ity of t#e

system wit#out incurring #eavy C7E costsystem wit#out incurring #eavy C7E cost

Slide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware IntroductionSlide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 38: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 38/79

!;

Design 9etricsDesign 9etrics

• "ommon metrics (continued"ommon metrics (continued

• &ime/to/prototype)&ime/to/prototype) t#e time needed to bui$d a wor'ingt#e time needed to bui$d a wor'ing

version of t#e systemversion of t#e system

• &ime/to/mar'et)&ime/to/mar'et) t#e time reJuired to deve$op a system tot#e time reJuired to deve$op a system tot#e point t#at it can be re$eased and so$d to customerst#e point t#at it can be re$eased and so$d to customers

• 9aintainabi$ity)9aintainabi$ity) t#e abi$ity to modify t#e system after itst#e abi$ity to modify t#e system after its

initia$ re$easeinitia$ re$ease

• "orrectness1 safety1 many more"orrectness1 safety1 many more

Slide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware IntroductionSlide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 39: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 39/79

!0

&rade/off in Design 9etrics&rade/off in Design 9etrics

E*pertise wit# bot#E*pertise wit# bot#software and hardwaresoftware and hardware 

is needed to optimieis needed to optimie

design metricsdesign metrics

 8   Cot just a #ardware or Cot just a #ardware or

software e*pert1 as issoftware e*pert1 as is

commoncommon

 8  5 designer must be5 designer must be

comfortab$e wit# variouscomfortab$e wit# various

tec#no$ogies in order totec#no$ogies in order to

c#oose t#e best for a givenc#oose t#e best for a givenapp$ication and constraintsapp$ication and constraints

Slide credit &ahid'Gi"argis, Embedded Systems (esign)Slide credit &ahid'Gi"argis, Embedded Systems (esign)

 ! Uni*ied +ardware'So*tware Introduction ! Uni*ied +ardware'So*tware Introduction

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Sie%erformance

%ower 

 C7E cost

&i t ' t d di d i&ime to mar'et) a demanding design

Page 40: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 40/79

&ime/to/mar'et) a demanding design&ime/to/mar'et) a demanding design

metricmetric &ime reJuired to deve$op&ime reJuired to deve$op

a product to t#e point ita product to t#e point it

can be so$d to customerscan be so$d to customers

9ar'et window9ar'et window

 8  %eriod during w#ic# t#e%eriod during w#ic# t#e

 product wou$d #ave #ig#est product wou$d #ave #ig#est

sa$essa$es

5verage time/to/mar'et5verage time/to/mar'et

constraint is about ;constraint is about ;

mont#smont#s De$ays can be cost$yDe$ays can be cost$y

Slide credit &ahid'Gi"argis, Embedded Systems (esign) !Slide credit &ahid'Gi"argis, Embedded Systems (esign) !

Uni*ied +ardware'So*tware IntroductionUni*ied +ardware'So*tware Introduction

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

   7  e  v  e  n  u  e  s   (   K   

&ime (mont#s

Losses due to de$ayed mar'etLosses due to de$ayed mar'et

Page 41: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 41/79

<

Losses due to de$ayed mar'etLosses due to de$ayed mar'et

entryentry

Simp$ified revenue mode$Simp$ified revenue mode$

 8  %roduct $ife 2.1 pea' at .%roduct $ife 2.1 pea' at .

 8  &ime of mar'et entry defines&ime of mar'et entry defines

a triang$e1 representinga triang$e1 representing

mar'et penetrationmar'et penetration 8  &riang$e area eJua$s revenue&riang$e area eJua$s revenue

LossLoss

 8  &#e difference between t#e&#e difference between t#e

on/time and de$ayed triang$eon/time and de$ayed triang$eareasareasSlide credit &ahid'Gi"argis, Embedded SystemsSlide credit &ahid'Gi"argis, Embedded Systems

 (esign) ! Uni*ied +ardware'So*tware (esign) ! Uni*ied +ardware'So*tware

 Introduction Introduction

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

On/time De$ayed

entry entry

%ea' revenue

%ea' revenue from

de$ayed entry

9ar'et rise 9ar'et fa$$

. 2.

&ime

D

5n-time

 (elayed 

   7  e  v  e  n  u  e  s   (   K   

Page 42: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 42/79

2

Ot#er Design "onsiderationsOt#er Design "onsiderations

Dependabi$ityDependabi$ity

 8 7e$iabi$ity) probabi$ity of system wor'ing7e$iabi$ity) probabi$ity of system wor'ing

correct$y provided t#at it wor'ed at time tcorrect$y provided t#at it wor'ed at time t

 8 9aintainabi$ity) probabi$ity of system wor'ing9aintainabi$ity) probabi$ity of system wor'ing

correct$y d time units after error occurred-correct$y d time units after error occurred-Some systems reJuire no maintenanceSome systems reJuire no maintenance

t#roug#out t#eir operating $ives (e-g- e$ectrict#roug#out t#eir operating $ives (e-g- e$ectric

'ett$es1 computer 'eyboards1 w#i$e some may'ett$es1 computer 'eyboards1 w#i$e some may

need it suc# as mobi$e p#ones and airp$aneneed it suc# as mobi$e p#ones and airp$ane

f$ig#t contro$ (software upgradef$ig#t contro$ (software upgradeMM 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 43: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 43/79

!

Ot#er Design "onsiderationsOt#er Design "onsiderations

Dependabi$ityDependabi$ity

 8 5vai$abi$ity) probabi$ity of system wor'ing at5vai$abi$ity) probabi$ity of system wor'ing at

time ttime t

 8 SafetySafety

 8 Security) in communicationSecurity) in communication

Aasica$$y1 cAasica$$y1 critica$ app$ications #ave to operateritica$ app$ications #ave to operate

correct$y at a$$ time e-g- airp$ane f$ig#t contro$correct$y at a$$ time e-g- airp$ane f$ig#t contro$computer- &#is inc$udes bot#computer- &#is inc$udes bot# hardware andhardware and

softwaresoftware aspects-aspects-

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

E $ f S t B $tE $ f S t B $t

Page 44: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 44/79

E*amp$e of System Bau$tE*amp$e of System Bau$t

Slide credit 6. PahamiSlide credit 6. Pahami

Page 45: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 45/79

+

Ot#er Design "onsiderationsOt#er Design "onsiderations

OO perating environment perating environment

Some engine E$ectronic "ontro$ 4nits (E"4s inSome engine E$ectronic "ontro$ 4nits (E"4s in

cars are $ocated under t#e bonnets- So t#ey #avecars are $ocated under t#e bonnets- So t#ey #ave

to wor' at #ig# temperature1 as we$$ as dustyto wor' at #ig# temperature1 as we$$ as dustyand wet environment-and wet environment-

E9I (E$ectromagnetic InterferenceE9I (E$ectromagnetic Interference

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 46: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 46/79

6

7ea$/&ime "onsideration7ea$/&ime "onsideration

"orrect operation of rea$/time systems"orrect operation of rea$/time systems

means)means)

 8 .or'ing correct$y (functiona$$y correct.or'ing correct$y (functiona$$y correct

 8 %roducing outputs%roducing outputs in timein time!!

i-e- correct resu$t at t#e rig#t timei-e- correct resu$t at t#e rig#t time

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 47: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 47/79

:

Hard 7ea$/timeHard 7ea$/time

System designed to meet a$$ dead$inesSystem designed to meet a$$ dead$ines 5 missed dead$ine is a design f$aw5 missed dead$ine is a design f$aw

Bor e*amp$es) 5AS bra'e1 nuc$ear reactorBor e*amp$es) 5AS bra'e1 nuc$ear reactor

monitoring systemmonitoring system System #ardware (over designed for worst/System #ardware (over designed for worst/

case performancecase performance

System software rigorous$y testedSystem software rigorous$y tested

Borma$ proofs used to guarantee timingBorma$ proofs used to guarantee timingcorrectnesscorrectness

Slide credit 0 Gi"argisSlide credit 0 Gi"argis

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 48: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 48/79

;

Birm 7ea$/timeBirm 7ea$/time

System designed to meet a$$ dead$ines1 butSystem designed to meet a$$ dead$ines1 butoccasiona$ missed dead$ine is a$$owedoccasiona$ missed dead$ine is a$$owed 8 Sometimes statistica$$y Juantified (e-g- +Sometimes statistica$$y Juantified (e-g- +

missesmisses

Bor e*amp$es) mu$timedia systemsBor e*amp$es) mu$timedia systems

System #ardware designed for average caseSystem #ardware designed for average case performance performance

System software tested under averageSystem software tested under average(idea$ conditions(idea$ conditions

Slide credit 0 Gi"argisSlide credit 0 Gi"argis

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 49: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 49/79

0

Soft 7ea$/timeSoft 7ea$/time

System designed to meet as many dead$inesSystem designed to meet as many dead$inesas possib$eas possib$e 8 Aest effort to comp$ete wit#in specified time1Aest effort to comp$ete wit#in specified time1

 but may be $ate but may be $ate

Bor e*amp$es) networ' switc# or router Bor e*amp$es) networ' switc# or router 

System #ardware designed for average caseSystem #ardware designed for average case performance performance

System software tested under averagedSystem software tested under averaged(idea$ conditions(idea$ conditions

Slide credit 0 Gi"argisSlide credit 0 Gi"argis

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

7 $ ti S t D d$i7 $ ti S t D d$i

Page 50: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 50/79

+

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Deadlines

• Deadline: maximum time before

a task must complete

• The  profit  associated with execution of a taskis after the deadline:

 – Hard deadline: negative

 – Firm

 deadline: !either makeit or "ust don#t do it$

 – Soft  deadline: decreasing

with time

time d 

task 

d  time 

soft 

rm

 hardS$ide ta'en from N-N Lu''ien

7ea$/time Systems Dead$ines7ea$/time Systems Dead$ines

Page 51: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 51/79

+<

Leve$s of System DesignLeve$s of System Design

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

reJuirements

specification

arc#itecture

component

design

system

integration

&raditiona$ Embedded System&raditiona$ Embedded System

Page 52: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 52/79

+2

&raditiona$ Embedded System&raditiona$ Embedded System

Design 5pproac#Design 5pproac#

Decide on t#e #ardwareDecide on t#e #ardware

3ive t#e c#ip to t#e software peop$e-3ive t#e c#ip to t#e software peop$e-

Software programmer must ma'e softwareSoftware programmer must ma'e softwarefit@ on t#e c#ip and on$y use t#atfit@ on t#e c#ip and on$y use t#at

#ardware@s capabi$ities-#ardware@s capabi$ities-

Slide credit -Slide credit - W. %cUmber W. %cUmber  , , %SU  %SU 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 53: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 53/79

+!

%rob$ems wit# Increased "omp$e*ity%rob$ems wit# Increased "omp$e*ity

Systems are becoming more and moreSystems are becoming more and more

comp$e*-comp$e*-

Harder to t#in' about tota$ design-Harder to t#in' about tota$ design-

Harder to fi* bugs-@Harder to fi* bugs-@

Harder to maintain systems over time-Harder to maintain systems over time-

&#erefore1 t#e traditiona$ deve$opment&#erefore1 t#e traditiona$ deve$opment process #as to c#ange1 process #as to c#ange1

Slide credit -Slide credit - W. %cUmber W. %cUmber  , , %SU  %SU 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 54: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 54/79

+

Design wit# &ime "onstraintDesign wit# &ime "onstraint

In embedded e$ectronics1 t#e tota$ design cyc$eIn embedded e$ectronics1 t#e tota$ design cyc$e

must decrease-must decrease-

Historica$$y1 design for automotive e$ectronicHistorica$$y1 design for automotive e$ectronic

systems ta'es !/+ years to deve$op-systems ta'es !/+ years to deve$op-

9ust be reduced to a </! year deve$opment cyc$e-9ust be reduced to a </! year deve$opment cyc$e-

9ust sti$$ be re$iab$e and safe-9ust sti$$ be re$iab$e and safe- 6. Wilie, 7. /ran and 8. Suchyta - %otorola Semiconductor Products Sectors, 9Silicon or So*tware) 0he 6. Wilie, 7. /ran and 8. Suchyta - %otorola Semiconductor Products Sectors, 9Silicon or So*tware) 0he

 /oundation o* !utomoti"e Electronics:, IEEE &ehicular 0ech., !ugust 3;. /oundation o* !utomoti"e Electronics:, IEEE &ehicular 0ech., !ugust 3;.

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 55: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 55/79

++

%ossib$e .ays to Do%ossib$e .ays to Do

 Ceed to 'eep design process abstract for a Ceed to 'eep design process abstract for a

$onger period of time-$onger period of time-

Decomposab$e #ierarc#y (object/oriented-Decomposab$e #ierarc#y (object/oriented-

7euse previous designs)7euse previous designs) 8  .#en a design c#anges1 reuse simi$ar sections-.#en a design c#anges1 reuse simi$ar sections-

 8  Don@t t#row away $ast year@s design and start fromDon@t t#row away $ast year@s design and start from

scratc#Pscratc#P

5utomated verification systems-5utomated verification systems-

Slide credit -Slide credit - W. %cUmber W. %cUmber  , , %SU  %SU 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

$ f b dd d S iL $ f E b dd d S D i

Page 56: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 56/79

+6

Leve$s of Embedded System DesignLeve$s of Embedded System Design

Slide credit Ingo Sander Slide credit Ingo Sander 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 57: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 57/79

+:

Design 5bstractionDesign 5bstraction

Slide credit Ingo Sander Slide credit Ingo Sander 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 58: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 58/79

+;

5bstraction Leve$s5bstraction Leve$s

Slide credit Ingo Sander Slide credit Ingo Sander 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 59: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 59/79

+0

5bstraction Leve$s5bstraction Leve$s

Slide credit Ingo Sander Slide credit Ingo Sander 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 60: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 60/79

6

5bstraction Leve$s5bstraction Leve$s

Slide credit Ingo Sander Slide credit Ingo Sander 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 61: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 61/79

6<

5bstraction Leve$5bstraction Leve$

Slide credit Ingo Sander Slide credit Ingo Sander 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 62: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 62/79

62

Hardware vs SoftwareHardware vs Software

9any functions can be done by9any functions can be done by softwaresoftware onon

a genera$ purpose microprocessora genera$ purpose microprocessor O7 O7  by by

hardwarehardware on an app$ication specific I"son an app$ication specific I"s

(5SI"s(5SI"s

Bor e*amp$es) game conso$e grap#ic1Bor e*amp$es) game conso$e grap#ic1

%.91 %ID contro$%.91 %ID contro$

Leads to HardwareSoftware "o/designLeads to HardwareSoftware "o/design

conceptconcept

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 63: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 63/79

6!

Hardware or SoftwareGHardware or SoftwareG

.#ere to p$ace functiona$ityG.#ere to p$ace functiona$ityG 8  e*) 5 Sort a$gorit#me*) 5 Sort a$gorit#m

Q Baster in #ardware1 but more e*pensive-Baster in #ardware1 but more e*pensive-

Q 9ore f$e*ib$e in software but s$ower-9ore f$e*ib$e in software but s$ower-

Q Ot#er e*amp$esGOt#er e*amp$esG 9ust be ab$e to e*p$ore t#ese various trade/offs)9ust be ab$e to e*p$ore t#ese various trade/offs)

 8  "ost-"ost-

 8  Speed-Speed-

 8  7e$iabi$ity-7e$iabi$ity- 8  Borm (sie1 weig#t1 and power constraints-Borm (sie1 weig#t1 and power constraints-

Slide credit -Slide credit - W. %cUmber W. %cUmber  , , %SU  %SU 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 64: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 64/79

6

Hardware vs SoftwareHardware vs Software

Slide credit -Slide credit - %ie Schulte %ie Schulte

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Embedded

5pp$ication/Specific

%rocessors

Embedded

Domain/Specific

%rocessors

3enera$/%urpose

%rocessors

BB& %rocessors

9%E3 %rocessorsBI7 %rocessors

3rap#ics %rocessors

DS% %rocessors

 Cetwor' %rocessors

.or'stations

%ersona$ "omputers

   %  o  w  e  r   D   %

  e  r   f  o  r  m  a  n  c  e

%rogrammabi$ity and B$e*ibi$ity

Page 65: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 65/79

6+

Hardware vs SoftwareHardware vs Software

Slide credit Ingo Sander Slide credit Ingo Sander 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 66: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 66/79

66

9icrocessor tec#no$ogy9icrocessor tec#no$ogy

Slide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction, Slide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction,

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

%rocessors vary in t#eir customiation for t#e prob$em at #and%rocessors vary in t#eir customiation for t#e prob$em at #andtota$

for i < to C $oop

  tota$ R 9iM

end $oop 

3enera$/purpose

 processor 

Sing$e/purpose

 processor 

5pp$ication/specific

 processor 

Desired

functiona$ity

3 $3 $

Page 67: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 67/79

6:

3enera$/purpose processors3enera$/purpose processors

Slide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction, Slide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction,

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

%rogrammab$e device used in a variety of%rogrammab$e device used in a variety of

app$icationsapp$ications 8  5$so 'nown as =microprocessor>5$so 'nown as =microprocessor>

BeaturesBeatures 8  %rogram memory%rogram memory

 8  3enera$ datapat# wit# $arge register fi$e and3enera$ datapat# wit# $arge register fi$e andgenera$ 5L4genera$ 5L4

4ser benefits4ser benefits 8  Low time/to/mar'et and C7E costsLow time/to/mar'et and C7E costs

 8  Hig# f$e*ibi$ityHig# f$e*ibi$ity

==%entium> t#e most we$$/'nown1 but%entium> t#e most we$$/'nown1 butt#ere are #undreds of ot#erst#ere are #undreds of ot#ers

I7 %"

7egister 

fi$e

3enera$

5L4

Datapat#"ontro$$er 

%rogram

memory

5ssemb$y code

for)

  tota$

  for i < to

"ontro$

$ogic and

State

register 

Data

memory

Page 68: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 68/79

6;

Sing$e/purpose processorsSing$e/purpose processors

Slide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction, Slide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction,

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Digita$ circuit designed to e*ecute e*act$yDigita$ circuit designed to e*ecute e*act$yone programone program

 8  a-'-a- coprocessor1 acce$erator or perip#era$a-'-a- coprocessor1 acce$erator or perip#era$

BeaturesBeatures

 8  "ontains on$y t#e components needed to"ontains on$y t#e components needed toe*ecute a sing$e programe*ecute a sing$e program

 8   Co program memory Co program memory

AenefitsAenefits

 8  BastBast 8  Low power Low power 

 8  Sma$$ sieSma$$ sie

Datapat#"ontro$$er 

"ontro$

$ogic

State

register 

Data

memory

inde*

tota$

R

5 $i ti ifi5 $i ti ifi

Page 69: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 69/79

60

5pp$ication/specific processors5pp$ication/specific processors

Slide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction, Slide credit &ahid'Gi"argis, Embedded Systems (esign) ! Uni*ied +ardware'So*tware Introduction,

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

%rogrammab$e processor optimied for a%rogrammab$e processor optimied for a

 particu$ar c$ass of app$ications #aving particu$ar c$ass of app$ications #aving

common c#aracteristicscommon c#aracteristics

 8  "ompromise between genera$/purpose and"ompromise between genera$/purpose and

sing$e/purpose processorssing$e/purpose processors

BeaturesBeatures 8  %rogram memory%rogram memory

 8  Optimied datapat#Optimied datapat#

 8  Specia$ functiona$ unitsSpecia$ functiona$ units

AenefitsAenefits 8  Some f$e*ibi$ity1 good performance1 sie andSome f$e*ibi$ity1 good performance1 sie and

 power  power 

DS%DS% " ดอ% ในระเ'ทน     ด  ว%" ดอ% ในระเ'ทน     ด  ว%

I7 %"

7egisters

"ustom

5L4

Datapat#"ontro$$er 

%rogram

memory

5ssemb$y code

for)

  tota$

  for i < to

"ontro$

$ogic and

State

register 

Datamemory

B%35 5rc#itectureB%35 5rc#itecture

Page 70: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 70/79

:

B%35 5rc#itectureB%35 5rc#itecture

B%35 $ayout wit# "onfigurab$e Logic A$oc's ("LA and IO A$oc's (IOAB%35 $ayout wit# "onfigurab$e Logic A$oc's ("LA and IO A$oc's (IOA <credit) Kat=:s $ontem#orary 1ogic (esign><credit) Kat=:s $ontem#orary 1ogic (esign>

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

IOB   IOB IOB   IOB

CLB CLB

CLB   CLB

      I      O

      B

      I      O      B

      I      O

      B

      I      O      B

Wiring Channels

&ypica$ "LA <credit) www.wii#edia.com>

%rogrammab$e switc# at wiring intersection

<credit) www.wii#edia.com>

Page 71: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 71/79

:<

Hig#$y constrained products tend to useHig#$y constrained products tend to use

app$ication specific processorsapp$ication specific processors

 8 9any mobi$e p#ones (powerTsie constrained9any mobi$e p#ones (powerTsie constrained

contain 579 c#ipscontain 579 c#ips

 8 Hi/Bi (#ig# performanceTtime constrainedHi/Bi (#ig# performanceTtime constrained

contain DS% c#ipscontain DS% c#ips

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 72: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 72/79

:2

Software "ostsSoftware "osts

Slide credit P Koo#man, $%U Slide credit P Koo#man, $%U 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Discip$ines 4sed in Embedded SystemDiscip$ines 4sed in Embedded System

Page 73: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 73/79

:!

Discip$ines 4sed in Embedded SystemDiscip$ines 4sed in Embedded System

DesignDesign

Slide credit 7 Gu#ta, U$ Ir"ineSlide credit 7 Gu#ta, U$ Ir"ine

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 74: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 74/79

:

&rends in Embedded Systems&rends in Embedded Systems

Slide credit 7 Gu#ta, U$ Ir"ineSlide credit 7 Gu#ta, U$ Ir"ine

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 75: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 75/79

:+

Buture Embedded SystemsButure Embedded Systems

Slide credit P Koo#man, $%U Slide credit P Koo#man, $%U 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

B E b dd d SB t E b dd d S t

Page 76: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 76/79

:6

Buture Embedded SystemsButure Embedded Systems

Slide credit P Koo#man, $%U Slide credit P Koo#man, $%U 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Buture Embedded SystemsButure Embedded Systems

Page 77: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 77/79

::

Buture Embedded SystemsButure Embedded Systems

Slide credit P Koo#man, $%U Slide credit P Koo#man, $%U 

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Observations on Buture EmbeddedObservations on Buture Embedded

Page 78: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 78/79

:;

SystemsSystems

9ore comp$e*ity (peop$e e*pect more9ore comp$e*ity (peop$e e*pect morefunctions and #ig#er performance fromfunctions and #ig#er performance fromt#eir e$ectronic productst#eir e$ectronic products

&#is $eads to more comp$e* software&#is $eads to more comp$e* software .#ic# reJuires better design process.#ic# reJuires better design process

9ore important$y1 t#oroug# testing for9ore important$y1 t#oroug# testing forsafety critica$ systems (diagnostics codes ofsafety critica$ systems (diagnostics codes ofengine E"4s is #a$f of its tota$ softwareengine E"4s is #a$f of its tota$ softwarecodescodes

 Introduction to Embedded Systems Introduction to Embedded Systems   Setha Pan-ngum  Setha Pan-ngum

Page 79: Introduction - Setha.ppt

7/23/2019 Introduction - Setha.ppt

http://slidepdf.com/reader/full/introduction-sethappt 79/79

7esearc# in Embedded Systems7esearc# in Embedded Systems

• Hardware 8 to improve performance (sensors andHardware 8 to improve performance (sensors andactuators1 verification1 etc-actuators1 verification1 etc-

• Software 8 reusabi$ity1 testing1 verification1 OS1 etc-Software 8 reusabi$ity1 testing1 verification1 OS1 etc-

•  Cetwor' 8 #ig#er connectivity between systems (e-g- Cetwor' 8 #ig#er connectivity between systems (e-g-smart #omes $in' many systems toget#er1 standardisedsmart #omes $in' many systems toget#er1 standardised

 protoco$s1 etc- protoco$s1 etc-

• Security 8 protection against attac'sSecurity 8 protection against attac's

• Design 8 improved met#odo$ogy1 more automation1Design 8 improved met#odo$ogy1 more automation1

forma$ verificationforma$ verification