Implementation and Verification Daniel MARTINS Application Engineer MathWorks

Similar documents
Verification and Validation of Models for Embedded Software Development Prashant Hegde MathWorks India Pvt. Ltd.

Developing AUTOSAR Compliant Embedded Software Senior Application Engineer Sang-Ho Yoon

Model-Based Design for High Integrity Software Development Mike Anthony Senior Application Engineer The MathWorks, Inc.

Simulink 모델과 C/C++ 코드에대한매스웍스의정형검증툴소개 The MathWorks, Inc. 1

Standardkonforme Absicherung mit Model-Based Design

Using Model-Based Design in conformance with safety standards

2015 The MathWorks, Inc. 1

From Design to Production

Verification and Validation of High-Integrity Systems

Model-Based Design for Safety-Critical and Mission-Critical Applications Bill Potter Technical Marketing April 17, 2008

Automating Best Practices to Improve Design Quality

Intro to Proving Absence of Errors in C/C++ Code

Verification and Test with Model-Based Design

Simulink 를이용한 효율적인레거시코드 검증방안

Integrated Workflow to Implement Embedded Software and FPGA Designs on the Xilinx Zynq Platform Puneet Kumar Senior Team Lead - SPC

MathWorks Products and Prices North America January 2018

Automatización de Métodos y Procesos para Mejorar la Calidad del Diseño

Utilisation des Méthodes Formelles Sur le code et sur les modèles

Implementing MATLAB Algorithms in FPGAs and ASICs By Alexander Schreiber Senior Application Engineer MathWorks

WHITE PAPER. 10 Reasons to Use Static Analysis for Embedded Software Development

Hardware-Software Co-Design and Prototyping on SoC FPGAs Puneet Kumar Prateek Sikka Application Engineering Team

Codegenerierung für Embedded Systeme leicht gemacht So geht s!

Automating Best Practices to Improve Design Quality

Testing, Validating, and Verifying with Model-Based Design Phil Rottier

System Requirements & Platform Availability by Product for R2016b

Testen zur Absicherung automatisierter Transformationsschritte im Model-Based Design

What's new in MATLAB and Simulink for Model-Based Design

Leveraging Formal Methods Based Software Verification to Prove Code Quality & Achieve MISRA compliance

정형기법을활용한 AUTOSAR SWC 의구현확인및정적분석

Accelerating FPGA/ASIC Design and Verification

Jay Abraham 1 MathWorks, Natick, MA, 01760

Guidelines for deployment of MathWorks R2010a toolset within a DO-178B-compliant process

Model to Code, Made Simple and Easy Sebastien Dupertuis Application Engineer Applications Engineering Group MathWorks Switzerland June 11, 2015

MathWorks Products and Prices International September 2016

How Real-Time Testing Improves the Design of a PMSM Controller

Optimize DSP Designs and Code using Fixed-Point Designer

Production Code Generation and Verification for Industry Standards Sang-Ho Yoon Senior Application Engineer

Simulation-based Test Management and Automation Sang-Ho Yoon Senior Application Engineer

Introduction to C and HDL Code Generation from MATLAB

Leveraging Formal Methods for Verifying Models and Embedded Code Prashant Mathapati Application Engineering Group

Model-Based Design for Safety Critical Automotive Applications

What s New in Simulink in R2015b and R2016a

Design and Verification of FPGA Applications

Generating Industry Standards Production C Code Using Embedded Coder

Static Analysis in C/C++ code with Polyspace

Accelerate FPGA Prototyping with

Addressing Fixed Point Design Challenges

Design and Verify Embedded Signal Processing Systems Using MATLAB and Simulink

Increasing Embedded Software Confidence Model and Code Verification. Daniel Martins Application Engineer MathWorks

Verification and Validation Introducing Simulink Design Verifier

Hardware Implementation and Verification by Model-Based Design Workflow - Communication Models to FPGA-based Radio

Introducing Simulink R2012b for Signal Processing & Communications Graham Reith Senior Team Leader, UK Application Engineering

MATLAB/Simulink 기반의프로그래머블 SoC 설계및검증

Workflow for Control System Design and Implementation

MathWorks Products and Prices North America September 2016

Ein Modell - viele Zielsysteme

Design and Verification of FPGA and ASIC Applications Graham Reith MathWorks

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

What s New with the MATLAB and Simulink Product Families. Marta Wilczkowiak & Coorous Mohtadi Application Engineering Group

Architecture-driven development of Climate Control Software LMS Imagine.Lab Embedded Software Designer Siemens DF PL

Automatic Qualification of Abstract Interpretation-based Static Analysis Tools. Christian Ferdinand, Daniel Kästner AbsInt GmbH 2013

Simulink Verification and Validation

Designing and Analysing Power Electronics Systems Using Simscape and SimPowerSystems

Applications of Program analysis in Model-Based Design

Introducing Simulink Release 2012b for Control System Development Mark Walker MathWorks

Model-Based Design: Design with Simulation in Simulink

Automatic Code Generation Technology Adoption Lessons Learned from Commercial Vehicle Case Studies

Better than Hand Generating Highly Optimized Code using Simulink and Embedded Coder

Model-Based Design for Video/Image Processing Applications

Modeling a 4G LTE System in MATLAB

Making the Most of your MATLAB Models to Improve Verification

Reducing the cost of FPGA/ASIC Verification with MATLAB and Simulink

Case Study on DiaHDL: A Web-based Electronic Design Automation Tool for Education Purpose

A Model-Based Reference Workflow for the Development of Safety-Related Software

Intro to System Generator. Objectives. After completing this module, you will be able to:

Verification, Validation and Test in Model Based Design Manohar Reddy

Increasing Design Confidence Model and Code Verification

Designing and Prototyping Digital Systems on SoC FPGA The MathWorks, Inc. 1

Simulink for AUTOSAR: Best Practices

Automated Requirements-Based Testing

Hardware and Software Co-Design for Motor Control Applications

Design and Verify Embedded Signal Processing Systems Using MATLAB and Simulink

MathWorks Products and Prices Euro Academic September 2016

Designing and Targeting Video Processing Subsystems for Hardware

Development and Deployment of ECU based Control Systems through MBD. Imperative role of Model based design in System Engineering

MathWorks Products and Prices Euro Academic January 2018

Model-Based Design for Altera FPGAs Using HDL Code Generation The MathWorks, Inc. 1

DRYING CONTROL LOGIC DEVELOPMENT USING MODEL BASED DESIGN

Connecting MATLAB & Simulink with your SystemVerilog Workflow for Functional Verification

Model-Based Design: Generating Embedded Code for Prototyping or Production

Embarquez votre Intelligence Artificielle (IA) sur CPU, GPU et FPGA

Formal Verification of Flight Control Applications along a Model- Based Development Process A Case Study

R2017b Update 6 Release Notes

What s New in MATLAB & Simulink. Prashant Rao Technical Manager MathWorks India

Formal Verification of Models and Code Prashant Mathapati Application Engineer Polyspace & Model Verification

Model-Based Design Using Simulink, HDL Coder, and DSP Builder for Intel FPGAs By Kiran Kintali, Yongfeng Gu, and Eric Cigan

IDE for medical device software development. Hyun-Do Lee, Field Application Engineer

Reducing Design Errors in Complex State Machines using Model-Based Design

Testing. ECE/CS 5780/6780: Embedded System Design. Why is testing so hard? Why do testing?

Don t Be the Developer Whose Rocket Crashes on Lift off LDRA Ltd

Transcription:

Implementation and Verification Daniel MARTINS Application Engineer MathWorks Daniel.Martins@mathworks.fr 2014 The MathWorks, Inc. 1

Agenda Benefits of Model-Based Design Verification at Model level Code generation Verification at Code level Certification process 2

Agenda Benefits of Model-Based Design Verification at Model level Code generation Verification at Code level Certification process 3

Why do complex systems fail? Insufficient specification Design errors Software coding errors Mechanical failure Human errors 4

Benefits of Model-Based Design Requirements Data Analysis Research Design Environment Algorithm Development Physical Components Data Modeling Algorithms Embedded Software Digital Electronics C, C++ VHDL, Verilog MCU DSP FPGA ASIC Integration Implement Environments for Test, Verification & Validation Continuous V&V 5

Agenda Benefits of Model-Based Design Verification at Model level Code generation Verification at Code level Certification process 6

Is the algorithm model complete? - Traceability to Requirements? - Satisfies Modeling Standards? - Free of design errors? - Represents the intended behavior? - Tested thoroughly? 7

Tracing Requirements Model Simulink Verification and Validation Creating links between textual documents and model objects 8

Modeling Standards Checking Overview Simulink Verification and Validation Static analysis of models against a set of checks for simulation for code generation Requirements Consistency Modeling Standards Checks for: MAB Style Guidelines DO-178B, IEC 61508, ISO 26262, EN 50128 9

Identifying Design Errors Early Simulink Design Verifier Automatic identification of hard-to-find design inconsistencies in the model without running simulation Integer overflow Division by zero Out of bound arrays Dead logic Assertion violation 10

Verify the model against the requirements Simulink Design Verifier Explicit descriptions of required behavior functional or safety requirement Express Properties Analyze model Provide counter example for falsified property 11

Model Coverage Report Simulink Verification and Validation Coverage metrics identifies untested portions of your model 12

Agenda Benefits of Model-Based Design Production code generation Verification of Model, Code and Executable Code certification Certification process 13

C/C++ Code generation for Microcontrollers/DSP Code efficiency Generated code is smaller than production hand code. Code integration for C and C++ Code generation from MATLAB AUTOSAR 4.x 14

HDL Code Generation for ASIC/FPGA Generates Target-independent HDL Code IEEE 1376 compliant VHDL IEEE 1364-2001 compliant Verilog Optimization Frequency driven timing optimization through automatic pipelining Reduced area with multirate delay balancing Resource sharing and streaming without over clocking Support for Vivado, ISE, Quartus Any Altera and Xilinx boards Xilinx Zynq-7000 and Altera SoC platforms 15

Code Generation for PLCs Generates IEC 61131-3 structured text: Simulink models Stateflow charts MATLAB code Support Several IDEs 3S-Smart Software Solutions CoDeSys B&R Automation Studio Beckhoff TwinCAT Rockwell Automation RSlogix 5000 Siemens Step 7 Rexroth IndraWorks, OMRON Sysmac Studio 16

Agenda Benefits of Model-Based Design Verification at Model level Code generation Verification at Code level Certification process 17

Is the code accurate and complete? - Satisfies Coding Standards? - Free of Run-time errors? - Represents the intended behavior? 18

Static code analysis with Polyspace Products Polyspace Code Prover Prove the absence of run-time errors in software o 25 checks (non initialized pointers, out of bound arrays, ) MATLAB Distributed Computing Server Parallel Computing Toolbox Polyspace Bug Finder MATLAB Check Coding rules : MISRA C:2004,2012, C++ 11 Identify software defects via static analysis o 59 checks (memory leak, race condition, deadlock, ) Takes advantage of MATLAB platform Optional Required Product stack 19

Test the Code on the Production Processor: Simulink with Processor-in-the-loop Code Generation Execution Host/Target Nonreal-time Production Processor 20

Test the ECU with a real-time environment Simulink Real-Time MathWorks Simulink Real-Time MathWorks real-time kernel Speedgoat real-time target machines MathWorks Instrumentation FPGA-based software and hardware solutions Speedgoat I/O modules and protocol support Speedgoat tools and driver library 21

Agenda Benefits of Model-Based Design Verification at Model level Code generation Verification at Code level Certification process 22

Development Processes for High-Integrity Applications High integrity applications development follows standards and guidelines Standards and Guidelines have objectives for development process activities Impose additional constraints on development Require creation of additional artifacts Require more thorough verification, validation and testing activities Require evidence that the objectives were met. 23

Automated Certification Process Requirements Management Interface System Design Description Model/Code Trace Report MATLAB Simulink Stateflow Embedded Coder Compiler Requirements Models Source Code Object Code Model Advisor Polyspace Bug Finder & Code Prover Simulink Code Inspector Model Coverage Processor-in-the-loop Code Coverage SLDV Test Generation Processor-in-the-loop Code Coverage Iec 61508 Iec 62304 ISO 26262 EN 50128 DO 178C DO 330/331 DO 278 DO 254 24

Key takeaways Faster development from requirements to code Better quality through continuous verification Stronger confidence with the support of international standards 25

Products cited Model Verification Simulink Verification & Validation Simulink Design Verifier Code Verification Polyspace Bug Finder Polyspace Code Prover Simulink Real-Time Code Generation Embedded Coder HDL Coder PLC Coder Certification process DO Qualification Kit (for DO-178) IEC Certification Kit (for ISO 26262 and IEC 61508) 26

Questions? 27