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

Similar documents
Design and Verification of FPGA and ASIC Applications Graham Reith MathWorks

Design and Verification of FPGA Applications

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

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

Introduction to C and HDL Code Generation from MATLAB

Accelerating FPGA/ASIC Design and Verification

Making the Most of your MATLAB Models to Improve Verification

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

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

Modeling a 4G LTE System in MATLAB

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

Connecting MATLAB & Simulink with your SystemVerilog Workflow for Functional Verification

Accelerate FPGA Prototyping with

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

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

Modeling and Verifying Mixed-Signal Designs with MATLAB and Simulink

Design and Verify Embedded Signal Processing Systems Using MATLAB and Simulink

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

Design and Verify Embedded Signal Processing Systems Using MATLAB and Simulink

Optimize DSP Designs and Code using Fixed-Point Designer

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

Simulation, prototyping and verification of standards-based wireless communications

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

Model-Based Design for Video/Image Processing Applications

Simulink Matlab To Vhdl Route For Full Custom Fpga Rapid

Cover TBD. intel Quartus prime Design software

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

Cover TBD. intel Quartus prime Design software

Targeting Motor Control Algorithms to System-on-Chip Devices

Hardware and Software Co-Design for Motor Control Applications

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

Simulink Design Environment

Hardware and Software Co-Design for Motor Control Applications

Early Models in Silicon with SystemC synthesis

Designing and Targeting Video Processing Subsystems for Hardware

Implementation and Verification Daniel MARTINS Application Engineer MathWorks

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

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

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

DSP Builder Handbook Volume 1: Introduction to DSP Builder

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

Four Best Practices for Prototyping MATLAB and Simulink Algorithms on FPGAs by Stephan van Beek, Sudhir Sharma, and Sudeepa Prakash, MathWorks

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

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

Designing and Analysing Power Electronics Systems Using Simscape and SimPowerSystems

Agenda. Introduction FPGA DSP platforms Design challenges New programming models for FPGAs

DSP Builder Handbook Volume 1: Introduction to DSP Builder

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

MODEL BASED HARDWARE DESIGN WITH SIMULINK HDL CODER

Hardware and Software Co-Design for Motor Control Applications

Basic Xilinx Design Capture. Objectives. After completing this module, you will be able to:

EEM870 Embedded System and Experiment Lecture 4: SoC Design Flow and Tools

MATLAB/Simulink in der Mechatronik So einfach geht s!

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

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

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

A Rapid Prototyping Methodology for Algorithm Development in Wireless Communications

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

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

Comprehensive AMS Verification using Octave, Real Number Modelling and UVM

Complex Signal Processing Verification under DO-254 Constraints by François Cerisier, AEDVICES Consulting

2015 The MathWorks, Inc. 1

Model-Based Design: Design with Simulation in Simulink

Modeling HDL components for FPGAs in control applications

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

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

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

System-on-Chip Design for Wireless Communications

The Lekha 3GPP LTE FEC IP Core meets 3GPP LTE specification 3GPP TS V Release 10[1].

The Lekha 3GPP LTE Turbo Decoder IP Core meets 3GPP LTE specification 3GPP TS V Release 10[1].

From Design to Production

Addressing Fixed Point Design Challenges

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

What s New in Simulink in R2015b and R2016a

SDR Spring KOMSYS-F6: Programmable Digital Devices (FPGAs)

Appendix SystemC Product Briefs. All product claims contained within are provided by the respective supplying company.

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

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

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

Introduction to DSP/FPGA Programming Using MATLAB Simulink

System-Level ASIC Algorithm Simulation Platform using Simulink

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

A SIMULINK-TO-FPGA MULTI-RATE HIERARCHICAL FIR FILTER DESIGN

Programmable Logic Devices HDL-Based Design Flows CMPE 415

USING THE SYSTEM-C LIBRARY FOR BIT TRUE SIMULATIONS IN MATLAB

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

FIR Compiler User Guide

UVM for VHDL. Fast-track Verilog for VHDL Users. Cont.

Abstraction Layers for Hardware Design

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

2015 The MathWorks, Inc. 1

Simulink as Your Enterprise Simulation Platform

Modeling and implementation of dsp fpga solutions

Incisive Enterprise Verifier

Avnet Speedway Design Workshop

Advanced Verification Topics. Bishnupriya Bhattacharya John Decker Gary Hall Nick Heaton Yaron Kashai Neyaz Khan Zeev Kirshenbaum Efrat Shneydor

Cadence SystemC Design and Verification. NMI FPGA Network Meeting Jan 21, 2015

Advanced FPGA Design. Jan Pospíšil, CERN BE-BI-BP ISOTDAQ 2018, Vienna

Real-Time Testing in a Modern, Agile Development Workflow

An Evaluation of the Advantages of Moving from a VHDL to a UVM Testbench by Shaela Rahman, Baker Hughes

Transcription:

Hardware Implementation and Verification by -Based Design Workflow - Communication s to FPGA-based Radio Katsuhisa Shibata Industry Marketing MathWorks Japan 2015 The MathWorks, Inc. 1

Agenda Challenges on Wireless Communication System Design -Based Design Workflow Hardware Implementation by Code Generation Verification User Stories 2

Challenges on Wireless Communication System Design It s about Collaboration Encode Decode Modulati on Demodul ation DAC ADC RF / Analog Front- End Algorithms / System Verification / Test Digital Hardware RF / Analog Hardware 3

-Based Design Workflow Executable Specification -Based Design entry point Satisfies system requirements Double Precision / Floating Point in MATLAB and/or Simulink with Toolbox Elaboration Develop implementation friendly architecture in Simulink Convert to fixed-point using Fixed-Point Designer Implement by Code Generation Generate HDL code using HDL Coder Customize code generation to meet implementation goals (area, speed, etc.) Import custom and vendor IP Verification HDL Verifier HDL co-simulation FPGA-in-the-loop verification DPI-C generation for EDA-integrated verification System Requirements Executable Specification Elaboration Implement by Code Generation Verification Continuous Verification 4

A Typical Structure Executable Specification Data Source Component Algorithm Environment Analysis Component Algorithmic System-level Testbench Algorithm interacts with outside environment through other components Algorithm is stimulated with data source Algorithm performance is analyzed by system level metrics 5

Executable Specification / Elaboration Data Source Analysis Encode Decode Modulati on Demodul ation DAC ADC RF / Analog Front- End Environment Demodulation equalisation channel estimation Fixed Point model OFDM demodulation synch. equalisation channel estimation OFDM demodulation 6

Executable Specification / Elaboration with Simulink Simulink ing and Simulation Environment for -Based Design Multi-domain system design Visualize and Analysis Application specific Add-on Communications System Toolbox LTE System Toolbox Fixed-Point Designer Data type conversion from Floating point to Fixed point Analyze the conversion effect Recommend word length and rounding mode 7

Hardware Implementation by Code Generation Demodulation equalisation equalisation channel estimation channel estimation Fixed Point model OFDM demodulation OFDM demodulation synch. HDL Refine Algorithm/System for hardware implementation Should be bit/cycle accurate, Fixed Point data type required Debug / Review with Algorithm/System engineers Explore alternative options for better implementation Optimize resource utilization DSP unit, register, etc. Integrate with existing code / IP 8

Hardware Implementation by Code Generation From to Hardware by HDL Coder Data Source Analysis Algorithm Algorithmic System-level Testbench RTL HDL (VHDL, Verilog) Component Component HDL Coder Environment Generate HDL from MATLAB, Simulink and Stateflow Device independent code Readable / Synthesizable Verilog / VHDL supported Easy operation from GUI tool HDL Workflow advisor Create reports / Scripts Resource usability, traceability, etc. Compilation, Simulation and Synthesis 9

MATLAB & Simulink Support for HDL generation HDL Coder Over 200 blocks supported Core Simulink Blocks Basic and Array Arithmetic, Look-Up Tables, Signal Routing (Mux/Demux, Delays, Selectors), Logic & Bit Operations, Dual and single port RAMs, FIFOs, CORDICs Signal Processing Blocks NCOs, FFTs, Digital Filters (FIR, IIR, Multirate, Adaptive), Rate Changes (Up &Down Sample), Statistics (Min/Max) Communications Blocks Psuedo-random Sequence Generators, Modulators / Demodulators, Interleavers / Deinterleavers, Viterbi Decoders MATLAB Function Stateflow 10

HDL Workflow Advisor HDL Coder Step-by-step guidance through code generation process setup HDL code generation FPGA synthesis and analysis 11

Create Report and Scripts HDL Coder Documents generated code in an HTML report Resource Utilization Report Optimization Report Traceability Report HDL Coding Standard Report Generate scripts to control EDA tools Compilation, Simulation Synthesis Lint 12

Verification Integrating with other Verification Activities Verification is commonly cited as the single biggest cost in hardware design Significant investment in developing simulations for verification SystemVerilog and UVM test frameworks SystemC/TLM virtual platforms Shift towards model-based verification Enabling techniques like Constrained Random testing Reusable / Parameterized testbench Rather than recreate a behavioural model, we can reuse the assets developed in the system models in MATLAB & Simulink Maintains connection with earlier part of the flow Removes risk of manual error in test framework Avoids duplicating effort 13

Co-simulation with HDL simulators Data Source Component Co-simulation with 3 rd -party HDL simulator Algorithm Environment HDL code execution in 3 rd -party HDL simulator Analysis Co-Sim Component Flexible HDL sources Handwritten or generated code Algorithmic System-level Testbench HDL Verifier Automatic co-simulation Combined analysis and debugging in both simulators RTL HDL (VHDL, Verilog) HDL Verifier Reuse of existing testbench in MATLAB/Simulink 3 rd -party HDL Simulator 14

Advantages of Co-Simulation with HDL simulators No need to recreate testbench in HDL Reuse existing system level model as testbench Flexible testbench creation in Simulink Parameterized / Integrated multi-domain testbench Automatically generated co-simulation models and Wizards for legacy HDL code Easy configuration Visualize simulation result in MATLAB/ Simulink Better insight to the result 15

FPGA-in-the-Loop Verification Data Source Component FIL simulation with FPGA development board HDL code execution on FPGA Algorithm Environment Flexible HDL sources Handwritten or generated code Analysis FIL Component Algorithmic System-level Testbench MATLAB and Simulink Automated FIL Encapsulation of algorithm within GBit Ethernet MAC HDL Verifier Automatic handshaking HDL Verifier Reuse of existing testbench in MATLAB/Simulink 16

Advantages of FPGA-in-the-Loop Verification Flexible testbench creation in Simulink Parameterized / Integrated multi-domain testbench Re-use system level test bench for FPGA verification No need to recreate testbench in T&M hardware Building confidence that the algorithm works on real hardware No need to wait until other components become ready 17

FPGA-in-the-Loop supports more FPGA boards natively 35 Number of FPGA Boards Supported by FIL 30 25 27 33 Xilinx VC707 20 15 10 Altera Cyclone V GT 5 0 Arrow SoCKit (Altera Cyclone V SoC) 18

System Verilog DPI-C Component Generation Reuse of models in SystemVerilog Testbench Data Source Analysis Algorithm Algorithmic System-level Testbench Component Component Environment Develop System components (IP and test benches) in Simulink and MATLAB, Simulate, and Verify Export Components as C code with SystemVerilog wrappers DPI-C DPI-C DPI-C DPI-C Integrate Components with components in the HDL Simulator SystemVerilog Testbench Environment HDL Verifier Simulink Coder Verify Verification of the complete system design! 19

Verification workflow using System Verilog DPI-C component Generation Generate C Code as DPI-C components for HDL testbench Hand-coded or Generated HDL code Reuse system-level for HDL verification HDL Simulator/System Verilog C Code(DPI) HDL Code 20

Advantages of System Verilog DPI-C component generation Generate System Verilog component directly from MATLAB/Simulink algorithms Available Parameterized component generation Small impact to existing EDA environment 21

Hitachi Drives Adoption of - Based Design Challenge Improve a fragmented workflow and reduce FPGA development time Solution Adopt -Based Design with MATLAB and Simulink Results Engineering headcount halved HDL verification accelerated Development time reduced by over 30% Link to article Development workflow after the introduction of -Based Design. We have adopted -Based Design with MATLAB and Simulink as our standard development workflow for FPGA design. As a result, we have improved communication between teams, reduced development time, and reduced risk by evaluating system performance early in the design process. Noritaka Kosugi, Kazuyuki Hori, Yuji Ishida, and Makoto Hasegawa Hitachi 22

Customer Presentation at MATLAB EXPO 2014 Generating code for FPGAs with HDL Coder to prototype future wireless communications systems. www.mathworks.com/videos/radio-testbed-design-using-hdl-coder-92636.html 23

Customer Presentation at MATLAB EXPO 2014 Development and Adoption of Algorithm & RTL-integrated Verification Platform https://www.mathworks.com/company/events/conferences/matlab-expo-japan/2014/ 24

Summary Challenges on Wireless Communication System Design It s about Collaboration -Based Design Workflow Help your communication system project in Digital hardware implementation and verification Hardware implementation by Code Generation Help Digital hardware engineers Better collaboration with Algorithm/System Engineer, RF/Analog Engineer Optimize implementation by automatic / systematic exploration Verification by reusing MATLAB/Simulink model Co-simulation with HDL simulator FPGA-in-the-loop simulation System Verilog DPI-C Component generation This is a proven-workflow by User Stories 25