User manual

PAL tutorial
Building the hardware side
1. Make sure that the board is connected to your PC with a parallel cable before you build the
hardware.
2. Open the DSM Examples Workspace in DK by clicking on
Start>Programs>Celoxica>Platform
Developer's Kit
>DSM>DSM Examples Workspace [DK].
3. Choose the
DsmFIR project and set it as the active project.
4. Choose the MB_RC200 platform in Active Build Configuration.
5. Click on the build icon, or press F7 to start the compilation.
Building the software side
After the building of the hardware the software side might be already built for you. If not, you can build it
as follows:
1. Open the DSM command prompt by clicking on
Start>Programs>Celoxica>Platform Developer's
Kit
>DSM>DSM Command Prompt.
2. Change directory to the project, for example: cd DsmFIR.
3. Compile and link the source code by running a batch file in the command prompt; type:
BuildSw MB_RC200
This command will call the compiler that creates
executable.elf in the DsmFIR\MB_RC200\code
folder.
Running the application
1. Make sure that the board is connected to your PC with a serial cable and has a video
monitor connected to it.
2.
To download the executable onto the board, type: mbconnect MB_RC200.
This command downloads
executable.elf onto the board and runs it.
After running the application you should see the same waveforms on the PAL sim monitor screen as
shown for the
running the tutorial in simulation (see page 22). The values of output samples are sent
to XMD console through serial port.
Targeting the Memec Virtex-II Pro
To target the Memec Virtex-II Pro you need a Xilinx JTAG cable to download BIT files and a terminal
program such as HyperTerminal for the standard I/O (see the requirements for the FIR filter tutorial).
Ï
h (for If you are using MATLAB, please make sure that you have downloaded the latest patc
serial communication problems) from
http://www.mathworks.co.uk/support/solutions/data/34431.shtml.
Buildin
1. oard is connected to your PC with a paralle
2. king on
Start>Programs>Celoxica>Platform
5. Click on the build icon, or press F7 to start the compilation.
g the hardware side
Make sure that the b l JTAG cable before you
build the hardware.
Open the DSM Examples Workspace in DK by clic
Developer's Kit
>DSM>DSM Examples Workspace [DK].
3. Choose
DsmFIR project and set it as the active project.
4. Choose the
MV2P platform in Active Build Configuration.
www.celoxica.com
Page 25