Bar
SpaceWire UK
Specialist providers of VHDL Intellectual Property & Design Services
BarBarBarBar
Raptor-16 - Pacman LCD Demo
This example code demonstrates how to create and display a collection of User-Defined LCD characters with the Raptor-16 Microprocessor. The implementation of the code results in a Pacman style character moving around the edge of a LCD display munching everything in its path. On his way around the display Pacman also animates using a simple 3-frame character set. In all six User-Defined characters are created, three for the left to right munching and three for the right to left munching. The munch sequence is repeated indefinitely, as can be seen below.


The source code should work with any LCD that uses the HD44780 and can easily be modified to suit any module. For testing purposes a Powertip PC 2004A was used.



Design Source
The assembly source code for the above Pacman LCD demo can be found below:- All the files required to implement this demo in a Xilinx FPGA can be found in the zip file on the Raptor-16 homepage.