Intro_ES-I

download Intro_ES-I

of 28

Transcript of Intro_ES-I

  • 8/8/2019 Intro_ES-I

    1/28

    Microprocessor Systems: A Brief Run Down

  • 8/8/2019 Intro_ES-I

    2/28

    At the high end of the scale

    Processor: Intel Pentium 4

    Frequency: 3.2GHz

    Power consumption: 103 W

    max.*

    Process: 90nm

    *Intel document no. 300561-002

  • 8/8/2019 Intro_ES-I

    3/28

    At the low end of the scale

    Processor can consume no more

    than 250-300mW

    Embedded Devices

  • 8/8/2019 Intro_ES-I

    4/28

    Where are the embedded devices?

  • 8/8/2019 Intro_ES-I

    5/28

    Computer Technology DramaticChangeProcessor

    2X in speed every 1.5 years;100X performance in last decade

    Memory

    DRAM capacity: 2X / 2 years; 64X size in last

    decade Cost per bit: improves about 25% per year

    Disk

    capacity: > 2X in size every 1.0 years Cost per bit: improves about 100% per year

    250X size in last decade

  • 8/8/2019 Intro_ES-I

    6/28

    Computer Technology DramaticChange!

    State-of-the-art PC when you graduate:(at least)

    Processor clock speed: 5000 MegaHertz(5.0 GigaHertz)

    Memory capacity: 4000 MegaBytes

    (4.0 GigaBytes) Disk capacity: 2000 GigaBytes

    (2.0 TeraBytes)

    New units! Mega => Giga, Giga => Tera

    (Kilo, Mega, Giga, Tera, Peta, Exa, Zetta, Yotta = 1024 )

    Kilo, Mega, etc. are incorrect Terminologies!

  • 8/8/2019 Intro_ES-I

    7/28

    Challenges

    Post PC Era will be driven

    by 2 technologies:

    1) Mobile Consumer Devices

    e.g., successor tocell phone, PDA,wearable computers

    2) Massive I/O interfacing v/s RAWcomputational power

  • 8/8/2019 Intro_ES-I

    8/28

    Programming Levels ofRepresentation

    High Level Language

    Program (e.g., C)

    Assembly LanguageProgram (e.g. ARM)

    Machine LanguageProgram (ARM)

    Control SignalSpecification

    Compiler

    Assembler

    Machine Interpretation

    temp = v[k];

    v[k] = v[k+1];

    v[k+1] = temp;

    ldr r0 , [r2, #0]ldr r1 , [r2, #4]str r1 , [r2, #0]str r0 , [r2, #4]

    1110 0101 1001 0010 0000 0000 0000 0000

    1110 0101 1001 0010 0000 0000 0000 0100

    1110 0101 1000 0010 0001 0000 0000 0000

    1110 0101 1000 0010 0001 0000 0000 0100

    ALUOP[0:3]

  • 8/8/2019 Intro_ES-I

    9/28

    SOC (System on a Chip) Example

    Hand Held PC

  • 8/8/2019 Intro_ES-I

    10/28

    5 Classic Components of a Computer

    Control

    Datapath

    Memory

    Processor

    Input

    Output

    Control

    Datapath

    Memory

    Processor

    Input

    Output

    Network/Bus

  • 8/8/2019 Intro_ES-I

    11/28

    An Expanded View of the Memory Systems

    Control

    Datapath

    Hard disk

    (Virtual

    Memory)

    Processor

    Re

    gi

    ster

    Main

    Memory2nd CacheCac

    he

    Fastest Slowest

    Smallest Biggest

    Highest Lowest

    Speed:

    Size:

    Cost:

    Cache is handled by hardwareVirtual memory is handled by and Operating System

    Programmer sees only one memory and the registers

  • 8/8/2019 Intro_ES-I

    12/28

    Fetch Decode Execute Cycle

    Instruction

    Fetch

    Instruction

    Decode

    OperandFetch

    Execute

    ResultStore

    Next

    Instruction

    Obtain instruction from program storage

    Determine required actions

    Locate and obtain operand data

    Compute result value or status

    Deposit results in storage for later use

    Determine successor instruction

    Control

    Datapath

    Memory

    Processor

    Input

    Output

    ALU Registers

  • 8/8/2019 Intro_ES-I

    13/28

    EELC2041 lec01-Intro.13 Saeid Nooshabadi

    A BRIEF INTRODUCTION TOEMBEDDED SYSTEM

  • 8/8/2019 Intro_ES-I

    14/28

    EELC2041 lec01-Intro.14 Saeid Nooshabadi

    TOPICS TO COVER

    DEFINITION

    KEY FEATURES

    DESIGN ISSUES/CHALLENGES

    TOOLS OF THE TRADE

    FUTURE DIRECTION

    WHAT IS AN EMBEDDED SYSTEM

    http://def.ppt/http://def.ppt/
  • 8/8/2019 Intro_ES-I

    15/28

    EELC2041 lec01-Intro.15 Saeid Nooshabadi

    WHAT IS AN EMBEDDED SYSTEM

    An embedded system is an appliedcomputer system,as distinguished from other types of computer

    systems Embedded systems are embedded within another

    sophisticated (electronic) system, which could beany system for any kind of application. The ES do notdirectly interact with the environment/users.

    An embedded system is a very special computersystem designed to perform a dedicated function.

    An embedded system is a computer system withhigher quality and reliability requirements thangeneral- purpose computer systems.

    http://def.ppt/http://def.ppt/
  • 8/8/2019 Intro_ES-I

    16/28

    EELC2041 lec01-Intro.16 Saeid Nooshabadi

    DEFINITION (Continued)

  • 8/8/2019 Intro_ES-I

    17/28

    EELC2041 lec01-Intro.17 Saeid Nooshabadi

    KEY FEATURESOF AN EMBEDDED SYSTEM

    Real Time in nature (RTOS)

    Employs very specific types of components. Specific in terms of

    Quantity (Memory)

    Available Feature (DVS, Watch Dog Timer)

    Operating System (Application commands the OS)

    Developed in an environment which is totally different from theactual.

    Power Requirement, Size & Cost are considered with great detail

    along with the application.

    Highly focused on Application, Business Plan and Cost. SelectsHardware, Software components and Design Process based onA,B & C.

  • 8/8/2019 Intro_ES-I

    18/28

    EELC2041 lec01-Intro.18 Saeid Nooshabadi

    Embedded Systems and their Markets

    Market Embedded Device

    Automotive Ignition System, Engine Control, Brake System

    Consumer Electronics Digital Televisions, Set-Top Boxes, KitchenAppliances, Toys/Games, Telephones/CellPhones/Pagers, Cameras

    Industrial Control Robotics, Process and Manufacturing Controls

    Medical Equipment ECG Machine, Dialysis Machines, CardiacMonitors

    Office Automation Fax Machine, Photocopier, Printers,Scanners, UPS

    Networking ( Spl. Application) Routers, Hubs

  • 8/8/2019 Intro_ES-I

    19/28

    EELC2041 lec01-Intro.19 Saeid Nooshabadi

    A Very Special Application

    A FOOTBALL

  • 8/8/2019 Intro_ES-I

    20/28

    EELC2041 lec01-Intro.20 Saeid Nooshabadi

    DESIGN ISSUES/CHALLENGES

    CRYSTAL CLEAR PRODUCT SPECIFICATION TO BE DECIDED/GIVEN AND BEADHERED TO. THIS INCLUDES H/W AS WELL AS S/W COMPONENTS (PROCESSTIME).

    SELECTION OF THE PROCESSOR:

    GENERAL PURPOSE ; MICRO PROCESSORS

    APP. SPECIFIC INSTRUCTION SET (ASIP); DSP,N/W PROCESSORS, MICROCONTROLLER

    APP. SPECIFIC INTERATED CIRCUIT (ASIC)

    CODE SIZE (COMPACT CODE) IN RELATION WITH THE PROCESSOR USED.

    LANGUAGE USED:

    ASSEMBLY LANGUAGE ( USEFUL BUT TIME CONSUMING & ERROR PRONE) HIGH LEVEL LANGUAGE (REQUIRES COMPLICATED AND COSTLY TOOLS AND

    COMPILER)

    BALANCED DECISSION TO BE TAKEN LOOKING INTO DEVELOPMENT COST,AVAILABLE DEVELOPMENT TEAM AND TIME TO MARKET

    DIVISION BETWEEN HARDWARE & SOFTWARE COMPONENTS

  • 8/8/2019 Intro_ES-I

    21/28

    EELC2041 lec01-Intro.21 Saeid Nooshabadi

    DESIGN ISSUES/CHALLENGES (CONT..)

    POWER REQUIREMENT ONE MAJOR ISSUE IN THIS WORLDOF MOBILE DEVICES.

    SIZE SPECIFICATION THIS MAY BE VERY IMPORTANT INSOME CRITICAL APPLICATION.

    RELIABILITY AND COST TO BE INCURRED FOR THAT(REDUNDANT SYSTEM). VERY APPLICATION SPECIFIC ISSUE.

    BUSINESS PLAN

    DESIGN ENVIRONMENT

    (HOST PROCESSOR / TARGET PROCESSOR)

  • 8/8/2019 Intro_ES-I

    22/28

    EELC2041 lec01-Intro.22 Saeid Nooshabadi

    TOOLS OF THE TRADE

    Embedded System Life Cycle

    Requirement

    Analysis

    Specification

    Architectural

    Design

    Component Design

    Integration

    Testing

    S/W Architecture

    H/W Architecture

    Top Down Model

  • 8/8/2019 Intro_ES-I

    23/28

    EELC2041 lec01-Intro.23 Saeid Nooshabadi

    TOOLS OF THE TRADESOFTWARE DEVELOPMENT TOOL CHAIN FOR EMBEDDED SYSTEM

    DEVELOPER EDITORSOURCE

    PROG.

    PRE PROCESSOR

    OR

    MACRO PROCESSOR

    EXPANDED

    SOURCE CODE

    COMPILER

    OR ASSEMBLEROBJECT

    FILELOADER EXE FILE LINKER

    CODE

    FOR

    TARGET

    TARGET

    PROGRAMMER OUTPUT

    ALL THE COMPONENTS MENTIONED IN

    RECTANGULAR BOXES ARE SYSTEM

    SOFTWARE

  • 8/8/2019 Intro_ES-I

    24/28

    EELC2041 lec01-Intro.24 Saeid Nooshabadi

    TOOLS OF THE TRADEDEVELOPMENT ENVIRONMENT ; HOST & TARGET

    C /C++ ASSEMBLY

    LANG

    CROSS COMPILER CROSS ASSEMBLER

    OBJ 1 OBJ n

    LOCATOR

    CODE

    TARGET PROGRAMMER OUT PUT

    THEENLARGED

    COMPONENTS

    ARE PARTS OF

    THE HOST

    SYSTEM

  • 8/8/2019 Intro_ES-I

    25/28

    EELC2041 lec01-Intro.25 Saeid Nooshabadi

    FUTURE DIRECTIONS

    More and more embedded systems will be full systems

    on a single chip (SoC). This implies that the softwareand hardware designs will merge.

    As systems on chip become more complex, softwaredistributed over multiple processors and running over

    different memory spaces will become common

  • 8/8/2019 Intro_ES-I

    26/28

    EELC2041 lec01-Intro.26 Saeid Nooshabadi

    FUTURE DIRECTIONS.

    Embedded systems will be developed in unusual

    applications. Products will be powered and accessed byRF beams. This will lead to convergence in our real life..

    Existing applications will become far more sophisticatedwith standardized user interfaces such as web

    interfaces with XML.

  • 8/8/2019 Intro_ES-I

    27/28

    EELC2041 lec01-Intro.27 Saeid Nooshabadi

    FUTURE DIRECTIONS FORDEVELOPERS

    More and more multi-disciplinary expertise will berequired. For example biology-chemistry-electronicsand VLSI for bio-sensors.

    Fields of micro-processors, VLSI, communications etc.would merge for developing embedded systems.

  • 8/8/2019 Intro_ES-I

    28/28

    EELC2041 lec01 Intro 28 Saeid Nooshabadi

    GOOD LUCK

    WITH THISCOURSE