User manual
PAL tutorial
6. Open the MSVC Examples workspace from the start menu: Start>Programs>
Celoxica>Platform Developer's Kit>DSM>DSM Examples Workspace [VC++].
7. Right click the DsmFIR project in the left pane and select Set Active Project.
8. Compile the project by pressing F7.
9. Execute the simulation by pressing F5.
When you run the simulation, the PALSim application and the DSM Sim Monitor will appear.
The PALSim application allows you to simulate your PAL based designs providing a visual
representation of the behaviour of devices such as a VGA screen, RAM and LEDs on a board.
When the simulation is finished the PALSim application appears as shown below. The input data is
represented by the green square wave signal. The samples of the input signal are stored in an array in
the software source code. The output from the FIR filter is displayed in red.
PALSIM APPLICATION IN THE FIR FILTER TUTORIAL EXAMPLE
The DSM Sim Monitor allows you to track transactions between the software and hardware sides. The
number of DSM ports displayed depends on the number of hardware-to-software (H2S) and
software-to-hardware (S2H) ports created in the Handel-C design.
The content of the DSM Sim Monitor for the example is show below. There are two
software-to-hardware (S2H) ports, one to the FIR filter and another one to the framebuffer that serves as
a display device. The hardware-to-software (H2S) port is from the FIR filter, and sends filtered data back
to the software application.
www.celoxica.com
Page 23