A Step-By-Step Description of the System Generator Flow

Slides:



Advertisements
Similar presentations
© 2003 Xilinx, Inc. All Rights Reserved Course Wrap Up DSP Design Flow.
Advertisements

Sumitha Ajith Saicharan Bandarupalli Mahesh Borgaonkar.
Section B A Step-By-Step Description of the Synplicity Flow Andy Miller © Copyright 2000 Xilinx - All Rights Reserved.
Integrated Circuits Laboratory Faculty of Engineering Digital Design Flow Using Mentor Graphics Tools Presented by: Sameh Assem Ibrahim 16-October-2003.
Section A A Step-By-Step Description of the System Generator Flow For a Colour Space Convertor In this section, a colour image stored as.
SIMULINK Dr. Samir Al-Amer. SIMULINK SIMULINK is a power simulation program that comes with MATLAB Used to simulate wide range of dynamical systems To.
Bandpass filter on FPGA Student Vitaly Zakharenko Supervisor Mony Orbach Semester Spring 2007 Duration single semester.
Implementation of DSP Algorithm on SoC. Characterization presentation Student : Einat Tevel Supervisor : Isaschar Walter Accompany engineer : Emilia Burlak.
GallagherP188/MAPLD20041 Accelerating DSP Algorithms Using FPGAs Sean Gallagher DSP Specialist Xilinx Inc.
© 2011 Xilinx, Inc. All Rights Reserved Intro to System Generator This material exempt per Department of Commerce license exception TSU.
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
© GCSE Computing Candidates should be able to:  explain the representation of an image as a series of pixels represented in binary  explain the need.
ECE 545 Project 1 Part IV Key Scheduling Final Integration List of Deliverables.
Ch.9 CPLD/FPGA Design TAIST ICTES Program VLSI Design Methodology Hiroaki Kunieda Tokyo Institute of Technology.
Simulink ® Interface Course 13 Active-HDL Interfaces.
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only Xilinx Design Flow FPGA Design Flow Workshop.
Addison Wesley is an imprint of © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 5 Working with Images Starting Out with Games & Graphics in.
EE 113D Final Project: Colorization Spring, 2006 Group Members: Johnny Cheng Brian Cheung Austin Wong Professor: R. Jain TA: Rick Lan.
VHDL Project Specification Naser Mohammadzadeh. Schedule  due date: Tir 18 th 2.
LZRW3 Decompressor dual semester project Part A Mid Presentation Students: Peleg Rosen Tal Czeizler Advisors: Moshe Porian Netanel Yamin
Introductory project. Development systems Design Entry –Foundation ISE –Third party tools Mentor Graphics: FPGA Advantage Celoxica: DK Design Suite Design.
PROJECT - ZYNQ Yakir Peretz Idan Homri Semester - winter 2014 Duration - one semester.
Xilinx Confidential Image Rotation Daniel E. Michek.
 By Bob “The Bird” Fiske & Anita “The Snail” Cost.
© 2003 Xilinx, Inc. All Rights Reserved Course Wrap Up DSP Design Flow.
Implementing JPEG Encoder for FPGA ECE 734 PROJECT Deepak Agarwal.
1 Introduction to Engineering Spring 2007 Lecture 18: Digital Tools 2.
Introduction to the FPGA and Labs
Making a 24hr Timer.
EE694v - Verification - Lect 12
Flopoco in LegUp Jenny deng.
Adaptive Median Filter
Computer Science Higher
WORKSHOP 7 PID TUNING.
Design-Space Exploration
Introduction to Programmable Logic
ECEN/MAE 3723 – Systems I MATLAB Lecture 2.
ENG3050 Embedded Reconfigurable Computing Systems
FPGA Implementation of Multicore AES 128/192/256
Lecture 1: Introduction
Course Agenda DSP Design Flow.
A Step-By-Step Description of the System Generator Flow
A Comparison of Field Programmable Gate
Week 5, Verilog & Full Adder
Sum of Absolute Differences Hardware Accelerator
What do these words mean to you?
Instructor: Alexander Stoytchev
Systems Architecture II
FPGA Tools Course Answers
A Step-By-Step Description of the Synplicity Flow
Put the theory into practice. Use the Colour Conversion Matrix of
The performance requirements for DSP applications continue to grow and the traditional solutions do not adequately address this new challenge Paradigm.
A Step-By-Step Description of the Synplicity Flow
Recall: ROM example Here are three functions, V2V1V0, implemented with an 8 x 3 ROM. Blue crosses (X) indicate connections between decoder outputs and.
Founded in Silicon Valley in 1984
Otasuke GP-EX! Chapter 2 Run State Screen.
Digital Fundamentals Floyd Chapter 4 Tenth Edition
ECE 352 Digital System Fundamentals
Using Script Files and Managing Data
THE ECE 554 XILINX DESIGN PROCESS
The Xilinx Alliance 3.3i software
Design of Digital Circuits Lab 5 Supplement: Implementing an ALU
Rational Publishing Engine RQM Multi Level Report Tutorial
Put the theory into practice. Use the Colour Conversion Matrix of
The Xilinx Alliance 3.3i software
VISUAL COMMUNICATION USING ADOBE PHOTOSHOP CREATIVE SUITE 5
Put the theory into practice. Use the Colour Conversion Matrix of
WJEC GCSE Computer Science
THE ECE 554 XILINX DESIGN PROCESS
♪ Embedded System Design: Synthesizing Music Using Programmable Logic
Presentation transcript:

A Step-By-Step Description of the System Generator Flow Section A A Step-By-Step Description of the System Generator Flow For a Colour Space Convertor In this section, a colour image stored as a bit map file is converted into 3 files containing pixel data for each of the primaries Red, Green and Blue. A script executed in the Matlab domain is used to create these files in the Matlab Workspace These separate files can then be accessed by a Simulink block diagram, which describes the structure of the RGB2YPBPR convertor of Figure 25. The Simulink model contains both an RGB2YPBPR and YPBPR2RGB convertor core, so in addition to being able to review the monochrome YPBPR outputs, we can also review the output of the YPBPR2RGB convertor core as a reconstructed bitmap. This exercise also identifies the need to have prior knowledge of the latency of the cores being used in the Simulink domain; this is easily obtainable from CORE Generator, but it demonstrates that you cannot be totally ignorant of the hardware implementation. Andy Miller © Copyright 2000 Xilinx - All Rights Reserved

System Generator Flow - Source Image 362 lines 500 rows 500 pixels/row x 362 rows = 181000 pixels = 4.344 Million bits (24-bit colour). Each pixel = 8-bit Red + 8-bit Green + 8-bit Blue Andy Miller © Copyright 2000 Xilinx - All Rights Reserved

SysGen Flow - Start New Project 1 Start Matlab, and then Simulink Andy Miller © Copyright 2000 Xilinx - All Rights Reserved

SysGen Flow - Open Simulink Project Red, Green and Blue pixel data are loaded from variables in the Matlab Workspace Use a Z-1 token to imply a register. A single register next to the inputs and outputs of the Xilinx domain will get mapped to the IOBs of the device. This will reduce the clock to setup and clock to out times of the FPGA. (i.e., data bandwidth increases.) Andy Miller © Copyright 2000 Xilinx - All Rights Reserved

SysGen Flow - RGB2YPBPR core Note the use of CORE Generator Full multipliers with a constant input! This is None Optimal use of the device, as one input of the mutiplier is constant. A Constant Coefficient Multiplier should be used; however, at present, the CORE Generator Constant Coefficient Multiplier is not supported by the System Generator. It was decided to use the full multipliers to demonstrate the Smart-IP design advantages. Andy Miller © Copyright 2000 Xilinx - All Rights Reserved

SysGen Flow - Setup Workspace This Matlab script is used to set up variables in the Matlab workspace. This script scans each pixel of the picture, splitting it into three separate arrays of Red, Green and Blue data. Andy Miller © Copyright 2000 Xilinx - All Rights Reserved

SysGen Flow - Set up Workspace Execute the PreProc_flowers.m script to set up Matlab workspace. Notice how the variables appear in the Workspace viewer. Andy Miller © Copyright 2000 Xilinx - All Rights Reserved

SysGen Flow - Run the Simulation Having set up the source and destination variables in the Matlab workspace, the simulation can be started. Be prepared to wait a while as it works its way through a lot of data!……. And consider that this is just a single frame. Any temporal processing that requires multiple frames may require considerable time to process. Andy Miller © Copyright 2000 Xilinx - All Rights Reserved

Run a Post-Processing Script Now run a second script to perform two tasks: 1) Create images of the separate Y Cb Cr outputs; 2) Read the RGB outputs from the YPbPr2RGB convertor and see if the picture that has been converted from RGB to YPbPr and back to RGB has any visible differences from the original. Andy Miller © Copyright 2000 Xilinx - All Rights Reserved

SysGen Flow - View the Output Execute the PostProc_flowers.m script to display the Luma and Colour difference channels as images; also, display the reconstructed images. (All RGB2YPBPR channels viewed as monochrome signals.) PB PR Y Andy Miller © Copyright 2000 Xilinx - All Rights Reserved

SysGen Flow - Check the Results Picture In Picture Out, … Oh dear! Something has clearly gone wrong, either in one or both of the conversions; the colours are clearly skewed within this image. Andy Miller © Copyright 2000 Xilinx - All Rights Reserved

- Remember to balance latency! Note how the delays are not balanced because we forgot to add delay to this mutliplier. Z-5 Beware! At present, you must add the correct silicon latency to the cores via their masks, because this information isn’t characterized into the current Simulink models. Z-2 Andy Miller © Copyright 2000 Xilinx - All Rights Reserved

SysGen Flow - Corrected output Picture In Picture Out - this is better! The pipeline delays are now balanced, and the image is reconstructed correctly, as the Y, PB and PR components are all associated with the same pixel. Andy Miller © Copyright 2000 Xilinx - All Rights Reserved

SysGen Flow - Export VHDL Files Double-click on this icon to set up the System Generator options... Andy Miller © Copyright 2000 Xilinx - All Rights Reserved

SysGen Flow - SysGen Token GUI Select your target technology: - Virtex - Virtex-II - Spartan-II Select a target directory for all the System Generator: -EDIFs -VHDs -TestBenches -Data files Andy Miller © Copyright 2000 Xilinx - All Rights Reserved

SysGen Flow - Generating The Files Generate the output files Andy Miller © Copyright 2000 Xilinx - All Rights Reserved

SysGen Flow - Successful Process Completed. All output files are now written in the target directory and the next stage of the flow can take place...synthesis! Andy Miller © Copyright 2000 Xilinx - All Rights Reserved (Press your “Page Down” key to end the presentation.)