co design.ppt

download co design.ppt

of 18

Transcript of co design.ppt

  • 7/25/2019 co design.ppt

    1/18

    Hardware/Software Co-Hardware/Software Co-

    DesignDesign

  • 7/25/2019 co design.ppt

    2/18

    T S PT S P 22

    Embedded SystemsEmbedded Systems

    Satellite

    Macro-Cell Micro-Cell

    Zone 2: UrbanZone 1: In-Building

    Pico-Cell

    Zone 4: Global

    Zone 3: Suburban

    Firmware

    CORE

    SOC IPBased esign

    Software

    SOC

    P!C"nalog

    #$bedded So%t&are

    Me$or'#$beddedS'ste$ esign

    S'ste$#n(iron$ent

    PCBesign

  • 7/25/2019 co design.ppt

    3/18

    T S PT S P 33

    Embedded HardwareEmbedded Hardware

    InputInput SensorsSensors Sample and Hold CircuitSample and Hold Circuit A/D ConvertersA/D Converters

    CommunicationCommunication UA!UA!

    "rocessing Units"rocessing Units ASICASIC "rocessors"rocessors econ#gurable processorsecon#gurable processors

  • 7/25/2019 co design.ppt

    4/18

    T S PT S P 44

    Embedded HardwareEmbedded Hardware

    $emories$emories A$% &$% 'las(% Cac(eA$% &$% 'las(% Cac(e

    &utput&utput D/A Converters%D/A Converters%

    ActuatorsActuators

  • 7/25/2019 co design.ppt

    5/18

    T S PT S P 55

    Embedded SoftwareEmbedded Software

    eal !ime &perating Systemseal !ime &perating Systems )eneral e*uirements)eneral e*uirements

    Sc(eduling in !&SSc(eduling in !&S AperiodicAperiodic "eriodic"eriodic

    eal !ime Databaseseal !ime Databases &t(er Software Arc(itectures&t(er Software Arc(itectures

    'unction +ueue Sc(eduling'unction +ueue Sc(eduling ound obin ,wit( Interruptsound obin ,wit( Interrupts

  • 7/25/2019 co design.ppt

    6/18

    T S PT S P 66

    Issues w(ile Designing ESIssues w(ile Designing ES

    C(oosing ig(t platformC(oosing ig(t platform

    $emory and I/& e*uirements$emory and I/& e*uirements .D!% Cac(e% 'las( memory% etc.D!% Cac(e% 'las( memory% etc

    "rocessors C(oice"rocessors C(oice "C"C

    $icro Controller or DS"$icro Controller or DS"

    ASIC or '")AASIC or '")A

  • 7/25/2019 co design.ppt

    7/18

    T S PT S P 77

    Hardware /SoftwareHardware /Software

    "artitioning"artitioning De#nitionDe#nition

    A H./S. partitioning algorit(mA H./S. partitioning algorit(m

    implements aimplements a specifcationspecifcationon someon somesort ofsort of multiprocessor architecturemultiprocessor architecture

    UsuallyUsually

    $ultiprocessor arc(itecture 0 one C"U 1$ultiprocessor arc(itecture 0 one C"U 1some ASICs on C"U bussome ASICs on C"U bus

  • 7/25/2019 co design.ppt

    8/18

    T S PT S P 88

    Hardware /SoftwareHardware /Software

    "artitioning"artitioning Hw/Sw partitioning can speedupHw/Sw partitioning can speedup

    softwaresoftware

    Can reduce energy tooCan reduce energy too

    In most partitioning algorit(msIn most partitioning algorit(ms!ype of C"U is #2ed and given!ype of C"U is #2ed and given

    ASICs must be synt(esi3edASICs must be synt(esi3ed

  • 7/25/2019 co design.ppt

    9/18

    T S PT S P 99

    Embedded System DesignEmbedded System Design

    !raditional $et(odology!raditional $et(odology

    HW Design& Build

    Hardware/Software

    Partitioning and Allocation

    SW Design& Code

    Interface

    Design

    HW/SW

    Integration

  • 7/25/2019 co design.ppt

    10/18

    T S PT S P 1010

    Embedded System DesignEmbedded System Design

    H./S. Co-Design $et(odologyH./S. Co-Design $et(odology

    HW Design& Build

    Hardware/Software

    Partitioning and Allocation

    SW Design& Code

    Interface

    Design

    HW/SW

    Integration

  • 7/25/2019 co design.ppt

    11/18

    T S PT S P 1111

    Co-DesignCo-Design

    !(e software functionality s(ould be!(e software functionality s(ould be

    partitioned in suc( a fas(ion t(atpartitioned in suc( a fas(ion t(at

    processors in t(e system do not getprocessors in t(e system do not getoverloaded w(en t(e system isoverloaded w(en t(e system is

    operating at pea4 capacity5operating at pea4 capacity5

    !(is involves simulating t(e system!(is involves simulating t(e systemwit( t(e proposed software andwit( t(e proposed software and

    (ardware arc(itecture5(ardware arc(itecture5

  • 7/25/2019 co design.ppt

    12/18

    T S PT S P 1212

    Co-DesignCo-Design

    !(e system s(ould be designed for!(e system s(ould be designed for

    future growt( by considering a scalablefuture growt( by considering a scalable

    arc(itecture% i5e5 system capacity canarc(itecture% i5e5 system capacity canbe increased by adding new (ardwarebe increased by adding new (ardware

    modules5 !(e system will not scalemodules5 !(e system will not scale

    very well if some (ardware or softwarevery well if some (ardware or software

    module becomes a bottlenec4 inmodule becomes a bottlenec4 in

    increasing system capacity5increasing system capacity5

  • 7/25/2019 co design.ppt

    13/18

    T S PT S P 1313

    Embedded Controller E2ample6Embedded Controller E2ample6

    Engine Control Unit ,ECUEngine Control Unit ,ECU Task: control the torque produced

    by the engine

    by timing uel injection and spark

    $a7or constraints6$a7or constraints6

    ow fuel consumptionow fuel consumption

    ow e2(aust emissionow e2(aust emission

  • 7/25/2019 co design.ppt

    14/18

    T S PT S P 1414

    ECUECU Task: control injection time (3 sub-tasks)

    compute

    air o! computeinjection

    timedri"e

    actuators

    airo!

    injectiontimeair temperature

    engine temperature

    engine speed

    throttle position

    look-up table

    #$% signalsair pressure

  • 7/25/2019 co design.ppt

    15/18

    T S PT S P 1515

    3& bit '#

    *+

    ctuations (#$%)

    nalog inputs

    +igital inputs

    ECU- &ption 8ECU- &ption 8

    computeair o!

    computeinjection

    timedri"e

    actuators

    airo!

    injectiontime

    air temperature

    engine temperature

    engine speed

    throttle position

    look-up table

    #$% signalsair pressure

  • 7/25/2019 co design.ppt

    16/18

    T S PT S P 1616

    , bit '#

    *+

    ctuations (#$%)

    nalog inputs

    +igital inputs

    .#/

    ECU- &ption 9ECU- &ption 9

    computeair o!

    computeinjection

    timedri"e

    actuators

    airo!

    injectiontime

    air temperature

    engine temperature

    engine speed

    throttle position

    look-up table

    #$% signalsair pressure

  • 7/25/2019 co design.ppt

    17/18

    T S PT S P 1717

    0 bit '#+1#

    ctuations (#$%)

    naloginputs

    +igital inputs

    .#/*+

    ECU- &ption :ECU- &ption :

    computeair o!

    computeinjection

    timedri"e

    actuators

    airo!

    injectiontime

    air temperature

    engine temperature

    engine speed

    throttle position

    look-up table

    #$% signalsair pressure

  • 7/25/2019 co design.ppt

    18/18

    T S PT S P 1818

    !(an4 ;ou!(an4 ;ou