2008 - devi ahilya vishwavidyalaya , · pdf file2008 chapter-1l02: "embedded systems -...

26
2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 1 Chapter 1 Lesson 2: PROCESSOR IN EMBEDDED SYSTEM

Upload: doanquynh

Post on 20-Mar-2018

222 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

1

Chapter 1 Lesson 2:PROCESSOR IN EMBEDDED

SYSTEM

Page 2: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

2

Hardware units in the Embedded Hardware units in the Embedded SystemsSystems

Page 3: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

3

Typical Embedded System Hardware Typical Embedded System Hardware unitsunits

Page 4: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

4

ProcessorProcessor

� Program Flow and data path Control Unit (CU) —includes a fetch unit for fetching instructions from the memory

Page 5: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

5

ProcessorProcessor� Execution Unit (EU) —includes

circuits for arithmetic and logical unit (ALU), and for instructions for a program control task, say, data transfer instructions, halt, interrupt, or jump to another set of instructions or call to another routine or sleep or reset

Page 6: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

6

System designer considerationsSystem designer considerations� Processor Instructions in the Instruction set� Processor ability to solve the complex

algorithms used in meeting the deadlines for their processing.

� Maximum bits in operand (8 or 16 or 32) in a single arithmetic or logical operation.

� Internal and External bus-widths in the data-path

Page 7: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

7

System designer considerationsSystem designer considerationsClock frequency in MHz and processing

speed –� Million Instructions Per Second (MIPS) or� Million Floating Point Instructions Per

Second (MFLOPS) or � Dhrystone– an alternate metric for

measuring processing performance. Refer Section 2.6

Page 8: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

8

1a. General purpose microprocessor

For example, Intel 80x86, Sparc, or Motorola 68HCxxx

Page 9: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

9

1b. Embedded general purpose Embedded general purpose processorprocessor� Fast context switching features,

use of on-chip Compilers, for example, Intel® XScale™

Applications Personal Internet Client Architecture-based PDAs, cell phones and other wireless devices,

Page 10: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

10

2. Application Specific Instruction-Set Processor (ASIP)

(a)Microcontroller — Intel, Motorola, Hitachi, TI, Philips and ARM, …

For example, an Intel® — MCS51, Philips®51XA, 51MX, or

Motorola — 68HC11, 68HC12, 68HC16

Page 11: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

11

Commonly used exemplary microcontrollers in small scale embedded systems

Small Scale Embedded System 8/16-bit Microcontroller

8051 family

PIC16F8X family

Hitachi H8

68HC11xx

Page 12: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

12

Commonly used exemplary microcontrollers in medium scale embedded systems

Medium Scale Embedded System 16-bit Microcontroller

8051MX PIC 16F876, PIC18

Hitachi D64F2623FA

68HC12xx, 68HC16xx

Page 13: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

13

Commonly used exemplary microcontrollers in large-scale embedded systems

Large Scale Embedded System 32-bit Microcontroller

ARM family Cortex-M3, AtmelAT91 series, ST10 series, Philips

LPC 2000 series, Texas Instrument C16x and TMS470R1B1M,

Samsung S3C44B0X

Hitachi SH7045F

Page 14: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

14

Subunits in a MicrocontrollerSubunits in a Microcontroller

Page 15: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

15

Application Specific Instruction-Set Processor (ASIP)

(b) DSP or (c) Media processor or (d) IO processor or (e) Network processor or (f) A domain specific processor

Page 16: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

16

(b) DSP(b) DSPTypically a � Texas Instruments- C28x

Series, C54xx or C64xx or � Analog Devices SHARC or

TigerSHARC, � Motorola 5600xx

Page 17: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

17

(d) Media processorTI DSP TMS320DM310 or Trimedia

Phillips Media Processor 1x00 series for Processing Streaming and Data Networks and Image, Video and Speech: PNX 1300, PNX 1500 (2002)

Page 18: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

18

A Media Processor PNX 1x00

Page 19: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

19

3. GPP or ASIP core (s)GPP or ASIP core (s)

�GPP or ASIP Integrated into either an Application Specific Integrated Circuit (ASIC), or a Very Large Scale Integrated Circuit (VLSI) circuit or a FPGA core integrated with processor unit(s) in a VLSI (ASIC) chip

Page 20: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

20

4. Application Specific System 4. Application Specific System Processor (ASSP)Processor (ASSP)

Typically a set top box processor or mpeg video-processor or network application processor or mobile application processor

Page 21: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

21

5. Single purpose processorSingle purpose processor or Application Specific Instruction

processor • Floating point Coprocessor • CCD Pixel coprocessor and image

codec in digital camera• Graphic processor• Speech processor • Adaptive filtering processor

Page 22: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

22

• Encryption engine• Decryption engine• Communication protocol stack

processor • Java accelerator

Page 23: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

23

Use of Accelerator Cores: Examples� Java Accelerator Nazonin

Communications Java codes run 15 to 60 Times fast,

� Video Accelerator for fast Video processing

Page 24: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

24

6. 6. Multi core processors or Multi core processors or multiprocessor system using multiprocessor system using

GPPsGPPsExamples• Multiprocessor system for Real time

performance in a video-conference system,

• Embedded firewall cum router,• High-end cell phone, …

Page 25: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

25

SummarySummaryWe learnt � (i) overview of hardware units,� (ii) Processor (s) used in the

systems: general purpose processor, ASIPs (microcontroller, DSP, Media processor, ..), single purpose processor and multi-processor, …

Page 26: 2008 - Devi Ahilya Vishwavidyalaya , · PDF file2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, ... Embedded general purpose processor Fast context switching features, use of

2008 Chapter-1L02: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education

26

End of Lesson 2End of Lesson 2