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

Similar documents
Ein Modell - viele Zielsysteme

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

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

Implementation and Verification Daniel MARTINS Application Engineer MathWorks

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

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

What s New in Simulink in R2015b and R2016a

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

Simulink to Embedded Hardware Paul Peeling MathWorks

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

2015 The MathWorks, Inc. 1

Model-Based Design: Design with Simulation in Simulink

Designing and Analysing Power Electronics Systems Using Simscape and SimPowerSystems

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

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

Design and Verification of FPGA Applications

Design and Verify Embedded Signal Processing Systems Using MATLAB and Simulink

MATLAB/Simulink in der Mechatronik So einfach geht s!

Targeting Motor Control Algorithms to System-on-Chip Devices

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

Workflow for Control System Design and Implementation

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

Design and Verify Embedded Signal Processing Systems Using MATLAB and Simulink

Déploiement embarqué et connectivité hardware avec MATLAB et Simulink

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

Optimization and Implementation of Embedded Signal Processing Algorithms Jonas Rutström Senior Application Engineer

Model-Based Design for Video/Image Processing Applications

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

Optimize DSP Designs and Code using Fixed-Point Designer

Hardware and Software Co-Design for Motor Control Applications

Accelerate FPGA Prototyping with

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

Designing and Targeting Video Processing Subsystems for Hardware

Production Code Generation Introduction and New Technologies

Real-Time Testing in a Modern, Agile Development Workflow

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

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

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

Hardware and Software Co-Design for Motor Control Applications

Design and Verification of FPGA and ASIC Applications Graham Reith MathWorks

From Design to Production

Extending Model-Based Design for HW/SW Design and Verification in MPSoCs Jim Tung MathWorks Fellow

Accelerating FPGA/ASIC Design and Verification

Making the Most of your MATLAB Models to Improve Verification

Hardware and Software Co-Design for Motor Control Applications

Simulation, prototyping and verification of standards-based wireless communications

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

European Conference on Nanoelectronics and Embedded Systems for Electric Mobility. HIL platform for EV charging and microgrid emulation

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

Simulink Matlab To Vhdl Route For Full Custom Fpga Rapid

Cover TBD. intel Quartus prime Design software

Integrating Mechanical Design and Multidomain Simulation with Simscape

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

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

Modeling a 4G LTE System in MATLAB

What s New MATLAB and Simulink

Virtual Hardware ECU How to Significantly Increase Your Testing Throughput!

Cover TBD. intel Quartus prime Design software

Connecting MATLAB & Simulink with your SystemVerilog Workflow for Functional Verification

Introduction to C and HDL Code Generation from MATLAB

Integrating Mechanical Design and Multidomain Simulation with Simscape

Virtuelle Inbetriebnahme und Optimierung von Robotersystemen mit Simscape The MathWorks, Inc. 1

Verification and Validation Introducing Simulink Design Verifier

Introduction to Control Systems Design

Simulink as Your Enterprise Simulation Platform

Verification and Test with Model-Based Design

Betrouwbare Elektronica ontwerpen en Produceren

Method We follow- How to Get Entry Pass in SEMICODUCTOR Industries for 3rd year engineering. Winter/Summer Training

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

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

Motor Control: Model-Based Design from Concept to Implementation on heterogeneous SoC FPGAs Alexander Schreiber, MathWorks

Team-Based Collaboration in Simulink

MathWorks Products and Prices North America January 2018

oscan Embedded Real-time Operating Systems

2014 Brazilian Embedded Systems Development Market Study

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

CO SIMULATION OF GENERIC POWER CONVERTER USING MATLAB/SIMULINK AND MODELSIM

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

Moving MATLAB Algorithms into Complete Designs with Fixed-Point Simulation and Code Generation

Automating Best Practices to Improve Design Quality

Open Platform for Developing and Testing Smart Grid Automation Systems. Igor Alvarado National Instruments Corp.

Advanced AC Motor Control S/W Development Sang-Ho Yoon Senior Application Engineer The MathWorks

NEW FPGA DESIGN AND VERIFICATION TECHNIQUES MICHAL HUSEJKO IT-PES-ES

A Deterministic Flow Combining Virtual Platforms, Emulation, and Hardware Prototypes

Testen zur Absicherung automatisierter Transformationsschritte im Model-Based Design

CompactRIO System on Module

Addressing Fixed Point Design Challenges

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

SCADE. SCADE Suite Tailored for Critical Applications EMBEDDED SOFTWARE

2015 The MathWorks, Inc. 1

Extending the Power of FPGAs to Software Developers:

Automating Best Practices to Improve Design Quality

MODEL BASED HARDWARE DESIGN WITH SIMULINK HDL CODER

Modelling and Simulation Made Easy with Simulink Tiffany Liang Application Engineer MathWorks

Optimizing HW/SW Partition of a Complex Embedded Systems. Simon George November 2015.

A So%ware Developer's Journey into a Deeply Heterogeneous World. Tomas Evensen, CTO Embedded So%ware, Xilinx

Chapter 1 Overview of Digital Systems Design

Running OPAL-RT s ehs on National Instruments crio: Sub-microsecond power-electronic simulation

Mentor Graphics Solutions Enable Fast, Efficient Designs for Altera s FPGAs. Fall 2004

II. LITERATURE SURVEY

Transcription:

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

Challenges to bring an idea into real hardware Software Developers Tools? Investments? ROI? People Specifications Schematics Diagrams Algorithms Hardware Engineers Manager Mechanical Engineers 2

switch(idea) { 3

case Applications : 4

Toyota engine AirSonea device, which connects to a patient s smartphone Philips Healthcare MRI scanner The HB-SIA aircraft on a test flight over San Francisco Bay Photo Solar Impulse Revillard Rezo.ch Sonova s hearing aid and cochlear implant solutions http://nl.mathworks.com/company/user_stories/ Alstom Grid s HVDC demonstrator system with power converter modules 5

case Programming : 6

MATLAB C ASCII C++ ASSEMBLY VHDL 7

case Hardware : 8

ARM Analog Devices Atmel Freescale ALTERA Xilinx MCU / DSP Infineon Intel Texas Instruments STMicroelectronics Renesas Microchip NXP 9

case Operating Systems : 10

Android VxWorks OS Embedded Linux OSEK-OS Microsoft Windows Embedded 11

case Standards : 12

AUTOSAR MISRA AC AGC DO-178B/C STANDARDS IEC 61508 EN 50128 ISO 26262 13

default : printf( Wrong session? ); } 14

MBD_Overview(); 15

RESEARCH ACTIVITIES REQUIREMENTS DOCUMENTS ANALYSIS SPECIFICATION- DESIGN MODEL Architecture Algorithms Environment Constraints TEST CASES Schematics IMPLEMENTATION Physical Domains TEST & VERIFICATION C, C++ VHDL, Verilog MCU DSP FPGA ASIC Structured Text PLC PAC TEST CASES INTEGRATION 16

RESEARCH ACTIVITIES REQUIREMENTS DOCUMENTS ANALYSIS SPECIFICATION- DESIGN MODEL Architecture Algorithms Environment Constraints TEST CASES Schematics IMPLEMENTATION Physical Domains TEST & VERIFICATION C, C++ VHDL, Verilog MCU DSP FPGA ASIC Structured Text PLC PLCPAC TEST CASES INTEGRATION 17

Model2Code(); 18

Modelling Languages Simulink MATLAB Stateflow 19

Code Generation Common Internal Architecture C Code Simulink Unified representation C++ Code HDL Code PLC Code MATLAB Stateflow Mathematical engines Find design errors Test cases Fixed-point autoscaling 20

case Code Generation Top 5 : 21

In-the-Loop Verification Methodologies 22

Software- and Processor- in-the-loop SIL and PIL Communication Gateway Non-Real-Time Synchronization with Host at Each Time Step Execution History Logged signal results comparison Code coverage Execution timing 23

Hardware-in-the-Loop HIL, Rapid Prototyping Code Generation Logging and Tuning via Host Hard Real-Time Execution 24

FPGA-in-the-Loop FIL, Test Bench Simulation 25

Incremental Build Process 26

Incremental Build Process Significantly saves time Only build blocks that have changed Helps with partitioning and componentization Scalability! 27

Simulink Data Dictionary 28

Code Generation for Simulink Data Dictionary Manage data outside of base workspace Componentization Scalability and performance Change tracking and differencing Integration with Simulink Projects Code generation SLX FileSLX FileSLX File SLDD File SLDD File SLDD File Simulink Model 1 Model 2 Model 3 Global Data 29

Profiling of Generated Code 30

Measure Execution Time Identify hot spots, worst-case execution Supports SIL and PIL Tasks and functions HTML reports 31

Intellectual Property Protection 32

Password Protected Models Protect design IP for models and generated code Support options Simulation: Allow Accelerator mode Code generation: Include obfuscated code to support code generation Read-only view: Web view of model Password protection: Access protected by password 33

case Targets : 34

Hardware Support Packages HW Support Packages are: Downloadable from MathWorks websites Available for free with required base product Supported by technical support HW Support Package manages: Licenses 3 rd -party software installation Hardware setup 35

Services Automate compile, build, and download Integrate device drivers and RTOS with Simulink Optimize code replacements to your target Verify and validate code execution results http://nl.mathworks.com/services/consulting/proven-solutions/developing-embedded-targets.html 36

case Getting FREEd : } 37

Programming an heterogeneous system Zynq Platform AXI FPGA AXI ARM 38