
Chapter 7: Using the Interfaces Library
7–19
Avalon-ST Interface
2. On the File menu in the Quartus II software, click New Project Wizard and set the
following options:
a. Specify the working directory for your project by browsing to < DSP Builder
install path > \DesignExamples\Tutorials\SOPCBuilder\AvalonFIFO .
b. Specify a name for your project. This tutorial uses FIFO for the project name.
1
The Quartus II software automatically specifies a top-level design entity
that has the same name as the project. This tutorial assumes that the names
are the same.
c. Click Finish to create the Quartus II project.
3. On the Tools menu, click Tcl Scripts and set the following options:
a. Load your design by selecting sopc_edge_detector_add.tcl in the Project
folder.
b. Click Run .
4. On the Tools menu, click Qsys to display the Create New System dialog box.
a. Specify AvalonFIFO as the system name.
b. Select VHDL for the target HDL.
c. Click OK .
5. Click the System Contents tab in Qsys and set the following options:
a. Expand Memories and Memory Controllers .
b. Expand On-Chip and double-click On Chip Memory (RAM or ROM) .
c. Click Finish to add an on-chip RAM device with default parameters.
6. Double-click the Nios II Processor module in the System Contents tab to display
the MegaWizard interface.
7. Set the reset and exception vectors to use onchip_memory2_0 and click Finish to
add the processor to your system with all other parameters set to their default
values.
8. Expand DSPBuilder Systems in the System Contents tab and double-click the
sopc_edge_detector_interface module to include it in your Nios II system.
You can now design the rest of your NIOS embedded processor with the standard
Qsys design flow.
f For more detailed instructions, refer to “Instantiating the Design in Qsys” on
page 7–12 in the “Avalon-MM Interface Blocks Design Example” .
Avalon-ST Interface
All DSP MegaCore functions in the DSP Builder MegaCore Functions library have
interfaces that comply with the Avalon Interface Specifications . You can combine
multiple MegaCore functions easily because they use a common interface. This
section summarizes the features of the Avalon-ST interface.
November 2013
Altera Corporation
DSP Builder Handbook
Volume 2: DSP Builder Standard Blockset