Docsity

Component Based Lifecycle Powerpoint Slides | CS 4220, Assignments of Computer Science

Partial preview of the text

Download Component Based Lifecycle Powerpoint Slides | CS 4220 and more Assignments Computer Science in PDF only on Docsity!

1

Instructor: Calton Pu

calton.pu@cc

TA: Bugra Gedik (bgedik@cc)

CS4220 Embedded Systems

CS6235 Real-Time Systems

12B: Component-Based

Lifecycle

Product Lifecycle

z Idea/product requirement specification

z Development, manufacturing, maintenance

z Intellectual content/value of products

  • Higher value/functionality by weight/size
  • From bigger-is-better to smaller-is-better

3

SW/HW Comparison

Waterfall Model

z Software development follows a well-

defined sequence of stages

  • Assumes each stage can freeze its output
  • Actually, each stage is a feedback loop with continual refinements; propagate downstream, amplifying its effects
  • Failures such as FBI Virtual Case File project

7

HW/SW Differences

z Hardware developments usually start new (before VLSI methods and tools)

  • Standard interfaces (110/220V, 50-60cycles)
  • Standard components (e.g., electronic systems)

z Software developments used to start new

  • Low software component availability (open source software is recent)
  • Cultural/legacy programming practices

z Component-based software development

  • Start with components and their composition

Component-Based Lifecycle

z Requirement analysis and definition

z Component selection and evaluation

z System design

z System integration

z Verification and validation

z System operation support and maintenance

9

Component Development

Process

VCE Applications

z Application area: big machines

  • Volvo Construction Equipment
  • Embedded, Real-Time software

z Design and development method

  • Formal design specification language
  • Component-Based Software Engineering
  • Software tools using the design specs
  • Implementation by hand

13

Design Process

Design Tools

15

Design Specs

z Data flow specifications

  • Data ports with types
  • Connections only with compatible types
  • Ordering, end-to-end deadline, start jitter, completion jitter

z Control flow specifications

  • Event-based
  • Mandatory control sink (to activate the module)
  • Optional source (to activate others)

Component Model

19

Schedulability Analysis

z Given a schedule (from the task allocation)

  • Test whether the schedule is feasible (tasks completing before deadline) for FPS

Code Synthesis

21

Task Communications

z Inter Task Communication

  • Within the same tasks: shared data spaces
  • Different tasks: IPC/RPC

z Links between sink and source

  • Scheduling of periodic tasks
  • Synchronization between source and sink
  • Middleware glue code

Portability from Middleware

25

Development Method (2)

V. Mapping temporal constraints

z Synchronization defined by precedence z Period, WCET, job start, deadline

VI. Defining execution time budget

z By experienced engineers

VII. Feasibility check and automatic

implementation

z Configuration compiler: pre-run-time scheduler

Development Method (3)

VIII. Implementation and module testing

z Write programs (modules) by hand [This may be automated.] z Module testing: functional/timing behavior

IX. System integration and verification

z Putting it all together

27

Findings (Development)

1. A design language is good

2. Design language supports RT analysis and

code synthesis

3. Trade-off between design time and

implementation time

4. Estimated execution time budgets useful

for early schedulability analysis

Findings (Tech Transfer)

5. Tools, people, and support structure

needed for successful RT technology

transfer

6. Major roadblock is temporal requirements

(need all participants writing specs)