High-Level and Model-Based Design Targeting FPGAs and SoCs

Similar documents
Hardware and Software Co-Design for Motor Control Applications

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

Hardware and Software Co-Design for Motor Control Applications

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

Modeling a 4G LTE System in MATLAB

Simulation, prototyping and verification of standards-based wireless communications

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

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

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

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

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

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

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

Modeling HDL components for FPGAs in control applications

[Sub Track 1-3] FPGA/ASIC 을타겟으로한알고리즘의효율적인생성방법및신기능소개

Cover TBD. intel Quartus prime Design software

Cover TBD. intel Quartus prime Design software

Making the Most of your MATLAB Models to Improve Verification

Hardware and Software Co-Design for Motor Control Applications

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

Model-Based Design for Video/Image Processing Applications

Accelerating FPGA/ASIC Design and Verification

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

Design and Verification of FPGA Applications

Real-Time Testing in a Modern, Agile Development Workflow

MATLAB/Simulink in der Mechatronik So einfach geht s!

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

Design and Verify Embedded Signal Processing Systems Using MATLAB and Simulink

Turning an Automated System into an Autonomous system using Model-Based Design Autonomous Tech Conference 2018

Designing a Multi-Processor based system with FPGAs

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

Design and Verification of FPGA and ASIC Applications Graham Reith MathWorks

Welcome. Altera Technology Roadshow 2013

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

Targeting Motor Control Algorithms to System-on-Chip Devices

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

Design and Verify Embedded Signal Processing Systems Using MATLAB and Simulink

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

A Matlab/Simulink Simulation Approach for Early Field-Programmable Gate Array Hardware Evaluation

Introduction to C and HDL Code Generation from MATLAB

2015 The MathWorks, Inc. 1

SDSoC: Session 1

Connecting MATLAB & Simulink with your SystemVerilog Workflow for Functional Verification

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

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

A Model-based Embedded Control Hardware/Software Co-design Approach for Optimized Sensor Selection of Industrial Systems

Designing and Targeting Video Processing Subsystems for Hardware

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

Floating-Point to Field-Tests: A Unified Development Environment for Algorithm Research

Modeling and Verifying Mixed-Signal Designs with MATLAB and Simulink

Investigation of High-Level Synthesis tools applicability to data acquisition systems design based on the CMS ECAL Data Concentrator Card example

MathWorks Products and Prices International September 2016

DSP Flow for SmartFusion2 and IGLOO2 Devices - Libero SoC v11.6 TU0312 Quickstart and Design Tutorial

Modelling, Simulation, and Real-Time Testing for Model-Based Design GianCarlo Pacitti Application Engineer MathWorks

Team-Based Collaboration in Simulink Chris Fillyaw Application Engineer Detroit, MI

MathWorks Products and Prices North America January 2018

Avnet Speedway Design Workshop

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

System Requirements & Platform Availability by Product for R2016b

Implementation and Verification Daniel MARTINS Application Engineer MathWorks

Model-Based Design: Design with Simulation in Simulink

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

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

Audio Signal Processing in MATLAB Youssef Abdelilah Senior Product Manager

Signal Processing Algorithms into Fixed Point FPGA Hardware Dennis Silage ECE Temple University

Vivado Fpga Xilinx. Xilinx Vivado Vs Ise - S2i xilinx vivado vs ise user comparison of the fpga development tools 3/6 vivado 2013.

AccelDSP tutorial 2 (Matlab.m to HDL for Xilinx) Ronak Gandhi Syracuse University Fall

Fast FPGA prototyping with Software Development Kit for FPGA (SDK4FPGA)

ASSOCIATED ELECTRONICS RESEARCH FOUNDATION C-53 PHASE-II, NOIDA

Simplify System Complexity

High-Level Synthesis with LabVIEW FPGA

An Overview of a Compiler for Mapping MATLAB Programs onto FPGAs

Optimize DSP Designs and Code using Fixed-Point Designer

Copyright 2014 Xilinx

RFNoC Neural-Network Library using Vivado HLS (rfnoc-hls-neuralnet) EJ Kreinar Team E to the J Omega

DSP Builder Handbook Volume 1: Introduction to DSP Builder

FPGA system development What you need to think about. Frédéric Leens, CEO

Reuse MATLAB Functions and Simulink Models in UVM Environments with Automatic SystemVerilog DPI Component Generation

Using Model-Based Design to Design Real-Time Video Processing Systems

An update on Scalable Implementation of Primitives for Homomorphic EncRyption FPGA implementation using Simulink Abstract

Introduction to Control Systems Design

DRYING CONTROL LOGIC DEVELOPMENT USING MODEL BASED DESIGN

Designing a Pick and Place Robotics Application Using MATLAB and Simulink

Introduction to DSP/FPGA Programming Using MATLAB Simulink

Addressing Fixed Point Design Challenges

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

What s New in MATLAB and Simulink

Ein Modell - viele Zielsysteme

What is Mechatronics

White Paper. The advantages of using a combination of DSP s and FPGA s. Version: 1.0. Author: Louis N. Bélanger. Date: May, 2004.

Integrating Mechanical Design and Multidomain Simulation with Simscape

Simplify System Complexity

컴퓨터비전의최신기술 : Deep Learning, 3D Vision and Embedded Vision

Performance Verification for ESL Design Methodology from AADL Models

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

CMPE 415 Programmable Logic Devices Introduction

A Case Study in Incremental Prototyping with Reconfigurable Hardware: DSRC Software Defined-Radio

Designing and Analysing Power Electronics Systems Using Simscape and SimPowerSystems

Accelerate FPGA Prototyping with

MathWorks Products and Prices North America September 2016

Transcription:

CO-DEVELOPMENT MANUFACTURING INNOVATION & SUPPORT High-Level and Model-Based Design Targeting FPGAs and SoCs Sander Ter Burg, FPGA System Engineer

3T B.V. What we do: Electronic and Embedded Systems Co-Development and Re-design Manufacturing (together with production partners) Consulting & Support Where we are: Enschede + Eindhoven More info: www.3t.nl info@3t.nl 2

Summary High-Level Design and Synthesis Model-Based Design Model-Based Design Examples SCARA Robot Braking Controller Radar Tracking Module 3

Traditional HDL Design example FPGA Design HDL HDL All code written in HDL No CPUs on-board HDL to Low Level Logic HDL HDL HDL = Hardware Description Language 4

High(er)-Level Design example PSoC Logic (FPGA) HDL High-Level Model Higher Level Design Blocks High-Level Model to HDL C/C++ code running on a CPU µc (Arm) C/C++ HDL HLS examples C/C++ to HDL + synthesis MATLAB to HDL + synthesis to HDL + synthesis 5

High Level Design Tools For FPGA devices: Vivado HLS (Xilinx) HLS Compiler (Intel) HDL Coder (MathWorks) and more For SoC devices: SDSoC (Xilinx) SDK for OpenCL (Intel) Embedded Coder (MathWorks) and more 6

High Level Design Pros Well suited for complex mathematical problems Fast Functional Iterations Freedom of implementation (CPU and/or Logic) Simulation time reduction (in software) Early resource estimation HDL Co-Simulation in software environment Software Engineers can now write Hardware 7

High Level Design Cons Hardware mind-set still needed Code restructuring needed Generated HDL is not very readable Less suitable for (peripheral) interface controllers But tools keep getting better 8

Model-Based Design A form of High-Level Designing Mathematical and visual design method To design: Complex controllers Signal processing Communication systems Applications fields examples: Industrial Aerospace Automotive 9

Real vs. Virtual World Virtual World Controller Model Plant Model Application Model Real World Controller Plant Application 10

Model-Based Design Multidisciplinary Design Approach Design with Virtual Models (without hardware) Simulation in the Virtual environment Models are always a complexity / effort trade-off Controller Model as good as your Plant/Appl. Model 11

Model-Based Design Examples SCARA Robot Braking Controller Radar Tracking Module 12

SCARA Robot Braking Application Move intermediate semiconductor products Controlled emergency braking Braking Requirements: Follow robot trajectory while braking Deviation from trajectory < 1mm Rest is under NDA Customer provided Mechanical Models (in MATLAB Simulink) SCARA Motor Model Controller Model 13

Simulink Model of Plant and Controller Angular Velocity Angle Braking Controller (Simulink) Torque SCARA Motor Model (Simulink) 14

Simulink Braking Controller Model Braking Controller Model Angular Velocity Angle Hardware Model M2E ADC FPGA Model DAC E2M Torque 15

Simulink FPGA Model FPGA Model Comm. Control / Status / Communication Logic Motor Feedback ADC Control Calculate Angle + Direction Regulator Model Braking Controller DAC Control Motor Controller 16

Simulink Braking Regulator (Model to HDL) Variable Time Step Floating Point Model Fixed Time Step Floating Point Model Fixed Time Step Fixed Point Model Fixed Time Step Fixed Point HDL Code 17

Braking Regulator HDL Co-Simulation Angular Velocity Braking Controller (Simulink) Angle Regulator Model HDL Simulation (ModelSim) Torque SCARA Motor Model (Simulink) 18

Design and Verification Summary From High Level Model to Generated HDL Various Model Translations Generated HDL for Regulator Model (HDL Coder) Angle/Direction Calculation + Braking Controller Hardcoded Design Blocks (non HDL Coder) ADC / DAC Control + Control / Status / Communication Blocks Design Verification: Co-Simulation + Hardware-in-the-Loop Design Fine-tuning: Timing Closure, Resource Sharing, Xilinx IP Instantiation for FFT 19

Radar Tracking Module example For Traffic Data processing Customer provided a High-Level Model (MATLAB) including: Radar Module Signal Processing Tracking Algorithm System-on-Module Hardware Target Enclustra Mars ZX3 20

SoC implementation setup Dual ARM Core CPU 1 CPU 2 Control Tracking Ext. Buffers ecos RTOS on CPU1 For real-time Control and Communication Only available RTOS for this SoM Tracking Algorithms on CPU2 Generated C/C++ from Matlab Model Running bare-metal on CPU2 Ethernet Data Acquisition Image Processing Image Processing in FPGA LOGIC 2D Traffic Data Matrices Operations FPGA LOGIC 21

Radar Tracking Model Radar Tracking Model (MATLAB) Radar Model 2D Traffic Data Image Processing Model Dec. FFT 1 FFT 2 Tracking Algoritme Intermediate Result Files 22

Image Processing Module Simulation File In HDL TestBench File Out Image Processing Block (Decimate / FFT1 / FFT2) Intermediate Model Results used in HDL TestBench HDL TestBench Results verified in the Model 23

Hardware-in-the-Loop Verification CPU 1 Control Dual ARM Core CPU 2 Tracking External Buffers Ethernet Data Acquisition Decimate FFT 1 FFT 2 FPGA LOGIC Data Control 24

Tooling Mathworks Tools: MATLAB: Complete Radar Tracking Model Embedded coder: Tracking Algorithms Implementation Instrument Control toolbox: Hardware-in-the-Loop Verification Signal processing toolbox: Digital Filter Design Xilinx Vivado: Xilinx IP: FFTs for Image Processing Xilinx IP: Gbit Ethernet for UDP communication Custom IP: Decimate for Image Processing Xilinx to MATLAB: Xilinx FFT C-model converted to MATLAB file 25

Summary and More Info: High-Level Design and Synthesis Model-Based Design SCARA Robot Braking Controller Radar Tracking Module Email : Web : Stand: Sander@3T.nl www.3t.nl 7A108 Next Up: Herman Kuster Topic Embedded Systems Hardware platform for industrial ultrasound steel plate Inspection 26

3T B.V. Institutenweg 1 Esp 401 7521 PH Enschede 5633 AJ Eindhoven The Netherlands The Netherlands T. +31 53 4 33 66 33 F. +31 53 4 33 68 69 E. info@3t.nl W. www.3t.eu