FZI Forschungszentrum Informatik

Similar documents
Component Design. Systems Engineering BSc Course. Budapest University of Technology and Economics Department of Measurement and Information Systems

Trace-Based Context-Sensitive Timing Simulation Considering Execution Path Variations

Fast and Accurate Source-Level Simulation Considering Target-Specific Compiler Optimizations

OMG Systems Modeling Language Tutorial May, 2012

Enterprise Architect Training Courses

Constraint-based Platform Variants Specification for Early System Verification

Modeling, Analysis and Refinement of Heterogeneous Interconnected Systems Using Virtual Platforms

Timing Analysis on Complex Real-Time Automotive Multicore Architectures

Co-Design of Many-Accelerator Heterogeneous Systems Exploiting Virtual Platforms. SAMOS XIV July 14-17,

UML 2.0 State Machines

Process and data flow modeling

Software architecture in ASPICE and Even-André Karlsson

PREEvision at Porsche (Update 2018)

An Introduction to Software Architecture

Object-Oriented Design

Interactions A link message

Modeling and SW Synthesis for

An Introduction to Software Architecture

UNIT I. 3. Write a short notes on process view of 4+1 architecture. 4. Why is object-oriented approach superior to procedural approach?

Describing the architecture: Creating and Using Architectural Description Languages (ADLs): What are the attributes and R-forms?

Taking the Right Turn with Safe and Modular Solutions for the Automotive Industry

Contemporary Design. Traditional Hardware Design. Traditional Hardware Design. HDL Based Hardware Design User Inputs. Requirements.

Functional Safety and Safety Standards: Challenges and Comparison of Solutions AA309

Pushing the limits of CAN - Scheduling frames with offsets provides a major performance boost

Analysis of the combined use of SCADE and UML 2.x models. Project description. Ramin Hedayati. Member of GRADUIERTENKOLLEG EINGEBETTETE SYSTEME

An Information Model for High-Integrity Real Time Systems

Processor Architecture and Interconnect

COMPUTATIONAL PROPERIES OF DSP ALGORITHMS

PPOOA, An Architectural Style for Real Time Systems

Applied Formal Methods - From CSP to Executable Hybrid Specifications

UP Requirements. Software Design - Dr Eitan Hadar (c) Activities of greater emphasis in this book. UP Workflows. Business Modeling.

Workloads Programmierung Paralleler und Verteilter Systeme (PPV)

COSC 6385 Computer Architecture - Memory Hierarchy Design (III)

Bottom-Up Performance Analysis Considering Time Slice Based Software Scheduling at System Level

Software Pipelining by Modulo Scheduling. Philip Sweany University of North Texas

Cache Performance and Memory Management: From Absolute Addresses to Demand Paging. Cache Performance

Hardware-Software Codesign

USING PAPYRUS IN A DESIGN SPACE EXPLORATION TOOLCHAIN CURRENT DEVELOPMENTS AT FLANDERS MAKE

Modeling Event Stream Hierarchies with Hierarchical Event Models

UML EXTENSIONS FOR MODELING REAL-TIME AND EMBEDDED SYSTEMS

Experiences and Challenges of Transaction-Level Modelling with SystemC 2.0

Code Generation for QEMU-SystemC Cosimulation from SysML

Traditional Approaches to Modeling

Hippo Software BPMN and UML Training

Requirements Analysis. SE 555 Software Requirements & Specification

Towards Integrating SysML and AUTOSAR Modeling via Bidirectional Model Synchronization

Introduction to MLM. SoC FPGA. Embedded HW/SW Systems

Sequence Diagrams. Massimo Felici. Massimo Felici Sequence Diagrams c

Runtime Adaptation of Application Execution under Thermal and Power Constraints in Massively Parallel Processor Arrays

Instruction Register. Instruction Decoder. Control Unit (Combinational Circuit) Control Signals (These signals go to register) The bus and the ALU

NOTES ON OBJECT-ORIENTED MODELING AND DESIGN

Model-Based Design for effective HW/SW Co-Design Alexander Schreiber Senior Application Engineer MathWorks, Germany

Media Path Analysis. Analyzing Media Paths Using IP SLA. Before You Begin. This section contains the following:

What s New in Simulink Release R2016a and R2016b

Reuse of Hardware Independent Test Sequences across MiL-, SiL- and HiL-Test Scenarios

A Reconnaissance on Design Patterns

Chapter 8. Virtual Memory

COSC 6385 Computer Architecture. - Memory Hierarchies (II)

A UML 2 Profile for Variability Models and their Dependency to Business Processes

Automatic Counterflow Pipeline Synthesis

A Generic RTOS Model for Real-time Systems Simulation with SystemC

Index. C cmp;l, 126. C rq;l, 127. A A sp. B BANDWIDTH, 32, 218 complexity of, 32 k-bandwidth, 32, 218

Efficient Use of Iterative Solvers in Nested Topology Optimization

Enterprise Architect. User Guide Series. SysML Models. Author: Sparx Systems. Date: 30/06/2017. Version: 1.0 CREATED WITH

A Low Latency Data Transmission Scheme for Smart Grid Condition Monitoring Applications 28/05/2012

Plant Modeling for Powertrain Control Design

The Use Of Virtual Platforms In MP-SoC Design. Eshel Haritan, VP Engineering CoWare Inc. MPSoC 2006

Building a Bridge: from Pre-Silicon Verification to Post-Silicon Validation

Flight Systems are Cyber-Physical Systems

A first attempt to combine SysML requirements diagrams and B

CHAPTER 4 PULSE CODE MODULATION STANDARDS TABLE OF CONTENTS

06. Analysis Modeling

Memory Consistency. Challenges. Program order Memory access order

COMPLEX EMBEDDED SYSTEMS

Hardware Modeling. Hardware Description. ECS Group, TU Wien

MOJTABA MAHDAVI Mojtaba Mahdavi DSP Design Course, EIT Department, Lund University, Sweden

MARTE for time modeling and verification of real-time embedded system

Near Memory Key/Value Lookup Acceleration MemSys 2017

Time Constrained Modulo Scheduling with Global Resource Sharing

MOST Networking Approach for Video-Camera Systems in ADAS. Dr. Bernd Sostawa, Senior Manager of Business Development, Microchip Technology Inc.

Cycle Accurate Binary Translation for Simulation Acceleration in Rapid Prototyping of SoCs

In examining performance Interested in several things Exact times if computable Bounded times if exact not computable Can be measured

Network Intrusion Detection Systems. Beyond packet filtering

Complexity-Reducing Design Patterns for Cyber-Physical Systems. DARPA META Project. AADL Standards Meeting January 2011 Steven P.

Best Practices for Model-Based Systems Engineering

SWE 760 Lecture 1: Introduction to Analysis & Design of Real-Time Embedded Systems

Modelling, Analysis and Scheduling with Dataflow Models

Multimedia Systems 2011/2012

SOFTWARE MODELING AND DESIGN. UML, Use Cases, Patterns, and. Software Architectures. Ki Cambridge UNIVERSITY PRESS. Hassan Gomaa

Representing System Architecture

Generation of Multigrid-based Numerical Solvers for FPGA Accelerators

PROBABILISTIC SCHEDULING MICHAEL ROITZSCH

ECE 587 Hardware/Software Co-Design Lecture 12 Verification II, System Modeling

Chapter 5. Topics in Memory Hierachy. Computer Architectures. Tien-Fu Chen. National Chung Cheng Univ.

Resource Constrained Modulo Scheduling with Global Resource Sharing

Business Modelling. PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e. Early phase of development Inputs: Activities: informal specification

HW/SW Co-design. Design of Embedded Systems Jaap Hofstede Version 3, September 1999

S1 Informatic Engineering

A Multi-Modal Composability Framework for Cyber-Physical Systems

Retiming. Adapted from: Synthesis and Optimization of Digital Circuits, G. De Micheli Stanford. Outline. Structural optimization methods. Retiming.

Transcription:

FZ Forschungszentrum nformatik Microelectronic System Design (SM) Performance Analysis of Sequence Diagrams for SoC Design Alexander Viehl, Oliver Bringmann, Wolfgang Rosenstiel S M UML for SoC Design Workshop Design Automation Conference DAC June, 12th 2005

Overview ntroduction/motivation Analysis Approach Transformation of UML 2/SysML specification Analysis of Communication Dependency Graphs Design Space Exploration Conclusion FZ Forschungszentrum nformatik 2

Motivation /O µc µc µc RAM HW HW A B OCB C D /O Specification of complete SoC by UML 2, add subsystems to existing solutions by UML specification nclusion of the target architecture Determination of the performance of a modeled system at the design stage Early validation and analysis of the system integration Detection of integration mistakes in system specification Reduction of the design time Accelerates evaluation of distributed embedded systems FZ Forschungszentrum nformatik 3

Motivation(2) /O µc µc µc RAM HW HW /O Analysis model allows combination of UML specifications with analytic results of existing P and libraries Structured reuse of qualified P, platform based design Evaluation of system using environment models like event streams without simulation Structural analysis enables recognition of conflicts due to shared media Generating optimized topologies Automated design space exploration FZ Forschungszentrum nformatik 4

Analysis Approach Specification Sequence Diagram Structured Classes Transformation Behavioural Transformation Structural Extraction Analysis Models Communication Dependency Graph Structural Model FZ Forschungszentrum nformatik 5

Semantics of Communication Dependency Graphs Nodes 1, 2 nitial synchronization point S 1 R 1 R Blocking receive 6, 7 1,3 S Non-blocking Send 3,5 S 2 R 2 Edges 1,4 13,17 e com Communications R 3 C 3 S 3 13,17 e cdg Control Flow Edges e cdg represent the control flow between nodes Edge weights l min, l max represent min. and max. latency between nodes or communication latency FZ Forschungszentrum nformatik 6

Transformation of Sequence Diagrams to CDG dentification of communication events Setting synchronization behavior relating to message type Summation of activity durations including method calls between communication events, flattening call hierarchy Edge weights represent min/max execution time Considering combined fragments, inserting relations between paths nserting loop boundaries and marking priorities of the edges ncluding referenced sequence diagrams in transformation 3,5 S 1 S 2 6, 7 1, 2 R 1 R 2 1,3 1,4 13,17 R 3 C 3 S 3 FZ Forschungszentrum nformatik 7

Structural Extraction Definition of structural/ architectural alternative mappings using UML structured classes/sysml assemblies Extracting properties like shared media access and stereotypes Delays for communication channels in library or as tagged values Refinement allows iterations of analysis cycles nclusion of architecture as constraint for the communication and conflict analysis Design space exploration using different designs for behavior and structure ECU ECU OCB sensor OCB <<CAN>> sensor ECU ECU FZ Forschungszentrum nformatik 8

Analysis Approach Specification Sequence Diagram Structured Classes Transformation Analysis Models Behavioural Transformation Communication Dependency Graph Structural Extraction Structural Model Analysis Communication and Conflict Analysis FZ Forschungszentrum nformatik 9

Analysis of CDG are synchronization points (SP) S 1 R 1 S 1, R 1 are SP, if 6, 7 latency(path min ({, R 3 } S 1 )) 1,3 S 2 R 2 latency(path max ({, } )) S 3 R 1 1,4 13,17 C 3 R 3 S 3 Synchronicity condition: min. path to S max. path to R Synchronization equation to calculate (min, max) slack time Slack values are used for further analysis like WCRT, /O ratio or detection of possible conflicts Negative slack value represents violated synchronicity condition, possible data loss FZ Forschungszentrum nformatik 10

Example Communication Analysis R 1 R 4 7,11 C 4 34 3,5 S 1 S 2 S 3 5,13 4, C10 2 10 4,6 Transformation to system of equations (using slack values): Min time to wait: x i : min. path to S, max. path to R 2 S 4 Max time to wait x i : max. path to C 3 3,4 S R 3, min. path to C1: x1 = 3 2 = 1 x1 = 5 1 = 4 C2: x2 = 3 + 4-6 = 1 x2 = 5 + 10-4 = 11 C3: x3 = 3 + 4 + 5-2 = 10 x3 = 5 + 10 + 13-1 = 27 C4: x4 = 6 + x2 + 11 (1 + x1 + 11) = 2 x4 = 4 + x2 + 20 (2 + x1 + 7) = 25 C1 C1: x1 = 4 + 5 + 32 (7 + x4 + 3) = 6 x1 = 10 + 13 + 34 (11 + x4 + 2) = 42 R R Negative min. slack represents a violated synchronization condition Communication latency defined by architectural description, additional parameter for communication analysis FZ Forschungszentrum nformatik 11

Example Conflict Analysis (1) Overlaps of the starting intervals of communication can lead to conflicts on shared media Using slack values to determine the intervals when communications take place Overlaps are possible even if no conflict can appear Communications can be separated by the control flow Consider the sequential order of the communication Traversing the CDG to create the relating Communication Scheduling Graph CSG Channel latencies included in conflict analysis R 1 R 4 7,11 34 C 4 3,5 4,6 S 1 4, 10 C 2 10 S 2 S 4 S 3 5,13 C 3 C 2 C 3 C 4 5 10 15 20 25 R 2 R 3 3,4 ntervals for the starting time of communications FZ Forschungszentrum nformatik 12

Example - Conflict Analysis (2) 3,5 4,6 R 1 R 4 7,11 34 S 1 S 2 4, 10 C 2 10 R 2 S 4 3,4 R 3 C 4 5,13 C 3 S 3 1. Communication Scheduling Graph 2. Check paths 3. Coloring of the conflict graph R 2 S [ 4 [11, 20] 1, 2, 3, 4 ] C 2 [R,S 1,R 2,R 3 ] 1 [5, 13] C 3 C 4 [R 4,S 2,R 2,R 3 ] C 2 Overlaps of [R intervals 4,S 3,R 4,R 3 ] C 3 C 4 Res 1,C 2,C 3 C 3 and C 4 can have C 3 and C 4 potentially parallel! conflict! Res 2 C 4 FZ Forschungszentrum nformatik S 2 S 3 13

Analysis Approach Specification Sequence Diagram Structured Classes Transformation Analysis Models Behavioural Transformation Communication Dependency Graph Structural Extraction Structural Model Analysis Communication and Conflict Analysis Exploration Design Space Exploration FZ Forschungszentrum nformatik 14

Example - Design Space Exploration R 1 R 4 A B C D 7,11 34 3,5 4,6 S 1 S 2 4, 10 C 2 10 5,13 C 4 C 3 S 3 R 2 S 4 R 3 3,4 Conflict graph Res 1 Res 2 C 2 C 3 C 4,C 2,C 3 C 4 Conflict Analysis based on conflict or compatibility graphs Approach can be used with communication duration Leads to design space exploration with different architectural and behavioral designs A B A B OCB OCB C D C D Evaluation of different architectures FZ Forschungszentrum nformatik 15

Conclusion Approach for global performance analysis in platform based design Estimation of the performance of a system/component specified with UML Translation of the behavior to a known analysis model allows combination of UML specifications with results from HW/SW communication analysis and environment models Early conflict analysis allows evaluation of system architectures defined by Structured Classes/ Composites Automated design space exploration by DiSCoE-Tool, allows fast refinement Transformation of analytical results to UML (Sequence Diagrams, Timing Diagrams) Generation of optimized topologies FZ Forschungszentrum nformatik 16