User manual

PAL tutorial
Building the software side
The software is built before generation of the
BIT file. You must run the terminal program before the BIT
file is downloaded onto the board.
1. Select
Start>Programs>Celoxica>Platform Developer's Kit> PowerPC Hyperterminal.
2. If you changed the program code and need to recompile it again, you can just hit the build
button in DK. Program will be recompiled and downloaded with the bit file onto the board.
Running the application
1. Make sure that the board is connected to your PC with a serial cable.
2. To download the executable onto the board hit the build button or press F7 in DK. This
command downloads the
BIT file with the new executable.elf onto the board and runs
it.
After running the application you should see the output values from the FIR filter on the HyperTerminal
console.
Running the application using MATLAB for video output
Due to the lack of video output on MV2P target you can use MATLAB to display input and output
waveforms. The M-script to run this application is provided in
dsm_fir.m M-file. This file is in
PDKInstall/Examples/DSM/DsmFIR folder.
To display the waveforms in MATLAB:
1. Make sure that the board is connected to your PC with a serial cable.
2. Run MATLAB.
3. Change the directory in the MATLAB shell to
DsmFIR.
Type:
cd PDKInstall/Examples/DSM/DsmFIR
4. Type:
dsm_fir and hit enter.
5. Hit the build button or press F7 in DK to download the bit file onto the MV2P board. After
downloading the BIT file you should see the waveforms as shown below.
www.celoxica.com
Page 26