DOC PREVIEW
USC CSCI 599 - Week9_c

This preview shows page 1-2-23-24 out of 24 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 24 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 24 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 24 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 24 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 24 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

P t o l e m y A Framework For Simulating and Prototyping Heterogeneous Systems by Joseph Buck , Soonhoi Ha, Edward A. Lee & David G. MesserschmittT o p i c sC o n c e p tSlide 4Slide 5Internal StructureSlide 7Slide 8Slide 9Slide 10Slide 11Slide 12W o r m h o l eThe EventHorizonSlide 15Slide 16The EventHorizonCode GenerationPractical DetailsA p p l i c a t i o n sSlide 21A p p l i c a t i o n sA p p l i c a t i o n sCurrent ResearchP t o l e m y A Framework For Simulating and Prototyping Heterogeneous Systemsby Joseph Buck , Soonhoi Ha, Edward A. Lee & David G. MesserschmittP r e s e n t e r sA r u n T M& S u l e n T h o m a sT o p i c sConcept of PtolemyInternal Structure of PtolemyWormholeEventHorizonCode GenerationPractical DetailsApplicationsCurrent ResearchC o n c e p tprovides an environment for simulation and rapid prototyping of heterogeneous systemsuse of modern OO technology to model subsystemscore :: uses OO class definitions to make assumptionsprovides generic interfacesexamples of applications :: network and transport, call processing and signaling software etc.C o n c e p talternative to heterogeneity is generalitydisadvantages :: - analysis is difficult to perform - compilers are difficult to implement - increase in complexity of designkey :: non dogmatic kernel which combines descriptions to ensure heterogeneitycoordination frameworkC o n c e p tuses OO concepts to achieve the following goalsagility :: support distinctiveness in model design heterogeneity :: allows co existence of different systemsextensibility :: allows integration of old and new modelsfriendliness :: friendly GUIInternal StructureBlocks & Particlesblock :: module of code invoked at runtime porthole :: standard interfacesparticle :: base message typegeodesic :: connection frameworkplasma :: reclamation of used particlesInternal Structure Stars, Galaxies and Universeprovides hierarchy for the systemstar :: - derived from block - performs computationgalaxy :: - contains other blocks - contains other galaxies & starsuniverse :: - complete Ptolemy applicationadvantages of hierarchyInternal StructureTargets & Schedulerstarget :: - controls the execution - features vary based on applicationscheduler :: - defines the operational semantics of the domain - manages the order of execution of star methodsInternal StructureDomaindefinition :: - set of blocks, targets and associated schedulers - computational modelSub Domain implements a more specialized computational modelstars and targets can be used with an outer onescheduler cannot be used with outside domainInternal StructureInternal StructureExamples of Domaindynamic data flow (DDF) :: - data driven model of computationsynchronous data flow (SDF) :: - sub domain of DDF - advantages :: - ease of programming - syntax checking - runtime efficiency - automatic parallel schedulingInternal StructureExamples of Domainboolean data flow ( BDF) :: - intermediate between SDF and DDFdiscrete event ( DE ) :: - models only changes in a system state - differences :: - incorporates global time - orders block invocations properlymessage queue ( MQ ) :: - dynamically creates and destroys blocks - eg software control applicationsW o r m h o l ecritical design elementblock which externally looks like a starcontains of a private universe ( separate scheduler and stars )can be introduced into any domainobjects contain target pointersused to run simulations in different environmentsThe EventHorizonThe EventHorizonProvides the interface between Wormhole and external environment.Two types of interactionsConversion of particles passing through EventHorizonAccomplished by ToEventHorizon and FromEventHorizon derived from EventHorizonParticles are read from XXXtoUniversal to YYYFromUniversal and sent to YYY domainResponsibilities of EventHorizonDEWormhole is executed when input has data.The EventHorizonScheduler CoordinationScheduler has a set of polymorphic methods (setup(), run(), setStopTime() and resetStopTime()) for coordination of Schedulers on both sides of EventHorizonsetup() method takes place before execution of blocks.run() method executes the blocksStopTime specifies the time upto which run() executessetStopTime() allows StopTime to be set externallyThese methods make multiple Schedulers behave logically as a single Scheduler.Schedulers divided into timed and untimedThe EventHorizon Inheritance Structure of Blocks Block (initialize() Runnable ( run() and start() and stop()) setStopTime())Galaxy Star Wormhole (a runnable withUniverse (includes target and XXXStar internal target & is a runnable) galaxy)XXXUniverse XXXWormholeCode Generationgo() method of Star adds ASCII text to data structure in TargetScheduler controls sequence of codeTarget collects code and supervised compilation and executionPractical DetailsThe Graphical User InterfacePtolemy Interactive Graphical Interface (pigi) is the design editorInterpGalaxy is used to dynamically construct simulationsRuns as Vem graphic editor and pigiRpc, the Ptolemy kernelStatesUsed to monitor and control the simulationStar Preprocessor LanguageGenerates documentation for Star and Galaxy class.A p p l i c a t i o n sBroadband NetworkingCell relay network connects a set of terminalsDE domain used to model non-empty cellsSignalingATM SwitchesDE Modeling DomainTerminalsCRNA p p l i c a t i o n sBroadband NetworksNetwork consists of signaling entity & a set of switchesCall processing entity present within the switchSignalingSignaling (MQ)ATMATMATMATMA p p l i c a t i o n sSignal ProcessingAlgorithms are defined within data flow model Ptolemy capable of partitioning, scheduling and generating DSP assembly language.Ptolemy can generate C code, Motorola 56000 and 96000 assembly codeHardware-Software Co-DesignThor domain can be combined with code generation domain to design boards with programmable DSPHardware and Software are modeled within the same software framework. Ptolemy has the ability to mix behavioral, hardware and software entities in a natural way.A p p l i c a t


View Full Document

USC CSCI 599 - Week9_c

Documents in this Course
Week8_1

Week8_1

22 pages

Week2_b

Week2_b

10 pages

LECT6BW

LECT6BW

20 pages

LECT6BW

LECT6BW

20 pages

5

5

44 pages

12

12

15 pages

16

16

20 pages

Nima

Nima

8 pages

Week1

Week1

38 pages

Week11_c

Week11_c

30 pages

afsin

afsin

5 pages

October5b

October5b

43 pages

Week11_2

Week11_2

20 pages

final

final

2 pages

c-4

c-4

12 pages

0420

0420

3 pages

Week9_b

Week9_b

20 pages

S7Kriegel

S7Kriegel

21 pages

Week4_2

Week4_2

16 pages

sandpres

sandpres

21 pages

Week6_1

Week6_1

20 pages

4

4

33 pages

Week10_c

Week10_c

13 pages

fft

fft

18 pages

LECT7BW

LECT7BW

19 pages

24

24

15 pages

14

14

35 pages

Week11_67

Week11_67

22 pages

Week1

Week1

37 pages

LECT3BW

LECT3BW

28 pages

Week8_c2

Week8_c2

19 pages

Week5_1

Week5_1

19 pages

LECT5BW

LECT5BW

24 pages

Week10_b

Week10_b

16 pages

Week11_1

Week11_1

43 pages

Week7_2

Week7_2

15 pages

Week5_b

Week5_b

19 pages

Week11_a

Week11_a

29 pages

LECT14BW

LECT14BW

24 pages

T7kriegel

T7kriegel

21 pages

0413

0413

2 pages

3

3

23 pages

C2-TSE

C2-TSE

16 pages

10_19_99

10_19_99

12 pages

s1and2-v2

s1and2-v2

37 pages

Week10_3

Week10_3

23 pages

jalal

jalal

6 pages

1

1

25 pages

T3Querys

T3Querys

47 pages

CS17

CS17

15 pages

porkaew

porkaew

20 pages

LECT4BW

LECT4BW

21 pages

Week10_1

Week10_1

25 pages

wavelet

wavelet

17 pages

October5a

October5a

22 pages

p289-korn

p289-korn

12 pages

2

2

33 pages

rose

rose

36 pages

9_7_99

9_7_99

18 pages

Week10_2

Week10_2

28 pages

Week7_3

Week7_3

37 pages

Load more
Download Week9_c
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Week9_c and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Week9_c 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?