MATLAB DESIGN HDL CODER RELEASE NOTES User's Guide Page 200

  • Download
  • Add to my manuals
  • Print
  • Page
    / 410
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 199
200 www.xilinx.com System Generator for DSP User Guide
UG640 (v 12.2) July 23, 2010
Chapter 2: Hardware/Software Co-Design
8. The last step is to either create a new C-code source file or add an existing one to the
project. In this case, you can just add the existing one from C:\VFBC\C-code\vfbc.c.
The easiest way to add a C-code source file to the VFBC {SysGen_VFBC} application
project is to simply Copy & Paste or Drag & Drop the file into the project. Once the file
is added, the project will be built and compiled automatically.
How to Iterate the Design between System Generator and SDK
By default, the ELF file is named after the application project name – VFBC.elf in this
case. It’s also located under the folder of the application project location.
Design iteration using the SDK is similar to that performed in XPS but with more advanced
features and functionality. Once the C-code is modified and saved, the software
application is rebuilt and recompiled automatically. This, in turn, generates a new ELF file
that isthen be used by System Generator to recompile and update the bitstream to the
target platform.
Software Iteration
1. SDK -- Modify C-code and make sure the software project is recompiled successfully
2. Sysgen – Simulate the design
Hardware Iteration
1. SDK – Add new peripherals or modify existing ones
2. Sysgen – Re-import an XPS project into the Sysgen design
3. Sysgen – Re-generate a Hardware Co-Simulation block
4. SDK – Modify C-code accordingly
5. Sysgen – Re-simulate the design
Note:
Making Hardware changes requires a new design implementation through Place & Route.
Tutorial Example - Using System Generator and SDK to Co-Debug an
Embedded DSP Design
Introduction
Xilinx ISE Design Suite 12.1 includes a new beta feature that introduces key improvements
in the integration flow between System Generator, Xilinx Platform Studio (XPS), and
Software Development Kit (SDK). These improvements concentrate on the following
areas:
1. Enables you to rapidly import a test MicroBlaze processor subsystem into System
Generator and simulated through hardware co-simulation in order to debug a DSP
circuit under development
2. Perform co-debugging with System Generator and SDK together
The majority of this tutorial exercise is focused on the use-case where you import an XPS
design into System Generator. This flow allows you to debug your DSP design in System
Generator with real live data generated from the MicroBlaze. System Generator's
Hardware Co-Simulation technology allows the MicroBlaze to be running in hardware and
for the rest of the DSP design to be simulated (in software) in System Generator. This gives
you visibility into all the signals of the DSP design and is useful for finding hardware and
interface/protocol bugs.
Page view 199
1 2 ... 195 196 197 198 199 200 201 202 203 204 205 ... 409 410

Comments to this Manuals

No comments