ISE
Working with Microprocessor and Peripheral IP
Xilinx® Platform Studio (XPS), available in the Embedded Development Kit (EDK), allows you to create an embedded processor system. XPS saves your embedded processor system in a Xilinx microprocessor project (XMP) file that you can add as a module to your ISE® project.
Following are the basic steps for developing an embedded processor system, which are described in detail below:
  1.  Create an ISE project.
  2.  Add an embedded processor source (XMP file) to the ISE project.
  3.  Create the embedded processor system within XPS.
  4.  Instantiate the XMP module in the top-level HDL or schematic source file.
  5.  Implement the ISE design.
  6.  Generate a BIT file with the hardware and embedded software data.
  7.  Simulate the embedded processor system.
  8.  View implementation results data.
Note EDK is included in the ISE Design Suite: Embedded Edition and System Edition. If you are using a different Edition, you can order EDK separately. For documentation and information on ordering EDK, see the Platform Studio and the EDK web page. To access the XPS Help, select Help > Help Topics in the XPS software.
To Create an ISE Project
To create an ISE project, see Creating a Project.
Note You must select HDL or Schematic as your Top-Level Source Type.
To Add an Embedded Processor System to an ISE Project
When you create the embedded processor system for your design in XPS, XPS creates an embedded processor project file with a .xmp extension. If you generated your source file using the New Source Wizard and selected Add to Project, you do not need to add the XMP file to your project; it is automatically added to your project and appears in the Hierarchy pane of the Design panel.
Note  If you did not automatically add the XMP file to your ISE project, you can add the XMP file to your ISE project, as described in Adding a Source File to a Project. XMP source files must remain in their original directories. Therefore, you must use the Add Source command rather than Add Copy of Source command when adding XMP files.
To Create an Embedded Processor System
You can create an embedded processor module in the Project Navigator New Source Wizard as follows:
  1.  Create your embedded submodule as described in Creating a Source File, selecting Embedded Processor as your source type. After you click Finish, Project Navigator opens XPS.
    Note Embedded Development Kit (EDK) must be installed on your system to enable Embedded Processor as a source type option. For instructions on configuring XPS on Linux operating systems, see the Xilinx ISE Design Suite: Installation, Licensing, and Release Notes available from the Xilinx® website.
  2.  In XPS, create the embedded processor system for your design, as described in Topics > Procedures for Embedded Processor Design > Creating an XPS Design as an ISE Submodule section in the XPS Help.
Note To include the embedded processor module in the ISE project, the device settings for the embedded processor module must match the device settings of the ISE project. When you use the New Source Wizard to create your embedded processor module, the module automatically inherits the device settings of the ISE project. If you create the module outside of Project Navigator, directly in XPS, you must manually ensure that the device settings match.
To Instantiate the Embedded Processor System into the ISE Design
It is recommended that you instantiate XMP source files as lower-level modules in an ISE design as follows:
  1.  In the Hierarchy pane of the Design panel, select the XMP file.
  2.  Run the View HDL Instantiation Template process.
  3.  Add the code from the template to your top-level design source file, as described in Adding Code Using Language Templates.
Note When the XMP source is properly instantiated in another design module, it appears underneath that module in the Hierarchy pane of the Design panel.
To Edit the Embedded Processor System
After you add the XMP file to the ISE project, you can double-click the XMP file in the Hierarchy pane of the Design panel to edit it directly in XPS.
Note Alternatively, you can edit the XMP file as described in Managing the Processor Design (XPS)
To Implement the Embedded Processor System
After you instantiate the XMP source files as lower-level modules in your ISE design, you can implement your design as described in Implementation Overview for FPGAs. After implementation, the embedded processor system is included in the placed and routed design.
Following are additional details regarding implementation behavior:
  •  Implementation options are not shared between XPS and Project Navigator. When using an embedded processor system in an ISE project, it is highly recommended that you run implementation in Project Navigator only.
    Note When setting Map Properties in Project Navigator, Xilinx recommends that you set the Map Effort Level to High when working with an embedded processor system.
  •  Process status becomes out-of date in the Processes pane of the Design panel if you modify your embedded processor system in XPS. For example, changes to the MHS file cause the Synthesis and Implement Design processes to become out-of-date. Changes to the User Constraints File (UCF) cause the Implement Design process to become out-of-date. For more information on process status, see Running and Stopping Processes.
  •  Constraints updates for the embedded processor system differ based on whether the XMP files are lower-level or top-level modules in your ISE design:
    •  If the XMP source files are instantiated as lower-level modules in your ISE design, the constraints generated in XPS are automatically copied into the ISE project and are used when you implement your design. You must modify the constraints associated with the embedded processor system in XPS.
    •  If the XMP module is the top-level module, that is, the only module, in the ISE project, the constraints generated in XPS are not automatically copied into the ISE project. Instead, you must add the UCF file from the XPS project directly to the ISE project, as described in Adding a Source File to a Project.
To Generate a Bitstream File with Processor Data
To generate a bitstream file with processor data, run the Generate Programming File process. This process generates the bitstream for the hardware components of the FPGA device, including the software application data from the ELF file as follows:
  •  If you added an ELF file directly to the ISE project, this ELF file is automatically included in the bitstream generated by the Generate Programming File process.
  •  If the software component of the embedded processor system is generated in XPS as part of the XMP project and the ELF file was not added directly to the ISE project, you can run the Update Bitstream with Processor Data process to bring the software application data contained in the system ELF file into the bitstream.
To View Implementation Results Data
The Project Navigator Design Summary provides access to ISE synthesis and implementation reports and messages as well as XPS reports and messages from the Platgen, Libgen, Simgen and BitInit programs. For more information, see the Design Summary Overview.
To Simulate the Embedded Processor System
If the XMP source files are instantiated as lower-level modules in your ISE design, the Project Navigator and EDK software generate the simulation DO files necessary for simulating your embedded processor system.
Note If the XMP module is the top-level module, you cannot run simulation from Project Navigator.
See Also

© Copyright 1995–2009, Xilinx® Inc. All rights reserved.