DSP Builder v5.1.0 October 2005.

Slides:



Advertisements
Similar presentations
Bus Specification Embedded Systems Design and Implementation Witawas Srisa-an.
Advertisements

Comparison of Altera NIOS II Processor with Analog Device’s TigerSHARC
© 2003 Xilinx, Inc. All Rights Reserved Course Wrap Up DSP Design Flow.
Sumitha Ajith Saicharan Bandarupalli Mahesh Borgaonkar.
Developing Video Applications on Xilinx FPGAs
Internal Logic Analyzer Final presentation-part B
Avalon Switch Fabric. 2 Proprietary interconnect specification used with Nios II Principal design goals – Low resource utilization for bus logic – Simplicity.
Pipeline transfer testing. The purpose of pipeline transfer increase the bandwidth for synchronous slave peripherals that require several cycles to return.
Integrated Circuits Laboratory Faculty of Engineering Digital Design Flow Using Mentor Graphics Tools Presented by: Sameh Assem Ibrahim 16-October-2003.
MotoHawk Training Model-Based Design of Embedded Systems.
DSP for FPGA SYSC5603 (ELG6163) Digital Signal Processing Microprocessors, Software and Applications Miodrag Bolic.
Term Project Overview Yong Wang. Introduction Goal –familiarize with the design and implementation of a simple pipelined RISC processor What to do –Build.
Altera’s Quartus II Installation, usage and tutorials Gopi Tummala Lab/Office Hours : Friday 2:00 PM to.
Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab Project performed by: Naor Huri Idan Shmuel.
ECE Department: University of Massachusetts, Amherst Lab 1: Introduction to NIOS II Hardware Development.
1 Chapter 7 Design Implementation. 2 Overview 3 Main Steps of an FPGA Design ’ s Implementation Design architecture Defining the structure, interface.
v8.2 System Generator Audio Quick Start
Elad Hadar Omer Norkin Supervisor: Mike Sumszyk Winter 2010/11 Date: Technion – Israel Institute of Technology Faculty of Electrical Engineering High Speed.
General Purpose FIFO on Virtex-6 FPGA ML605 board midterm presentation
© 2011 Xilinx, Inc. All Rights Reserved Intro to System Generator This material exempt per Department of Commerce license exception TSU.
© 2011 Xilinx, Inc. All Rights Reserved This material exempt per Department of Commerce license exception TSU Xilinx Tool Flow.
Delevopment Tools Beyond HDL
Simulink ® Interface Course 13 Active-HDL Interfaces.
ISE. Tatjana Petrovic 249/982/22 ISE software tools ISE is Xilinx software design tools that concentrate on delivering you the most productivity available.
© 2011 Altera Corporation—Public Introducing Qsys – Next Generation System Integration Platform AP Tech Roadshow.
© 2003 Xilinx, Inc. All Rights Reserved CORE Generator System.
ECE Department: University of Massachusetts, Amherst Using Altera CAD tools for NIOS Development.
1 3-General Purpose Processors: Altera Nios II 2 Altera Nios II processor A 32-bit soft core processor from Altera Comes in three cores: Fast, Standard,
1 WORLD CLASS – through people, technology and dedication High level modem development for Radio Link INF3430/4431 H2013.
The Layered Protocol Wrappers 1 Florian Braun, Henry Fu The Layered Protocol Wrappers: A Solution to Streamline Networking Functions to Process ATM Cells,
Simulink ® Interface Course 13 Active-HDL Interfaces.
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only Xilinx Design Flow FPGA Design Flow Workshop.
© 2005 Altera Corporation SOPC Builder: a Design Tool for Rapid System Prototyping on FPGAs Kerry Veenstra Workshop on Architecture Research using FPGA.
© 2003 Xilinx, Inc. All Rights Reserved HDL Co-Simulation.
SPREE RTL Generator RTL Simulator RTL CAD Flow 3. Area 4. Frequency 5. Power Correctness1. 2. Cycle count SPREE Benchmarks Verilog Results 3. Architecture.
Chonnam national university VLSI Lab 8.4 Block Integration for Hard Macros The process of integrating the subblocks into the macro.
© 2010 Altera Corporation—Public Easily Build Designs Using Altera’s Video and Image Processing Framework 2010 Technology Roadshow.
My Second FPGA for Altera DE2-115 Board 數位電路實驗 TA: 吳柏辰 Author: Trumen.
NIOS II Ethernet Communication Final Presentation
Introduction to FPGA Created & Presented By Ali Masoudi For Advanced Digital Communication Lab (ADC-Lab) At Isfahan University Of technology (IUT) Department.
The Macro Design Process The Issues 1. Overview of IP Design 2. Key Features 3. Planning and Specification 4. Macro Design and Verification 5. Soft Macro.
- Funcational Verification with Modelsim 1 Interfacing Customized Components with Avalon Interconnect (II) Gang Chen.
Programmable Logic Training Course HDL Editor
1 Implementation in Hardware of Video Processing Algorithm Performed by: Yony Dekell & Tsion Bublil Supervisor : Mike Sumszyk SPRING 2008 High Speed Digital.
Introductory project. Development systems Design Entry –Foundation ISE –Third party tools Mentor Graphics: FPGA Advantage Celoxica: DK Design Suite Design.
© 2005 Xilinx, Inc. All Rights Reserved This material exempt per Department of Commerce license exception TSU HDL Co-Simulation.
Network On Chip Platform
1 Software Reliability Analysis Tools Joel Henry, Ph.D. University of Montana.
Lab 2 Parallel processing using NIOS II processors
Tools - LogiBLOX - Chapter 5 slide 1 FPGA Tools Course The LogiBLOX GUI and the Core Generator LogiBLOX L BX.
© 2010 Altera Corporation - Public Lutiac – Small Soft Processors for Small Programs David Galloway and David Lewis November 18, 2010.
© 2003 Xilinx, Inc. All Rights Reserved Course Wrap Up DSP Design Flow.
Ethernet Bomber Ethernet Packet Generator for network analysis
DDRIII BASED GENERAL PURPOSE FIFO ON VIRTEX-6 FPGA ML605 BOARD PART B PRESENTATION STUDENTS: OLEG KORENEV EUGENE REZNIK SUPERVISOR: ROLF HILGENDORF 1 Semester:
What’s New in Xilinx Ready-to-use solutions. Key New Features of the Foundation Series 1.5/1.5i Release  New device support  Integrated design environment.
Ready to Use Programmable Logic Design Solutions.
© 2000 Altera Corporation 1 Quartus Simulator. © 2000 Altera Corporation Dow load from: 2 In This Section Simulator –Features –Supported.
Los Alamos National Laboratory Streams-C Maya Gokhale Los Alamos National Laboratory September, 1999.
Application-Specific Customization of Soft Processor Microarchitecture Peter Yiannacouras J. Gregory Steffan Jonathan Rose University of Toronto Electrical.
CoDeveloper Overview Updated February 19, Introducing CoDeveloper™  Targeting hardware/software programmable platforms  Target platforms feature.
The Whole Sort of General Mish Mash Frequently Asked Questions and Trip-ups About the CASPER Libraries and Toolflow Henry Chen, CASPER Workshop, August.
Altera Technical Solutions Seminar Schedule OpeningIntroduction FLEX ® 10KE Devices APEX ™ 20K & Quartus ™ Overview Design Integration EDA Integration.
Lab 1: Using NIOS II processor for code execution on FPGA
PCIe control interface for user logic.
Avalon Switch Fabric.
System Interconnect Fabric
ChipScope Pro Software
THE ECE 554 XILINX DESIGN PROCESS
THE ECE 554 XILINX DESIGN PROCESS
Øyvind Hagen Senior Hardware Developer
Presentation transcript:

DSP Builder v5.1.0 October 2005

Prerequisites Understanding of DSP Builder Understanding of Simulink Understanding of SOPC Builder and Avalon Interface Specification Understanding of IP MegaCore Design Flow Understanding of Quartus II

Agenda DSP Builder Overview New Features in DSP Builder v5.1.0 Enhancements Known Issues Conclusion

Overview

Single Simulink Representation System Level Design Tool Development Implementation Verification System Level Simulation of Algorithm Model MATLAB/Simulink RTL Implementation RTL Simulation Leonardo Spectrum Precision, Synplify Quartus II, ModelSim System Level Verification of Hardware Implementation Hardware Single Simulink Representation Algorithm Modeling System-level Verification Synthesis, Place ‘n Route, RTL Simulation System Algorithm Design and FPGA Design Integrated

DSP Builder Overview Place and Route Creates HDL Code Creates Simulation Testbench Place and Route Download Design to DSP Development Kits HDL Synthesis Verify in Hardware Creates SOPC Builder Ready Component

Version Compatibility DSP Builder MATLAB/ Simulink* Notes 5.0.0 R13, R14, R14SP1, R14SP2 Recommends Quartus II v5.0 5.0.1 5.1.0 R14,R14SP1, R14SP2, R14SP3 Recommends Quartus II v5.1 Note (*) MATLAB/Simulink R13: Matlab v6.5, Simulink v5.0 MATLAB/Simulink R14: Matlab v7.0, Simulink v6.0 MATLAB/Simulink R14SP1: Matlab v7.0.1, Simulink v6.1 MATLAB/Simulink R14SP2: Matlab v7.0.4, Simulink v6.2 MATLAB/Simulink R14SP3: Matlab v7.1, Simulink v6.3

New Features

DSP Builder v5.1 New Features HDL Import Enhanced SOPC Builder Integration Support Multiple Versions of IP MegaCores Bit Width Parameterization Name Propagation

HDL Import

HDL Import Import VHDL, Verilog or Quartus II Project Simulink Simulation Model is Automatically Generated Allows Co-Simulation Does Not Require 3rd Party Simulator Allow Multiple Instantiations

HDL Import Interface Supports Hierarchical Designs with Multiple Entities Add Verilog/VHDL Files or Select Quartus II Project Set Top-Level Entity (Verilog or VHDL only) Compile Generate Simulink Model

HDL Import Requirements Single Clock Domain Synchronous Design Supports Generic Memory and Logic Functions Logic Elements Memory DSP Blocks Does Not Support Device Specific Functions Examples - PLL, LVDS, WYSIWYG Refer to DSP Builder Reference Manual for Complete List of Supported MegaFunctions

Design Flow using HDL Import

What About SubSystemBuilder? Import HDL File User Creates Own Simulation Model Speed Up Simulation Using Own Simulink Model Can Use SubSystemBuilder If Design Contains Unsupported LPMs/MegaFunctions

Comparison of HDL Co-Design Features Design Effort Simulation Speed HDL Import Low Average SubSystem Builder High Note(1) Hardware in the Loop (HIL) Medium Fastest Link for ModelSim Fast Note: (1) User creates their own Simulink simulation model. Simulation speed depends on the type of simulation model.

Enhanced SOPC Builder Integration

SOPC Builder Integration User Can Build Any Avalon SOPC Component Dragging and Dropping Avalon Interfaces into DSP Builder Design Validate by Simulating in Simulink Export to SOPC Builder by Generating HDL and PTF from Signal Compiler

Enhanced SOPC Builder Integration Interface Blocks Avalon Slave Avalon Master Wrapped Blocks Avalon Read FIFO Avalon Write FIFO Multiple Slaves and Masters Advanced Avalon Bus Support

Interface Blocks Low-level Access to Avalon Signals All Ports have “Pass-Through” Behaviour Allows Multiple Slaves/Masters Mechanism for setting PTF variables Dialog to Configure Mode of Operation Avalon Slave Avalon Master

Avalon Master User Configurable to Allow Subset of Signals Modes of Operation Flow Control Pipeline Transfers Burst Transfers

Avalon Master Signals Signal Type Signals Fundamental clk, waitrequest, address, read, readdata, write, writedata, byteenable Pipeline readdatavalid, flush Burst burstcount Flow Control endofpacket Other irq, irqnumber

Input Avalon Master Example Output

Avalon Slave User Configurable to Allow Subset of Signals Modes of Operation Flow Control Pipeline Transfers Burst Transfers

Avalon Slave Signals Signal Type Signals Fundamental clk, address, read, readdata, write, writedata, byteenable Wait-State waitrequest Pipeline readdatavalid Burst burstcount, beginbursttransfer Flow Control readyfordata, dataavailable, endofpacket Other irq

Input Avalon Slave Example Output

Wrapped Blocks Higher Level of Abstraction Map Avalon Signals to a “Standard” Subset Both Read/Write FIFOs Handle Streaming Data Test Avalon Interface in Simulink Environment Avalon Write FIFO Avalon Read FIFO

Avalon Write FIFO Hierarchical Component Configuration Dialog Data Type Data Width FIFO Depth

Avalon Write FIFO Internals Look Under Mask User Can Customize Functionality using Mask Editor

Avalon Write FIFO Signals Description TestData Pass through simulation data to DataOut one cycle after Ready is asserted Stall Simulate stall conditions, and may cause underflow to SOPC component. When asserted, data provided by TestData is cached and no Avalon writes take place. Ready When asserted, indicates downstream hardware is ready for data. DataOut Output from FIFO DataValid Asserted when valid output is presented on DataOut

Avalon Read FIFO Hierarchical Component Configuration Dialog Data Type Data Width FIFO Depth

Avalon Read FIFO Internals Look Under Mask User Can Customize Functionality using Mask Editor

Avalon Read FIFO Signals Description Stall Simulate stall conditions, applying backpressure to the SOPC Component. When asserted, data provided on Data fills up FIFO but no Avalon reads take place. Data Outgoing data from user’s design DataValid Asserted when valid signal is presented on Data TestDataOut Output from FIFO over Avalon Interface TestDataValid Asserted when valid output is presented on TestDataOut Ready When asserted, indicates slave is ready to receive data.

Testing Blocks Streaming Avalon Converter Not Synthesizable Provides Data to Avalon Write FIFO Collects Data from Avalon Read FIFO Not Synthesizable

Avalon Write/Read FIFO Example

Simulink Simulation Avalon Blocks Accept Simulink Data Use Standard Simulink Source/Sink Blocks Sources: Constants, Sine Wave, MATLAB vars Sinks: Display, Scope, File

HDL and PTF Generation Set Option to Generate PTF in Signal Compiler VHDL Entity/Port Names Derived From Block PTF File Automatically Generated Needed for Import in SOPC Builder Component Appears in SOPC Suite

SOPC Builder System Editor Nios II H/W Core + DMAs A view of most of the system in SOPC builder (missing off the screen is thing like the LEDs and buttons). Note that Nios does not access the edge detector, only the DMAs. DMA_1 is used to write from memory to the edge detector. DMA_2 reads from the edge detector to memory. LCD controller and camera write to memory – they have internal DMAs

What About Avalon Ports? Only For Legacy Design Allow One Slave Per Design Avalon Slave Block Has Same Functionality Except for Chip Select

Other New Features

IP MegaCore Support Access to Multiple Versions of IP Versioned MegaCore Blue Color Recommended for New Designs Legacy MegaCore Gray Color For Backwards Compatibility Warnings Will Be Generated Example: Warning: The block ‘test/csc' is linked to 'MegaCoreAltr/csc', which is a legacy block in the library and should not be used in new designs.

Update IP MegaCore Automatic Update Manual Update Global Update Create Two Variables in MATLAB dspbuilder_reinstall_megacores = ‘on’ dspbuilder_auto_update_megacore=‘on’ Rerun setup_dspbuilder Update MDL (Edit Menu) or Ctrl-D Manual Update Design Specific Update update_megacores [design_name]

Design Parameterization Support 5.1 5.0 User can explore design optimization possibilities

Propagation of Signal Names

Enhancements

DSP Builder v5.1 Enhancements Error Message Improvements Simulation Performance Enhancements Documentation Improvements

Improved Error Messaging Hyperlinks in MATLAB command window Pin-point Errors Multiple errors displayed Blocks causing error are highlighted

IP Simulation Simulation Time Speed Up Improved Memory Usage Typically ~20% Faster Improved Memory Usage Previously Memory Grew Linearly During Simulation, Limiting Simulation Time Less Variation in Simulation Time Previously > 2x Difference in Run-Time Possible for Identical Simulations Now Always Minimum Simulation speed improvements Reduced memory requirements

Documentation Improvements Integration with Matlab Help system Allows navigation and search in Matlab Integrated with Matlab help

Known Issues

HIL and HDL Import Using SBF Simulation Mismatch Using HIL or HDL Import Block with Signed Binary Fractional (SBF) Format Convert SBF to Signed Using Binary Point Casting Blocks SPR#189659

Unique Entity Names Option to Generate Unique Hierarchical Names Cannot be Easily Unset Option is Disabled by Default To Enable: dspbuilder_enable_unique_hierarchy_name = true; SPR#189491

SignalCompiler Flow Shortcut Shortcut for “Execute steps 1, 2 and 3” Fails for 3rd Party Synthesis Tools Run Steps Separately SPR#190351

Conclusion

Conclusion DSP Builder Offers a Complete Integrated Platform with Seamless Flow From System Design to Hardware Design HDL Import Allows HDL Co-Design Enhanced SOPC Builder Integration Simulation Speed Improvements Improved Usability

Back-up Slides

References AN402: Black-Boxing in DSP Builder AN403: Avalon Master/Slave Blocks in DSP Builder DSP Builder Reference Manual DSP Builder User Guide DSP Builder Release Notes DSP Builder Errata Sheet

DSP Builder Training Previous Training Material on DSP Builder Molson https://go.altera.com/extranet2001/education/internal_training/presentations/int-presentations.html AppsNet https://go.altera.com/extranet2001/support/iAPPS/specialty_support/ip/dsp/app-spec_ip_dsp.html#dspBuilder DSP Technology Symposium https://go.altera.com/extranet2001/education/internal_training/internal_tech_training/int-presentations/edu-int_tech_presentations.html\

DSP Builder Roadmap 2005 2006 Q3 Q4 Q1 Q2 Q3 Q4 DSP Builder 5.1 HDL Import Simulation Speed Improvements Enhanced SOPC Builder Integration DSP Builder 6.0 Multi-channel management blocks External Memory Support SOPC Datapath Integration DSP Builder 6.1 Fixed-point data type Frame-based simulation HIL Improvements

Competitive Analysis Features DSP Builder v5.1.0 System Generator RTL Import +  Co-Processor Strategy Hardware Co-Simulation HDL Co-Simulation Synthesis User Interface System Generator has a more complete blockset. They cover more application spaces than DSP Builder. We should be much more competitive by 6.0, with the additional blocks that are planned. + = Pro = Neutral N/A = Not Available

Hardware in the Loop (HIL) Simulation Acceleration Instrumentation Simple Hardware Interface JTAG Connector Source Sink

HIL Design Flow Step 1 : HIL Block Configuration Step 2 : Quartus II Compilation, SOF Program Step 3 : Simulate JTAG HDL Wrapper Configure Compile/Program Simulate

Co-simulate HDL using ModelSim Bidirectional Link Between MATLAB/Simulink and ModelSim Provided by Mathworks System-Level Design and Simulation Co-simulation and Verification HDL Simulation MATLAB Simulink Modelsim Link to ModelSim

Link to ModelSim Design Flow Step 1 : Insert HDL into Simulink as Black-Box Step 2 : Configure VHDL Co-Simulation Block Step 3 : Set Up ModelSim and Load Model Step 4 : Start Simulation in Simulink Configure Set Up ModelSim Simulate

Subsystem Builder Import HDL Design and Black-Box Creates Simulink Symbol of Subsystem User Creates Simulation Model

DSP Builder Path in MATLAB Install Path Not Removed During Un-installation of DSP Builder v5.0 Conflict Due to Multiple Paths to Library Edit startup.m MATLAB Script to Comment Out Path <MATLAB install dir>\toolbox\local\startup.m %path(path,'C:\altera\DSPBuilder\AltLib');