Altera Stratix II Guía de usuario

Busca en linea o descarga Guía de usuario para No Altera Stratix II. Altera Stratix II User guide Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 43
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
Altera Corporation 1
AN-393
Application Note 393
Stratix II Professional
Filtering Lab
Introduction
The Stratix
®
II filtering lab design in the DSP Development Kit, Stratix II
Professional Edition, shows you how to use the Altera
®
DSP Builder for
system design, simulation, and board-level verification. The DSP Builder
digital signal processing (DSP) development tool interfaces
The MathWorks industry’s leading model-based design tool, Simulink,
with the Altera Quartus
®
II development software. DSP Builder provides
a seamless design flow in which you can perform algorithmic design and
system integration in The MathWorks MATLAB and Simulink software
and then port the design to hardware description language (HDL) files
for use in the Quartus II software.
Using DSP Builder, you can automatically generate a register transfer
level (RTL) design and a testbench from Simulink. These files are
pre-verified RTL output files that are optimized for use in the Altera
Quartus II software for rapid prototyping. The built-in DSP Builder
SignalTap
®
II Analysis block allows you to capture signal activity from
internal device nodes, while the system under test runs at system speed
in hardware. You can import the SignalTap II data into the MATLAB
Workspace browser for further analysis.
The Stratix II Professional filtering lab uses the following items:
Quartus II software
DSP Builder with the SignalTap II logic analyzer read-back feature
Altera FIR Compiler MegaCore
®
function
Altera NCO Compiler MegaCore function
The MathWorks MATLAB and Simulink system design and
modeling tools
Stratix II EP2S180 DSP development board
Stratix II Professional II filtering lab design
(Optional) Mentor Graphics
®
ModelSim
®
-Altera, ModelSim PE, or
ModelSim SE simulation software
August 2005, version 1.0
Vista de pagina 0
1 2 3 4 5 6 ... 42 43

Indice de contenidos

Pagina 1 - Filtering Lab

Altera Corporation 1AN-393Application Note 393Stratix II ProfessionalFiltering LabIntroductionThe Stratix ® II filtering lab design in the DSP Deve

Pagina 2

10 Altera CorporationStratix II Professional Filtering Labb. Review the parameters in the Implementation tab. The parameters should be set as shown

Pagina 3 - Before You

Altera Corporation 11Exercise 1: Review the Filtering Lab DesignTable 2 lists the parameters for the NCO_1MHz block that you can set in the Impleme

Pagina 4 - Review the

12 Altera CorporationStratix II Professional Filtering LabReview the NCO_10MHz MegaCore Function InstanceTo review the parameters for the NCO_10MHz

Pagina 5 - 5 Altera Corporation

Altera Corporation 13Exercise 1: Review the Filtering Lab DesignTable 3 lists the parameters for the NCO_10MHz block that you can set in the Parame

Pagina 6 - 6 Altera Corporation

14 Altera CorporationStratix II Professional Filtering Labb. Review the parameters in the Implementation tab. The parameters should be set as shown

Pagina 7 - 7 Altera Corporation

Altera Corporation 15Exercise 1: Review the Filtering Lab DesignTable 4 lists the parameters for the NCO_10MHz block that you can set in the Implem

Pagina 8 - 8 Altera Corporation

16 Altera CorporationStratix II Professional Filtering LabReview the FIR_3MHz MegaCore Function InstanceTo review the parameters for the FIR_3MHz M

Pagina 9 - Parameter Value

Altera Corporation 17Exercise 1: Review the Filtering Lab Designa. Review the parameters in the Coefficients Generator Dialog dialog box. The param

Pagina 10 - Table 2

18 Altera CorporationStratix II Professional Filtering LabTable 5 lists the parameters for the FIR_3MHz block in the Coefficients Generator Dialog

Pagina 11

Altera Corporation 19Exercise 1: Review the Filtering Lab Designc. Review the architecture and implementation options for the FIR_3MHz block in the

Pagina 12 - 12 Altera Corporation

2 Altera CorporationStratix II Professional Filtering LabInstalling the Stratix II Professional Filtering Lab FilesThese instructions in this appli

Pagina 13

20 Altera CorporationStratix II Professional Filtering LabTable 6 lists the parameters for the FIR_3MHz block in the Parameterize - FIR Compiler Me

Pagina 14 - Table 4

Altera Corporation 21Exercise 2: Simulate the Model in SimulinkExercise 2: Simulate the Model in SimulinkTo simulate the model in the Simulink soft

Pagina 15

22 Altera CorporationStratix II Professional Filtering Lab5. Click the binocular icon to auto-scale the waveforms.Figure 14 shows the scaled wavefo

Pagina 16 - 16 Altera Corporation

Altera Corporation 23Exercise 2: Simulate the Model in SimulinkParameters in this command line include the following:• adder_result_sim is the name

Pagina 17 - Altera Corporation 17

24 Altera CorporationStratix II Professional Filtering LabParameters in this command line include the following:• fir_result_sim is the name of the

Pagina 18

Altera Corporation 25Exercise 3: Perform RTL Simulation (Optional)Exercise 3: Perform RTL Simulation (Optional)Exercise 3 performs RTL simulation u

Pagina 19 - Altera Corporation 19

26 Altera CorporationStratix II Professional Filtering LabFigure 19. Signal Compiler 5.0.1 - page 2 of 2, Hardware Compilation Feature4. Under Proj

Pagina 20

27 Altera CorporationStratix II Professional Filtering LabPerform RTL Simulation in ModelSim (Optional)To perform RTL simulation with the ModelSim

Pagina 21 - Exercise 2:

28 Altera CorporationStratix II Professional Filtering LabTo display as an analog waveform, right-click on the signal and select Format > Analog

Pagina 22 - 22 Altera Corporation

29 Altera CorporationStratix II Professional Filtering LabExercise 4: Analyze & Compare the Results in HardwareIn Exercise 4, you will do the f

Pagina 23 - Altera Corporation 23

3 Altera CorporationStratix II Professional Filtering LabBefore You BeginYou must have the following software installed on your PC: Quartus II sof

Pagina 24 - 24 Altera Corporation

30 Altera CorporationStratix II Professional Filtering LabFigure 22. Simulink Design for Exercise 4Set Up the Stratix II EP2S180 DSP Development Bo

Pagina 25 - (Optional)

Altera Corporation 31Exercise 4: Analyze & Compare the Results in HardwareTo connect the cables, follow these steps (see Figure 23):1. Connect

Pagina 26 - 26 Altera Corporation

32 Altera CorporationStratix II Professional Filtering Lab2. Connect the USB-Blaster cable to your PC and to the Stratix II EP2S180 DSP development

Pagina 27 - 27 Altera Corporation

Altera Corporation 33Exercise 4: Analyze & Compare the Results in Hardware3. Add jumpers to J3 and J19 (see Figure 25):a. Place a jumper on pin

Pagina 28 - Analog Step and click OK

34 Altera CorporationStratix II Professional Filtering Lab4. Connect the power cable to the board and plug the other end into a power outlet.Figure

Pagina 29 - Hardware

Altera Corporation 35Exercise 4: Analyze & Compare the Results in HardwareReview Changes Made to the Filtering Lab DesignTo review the changes

Pagina 30 - Hardware Analysis

36 Altera CorporationStratix II Professional Filtering Lab6. Double-click the Counter Circuit block to view the counter circuit subsystem, as shown

Pagina 31 - Altera Corporation 31

Altera Corporation 37Exercise 4: Analyze & Compare the Results in HardwareConfigure the EP2S180 FPGA With the Filtering Lab DesignTo configure

Pagina 32 - 32 Altera Corporation

38 Altera CorporationStratix II Professional Filtering Lab5. Right-click on adder_result_tap and select Unsigned Decimal as the radix, as shown in

Pagina 33 - Altera Corporation 33

Altera Corporation 39Exercise 4: Analyze & Compare the Results in HardwareFigure 29 shows the locations of SW4 and SW5 on the Stratix II EP2S18

Pagina 34 - 34 Altera Corporation

4 Altera CorporationStratix II Professional Filtering LabFigure 2. Setting the MATLAB Current Directory to DSPBuilder\AltLib and Running the Setup

Pagina 35 - Altera Corporation 35

40 Altera CorporationStratix II Professional Filtering Lab11. Close the MATLAB plot of the data displayed in binary format. Examine the MATLAB plot

Pagina 36 - 36 Altera Corporation

Altera Corporation 41Exercise 4: Analyze & Compare the Results in Hardware14. To view the fast Fourier transform (FFT) of the unfiltered data,

Pagina 37 - Perform SignalTap II Analysis

42 Altera CorporationStratix II Professional Filtering Lab● Filtered Response – Filtered Data is the title of the plot.● 10e7 is the sampling frequ

Pagina 38 - 38 Altera Corporation

Altera Corporation 43101 Innovation DriveSan Jose, CA 95134(408) 544-7000www.altera.comApplications Hotline:(800) 800-EPLDLiterature Services:llite

Pagina 39 - Altera Corporation 39

5 Altera CorporationStratix II Professional Filtering Lab4. Review the Simulink design (see Figure 4). The filtering lab design contains a combinat

Pagina 40 - 40 Altera Corporation

6 Altera CorporationStratix II Professional Filtering LabFigure 4 shows the top-level schematic for the filtering lab design. Two numerically contr

Pagina 41 - Altera Corporation 41

7 Altera CorporationStratix II Professional Filtering LabReview the NCO_1MHz MegaCore Function InstanceTo review the parameters for the NCO_1MHz Me

Pagina 42 - 42 Altera Corporation

8 Altera CorporationStratix II Professional Filtering Laba. Review the parameters in the Parameters tab. The parameters should be set as shown in F

Pagina 43 - Conclusion

9 Altera CorporationStratix II Professional Filtering LabTable 1 lists the parameters for the NCO_1MHZ block that you can set in the Parameters tab

Comentarios a estos manuales

Sin comentarios