Adding ftxl components to an existing design, Modifying the sopc builder design, Adding ftxl components – Echelon FTXL Hardware User Manual
Page 65: To an existing design
FTXL Hardware Guide
57
To add FTXL components to the SOPC Builder library path:
1. Start the Quartus II software.
2. Open a Quartus II project, such as the FTXL reference design.
3. Select Tools → SOPC Builder to open the Altera SOPC Builder tool.
4. In the Altera SOPC Builder tool, select Tools → Options to open the
Options dialog.
5. In the Options dialog, select IP Search Path from the Category area.
6. In the IP Search Path Options page of the Options dialog, click Add to
open the Open dialog.
7. In the Open dialog, select the [
Altera
]\nios2eds\components\FTXL
directory and click Open.
8. Click Finish to save the updated search paths and close the Options
dialog.
If you want to add the DBC2C20 components to the SOPC Builder search path,
specify the [
Altera
]\nios2eds\components\DBC2C20_sram_interface directory
in step 7. You might also have to specify the [
Altera
]\quartus\bin directory to
allow the SOPC Builder to find standard Altera MegaCore IP Library functions.
Adding FTXL Components to an Existing Design
To add FTXL components to an existing FPGA device design, you must modify
your SOPC Builder design for the project and you must modify your Quartus II
block design file (*.bdf) design for the project.
After you modify both designs, you must regenerate the SOPC Builder design
and recompile the Quartus II project. See
Building the Application Image
on
page 61 for more information.
Modifying the SOPC Builder Design
Before you begin, ensure that the SOPC Builder IP search path includes the
FTXL components; see
Setting Component Search Paths
on page 56.
This section assumes that you have already added a Nios II processor and related
hardware components to the FPGA device design within the SOPC Builder tool.
Recommendation: Use the default component names (
ComponentClass
_inst)
whenever possible so that you do not need to modify the FTXL HAL file,
FtxlHal.c.
To add FTXL components to the design:
1. Start the Quartus II software.
2. Open your Quartus II project to which you plan to add the FTXL
components.
3. Select Tools → SOPC Builder to open the Altera SOPC Builder tool.
4. In the Altera SOPC Builder tool, select the System Contents tab.
5. Add an Avalon tristate bridge: