
Altera Corporation 1AN-393Application Note 393Stratix II ProfessionalFiltering LabIntroductionThe Stratix ® II filtering lab design in the DSP Deve
10 Altera CorporationStratix II Professional Filtering Labb. Review the parameters in the Implementation tab. The parameters should be set as shown
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
12 Altera CorporationStratix II Professional Filtering LabReview the NCO_10MHz MegaCore Function InstanceTo review the parameters for the NCO_10MHz
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
14 Altera CorporationStratix II Professional Filtering Labb. Review the parameters in the Implementation tab. The parameters should be set as shown
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
16 Altera CorporationStratix II Professional Filtering LabReview the FIR_3MHz MegaCore Function InstanceTo review the parameters for the FIR_3MHz M
Altera Corporation 17Exercise 1: Review the Filtering Lab Designa. Review the parameters in the Coefficients Generator Dialog dialog box. The param
18 Altera CorporationStratix II Professional Filtering LabTable 5 lists the parameters for the FIR_3MHz block in the Coefficients Generator Dialog
Altera Corporation 19Exercise 1: Review the Filtering Lab Designc. Review the architecture and implementation options for the FIR_3MHz block in the
2 Altera CorporationStratix II Professional Filtering LabInstalling the Stratix II Professional Filtering Lab FilesThese instructions in this appli
20 Altera CorporationStratix II Professional Filtering LabTable 6 lists the parameters for the FIR_3MHz block in the Parameterize - FIR Compiler Me
Altera Corporation 21Exercise 2: Simulate the Model in SimulinkExercise 2: Simulate the Model in SimulinkTo simulate the model in the Simulink soft
22 Altera CorporationStratix II Professional Filtering Lab5. Click the binocular icon to auto-scale the waveforms.Figure 14 shows the scaled wavefo
Altera Corporation 23Exercise 2: Simulate the Model in SimulinkParameters in this command line include the following:• adder_result_sim is the name
24 Altera CorporationStratix II Professional Filtering LabParameters in this command line include the following:• fir_result_sim is the name of the
Altera Corporation 25Exercise 3: Perform RTL Simulation (Optional)Exercise 3: Perform RTL Simulation (Optional)Exercise 3 performs RTL simulation u
26 Altera CorporationStratix II Professional Filtering LabFigure 19. Signal Compiler 5.0.1 - page 2 of 2, Hardware Compilation Feature4. Under Proj
27 Altera CorporationStratix II Professional Filtering LabPerform RTL Simulation in ModelSim (Optional)To perform RTL simulation with the ModelSim
28 Altera CorporationStratix II Professional Filtering LabTo display as an analog waveform, right-click on the signal and select Format > Analog
29 Altera CorporationStratix II Professional Filtering LabExercise 4: Analyze & Compare the Results in HardwareIn Exercise 4, you will do the f
3 Altera CorporationStratix II Professional Filtering LabBefore You BeginYou must have the following software installed on your PC: Quartus II sof
30 Altera CorporationStratix II Professional Filtering LabFigure 22. Simulink Design for Exercise 4Set Up the Stratix II EP2S180 DSP Development Bo
Altera Corporation 31Exercise 4: Analyze & Compare the Results in HardwareTo connect the cables, follow these steps (see Figure 23):1. Connect
32 Altera CorporationStratix II Professional Filtering Lab2. Connect the USB-Blaster cable to your PC and to the Stratix II EP2S180 DSP development
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
34 Altera CorporationStratix II Professional Filtering Lab4. Connect the power cable to the board and plug the other end into a power outlet.Figure
Altera Corporation 35Exercise 4: Analyze & Compare the Results in HardwareReview Changes Made to the Filtering Lab DesignTo review the changes
36 Altera CorporationStratix II Professional Filtering Lab6. Double-click the Counter Circuit block to view the counter circuit subsystem, as shown
Altera Corporation 37Exercise 4: Analyze & Compare the Results in HardwareConfigure the EP2S180 FPGA With the Filtering Lab DesignTo configure
38 Altera CorporationStratix II Professional Filtering Lab5. Right-click on adder_result_tap and select Unsigned Decimal as the radix, as shown in
Altera Corporation 39Exercise 4: Analyze & Compare the Results in HardwareFigure 29 shows the locations of SW4 and SW5 on the Stratix II EP2S18
4 Altera CorporationStratix II Professional Filtering LabFigure 2. Setting the MATLAB Current Directory to DSPBuilder\AltLib and Running the Setup
40 Altera CorporationStratix II Professional Filtering Lab11. Close the MATLAB plot of the data displayed in binary format. Examine the MATLAB plot
Altera Corporation 41Exercise 4: Analyze & Compare the Results in Hardware14. To view the fast Fourier transform (FFT) of the unfiltered data,
42 Altera CorporationStratix II Professional Filtering Lab● Filtered Response – Filtered Data is the title of the plot.● 10e7 is the sampling frequ
Altera Corporation 43101 Innovation DriveSan Jose, CA 95134(408) 544-7000www.altera.comApplications Hotline:(800) 800-EPLDLiterature Services:llite
5 Altera CorporationStratix II Professional Filtering Lab4. Review the Simulink design (see Figure 4). The filtering lab design contains a combinat
6 Altera CorporationStratix II Professional Filtering LabFigure 4 shows the top-level schematic for the filtering lab design. Two numerically contr
7 Altera CorporationStratix II Professional Filtering LabReview the NCO_1MHz MegaCore Function InstanceTo review the parameters for the NCO_1MHz Me
8 Altera CorporationStratix II Professional Filtering Laba. Review the parameters in the Parameters tab. The parameters should be set as shown in F
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