User manual
PAL tutorial
2.2 DSM FIR filter tutorial
2.2.1 Introduction
The DSM FIR filter tutorial connects a FIR filter to a processor using DSM. The application sends a set of
input samples stored in RAM to the FIR filter and reads the filtered data back. The input and output
waveform is then displayed on the screen for DSM Virtual Simulation, MicroBlaze and Virtex-II Pro
PowerPC platforms. The connection to the video display is also based on a DSM layer.
The tutorial runs on:
• the DSM Virtual Simulation Platform.
• the MicroBlaze platform on the Celoxica RC200/E and RC300/E.
• the Virtex-II Pro/PowerPC405 platform on the Memec Design DS-BD-2VP7-FG456 REV2
board.
If you target the Virtex-II Pro/PowerPC platform, the FIR filter output is sent through the serial port to a
console running on a PC. Optionally, if you have MATLAB 6.5 (Release 13) you can plot the output data
on a PC screen.
The MicroBlaze PSL, Virtex-II Pro PSL and PAL API are used to provide platform abstraction for
peripheral access and implementation of a simple FIR filter.
All interfacing between the software side and the hardware side is done using the DSM API.
The DK workspace for this tutorial can be accessed from the
Start menu under
Programs>Celoxica>Platform Developer's Kit>DSM>DSM Examples Workspace [DK].
2.2.2 Tutorial requirements
To compile DSM FIR filter tutorial, you need :
From Celoxica:
• DK Design Suite version 4.0 Service Pack 1 or greater
• Platform Developer’s Kit (PDK) version 4.1 or greater
• RC200/RC200E or RC300/RC300E Development Board or the Memec Design
DS-BD-2VP7-FG456 REV2 Virtex-II Pro board (MV2P)
From Xilinx:
• Xilinx EDK 7.1i
• Xilinx ISE 7.1i
• Xilinx parallel or serial JTAG cable (for the Memec platform)
From Microsoft:
• Microsoft Visual C++ 6.0 or 7.0 to compile this tutorial for DSM Virtual Simulation Platform.
(Other compilers may work but have not been tested.)
• MS HyperTerminal (to display results from the Memec platform). MS HyperTerminal is
provided with all MS Windows operating systems. Alternatively, you can use any other
terminal program that supports the serial ports of your PC.
Other:
www.celoxica.com
Page 18