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

  • Download
  • Add to my manuals
  • Print
  • Page
    / 410
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 155
156 www.xilinx.com System Generator for DSP User Guide
UG640 (v 12.2) July 23, 2010
Chapter 2: Hardware/Software Co-Design
As a rule of thumb, if you want the processor to free-run at the board rate, you should
choose the dual-clock wiring scheme. In case you want to single-step the processor for
debug or profiling purposes, you should choose the single-clock wiring scheme.
Starting with Release 12.1, the dual-clock wiring scheme is turned on by default. You can
change the wiring scheme to single-clock wiring through the Implementation tab on the
EDK Processor block GUI.
Dual Clock Wiring Scheme
There are three key advantages of the dual-clock wiring scheme. The first advantage is to
allow the imported XPS project (processor) to run at full speed. This allows peripherals
interfacing with external I/Os such as UART and memory controller to function correctly
during simulation.
The second advantage is to speed up the simulation time by having an asynchronous
communication interface between the XPS project with the DUT. In fact, the DUT and the
imported XPS project run asynchronously. The DUT is controlled by the clock control
module automatically added by System Generator hardware co-simulation. This clock
control module ensures that the DUT is synchronized with the Simulink software
simulation during single-stepped hardware co-simulation. Allowing the imported XPS
project and the processor inside it to run asynchronously from the DUT eliminates the
need to simulate though thousands of lines of boot-loading code before meaningful data
shows up in Simulink.
The dual-clock wiring scheme is shown in the figure below. The main difference compared
with the single-clock wiring scheme is that the board input clock directly drives the
hardware co-simulation module and the imported XPS project.
Page view 155
1 2 ... 151 152 153 154 155 156 157 158 159 160 161 ... 409 410

Comments to this Manuals

No comments