Generating Hardware from Configurable Subsystems. Xilinx DSP
Oglas
Oglas
Chapter 1: Hardware Design Using System Generator
•
Double click on the template, and turn on the checkbox next to the added block.
86
•
Press OK, and then save the library.
•
Compile the design by typing Ctrl-d.
•
If necessary, update the choice for each instance of the configurable subsystem.
Generating Hardware from Configurable Subsystems
In System Generator, blocks both participate in simulations and produce hardware.
Sometimes, for a configurable subsystem, it is worthwhile to use one underlying block for simulation, but use another for hardware generation. For example, it might make sense to use ordinary System Generator blocks to produce simulation results, but use a black box to supply the corresponding HDL. The System Generator configurable subsystem manager block makes this possible; the ordinary block choice for the configurable subsystem is used when simulating, and the block specified in the manager is used for hardware generation.
To use a configurable subsystem manager, do the following:
•
Open and unlock the library for the configurable subsystem.
•
Select one of the blocks in the library, and double click to open it. (Aside from the template any block will do, provided the block is itself a subsystem. If there is no such subsystem in the library, it is not possible to use a configurable subsystem manager.) www.xilinx.com
System Generator for DSP User Guide
UG640 (v11.4) December 2, 2009
Configurable Subsystems and System Generator
•
Drag a manager block into the subsystem opened above. (The manager block can be found in Xilinx Blockset/Tools/Configurable Subsystem Manager).
•
Double click to open the GUI on the manager, then select the block that should be used for hardware generation in the configurable subsystem.
•
Press OK, then save the subsystem, and the library.
The MathWorks description of configurable subsystems can be found the following address: http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/slref/configura blesubsystem.shtml
.
System Generator for DSP User Guide
UG640 (v11.4) December 2, 2009 www.xilinx.com
87
Prenesi
Oglas