November 2007
This demo brings together the LatticeMico32 soft processor with DDR2 memory controller IP and VGA monitor IP on the LatticeECP-based LatticeMico32/DSP Development Board. The demo focuses on the board’s VGA interface, with a DDR SDRAM module used both for executing code and serving as video memory. The LatticeMico32 processor, a WISHBONE master, writes to the video memory. A VGA controller, also a WISHBONE master, reads from the video memory.
The demo is available from the LatticeMico32 web page on the Lattice website. The LatticeMico32 DDR SDRAM Demonstration User's Guide provides system requirements and complete details.
The following features are demonstrated with this setup.
The demonstration is simple to set up and run. Included in the zipped demo package is documentation that provides step-by-step instructions for generating the prepackaged outputs, since that is one of the goals of this demonstration. Also provided in the package are all the necessary files, including the final bitstream, the application executable, and an Intel Hex file that contains the merged bitstream and the bootable application executable. The projects used for creating these outputs are also provided as part of the zipped package. What could be easier?

LatticeMico32 Connects to IP via a WISHBONE Bus
The demo requires a user-supplied DDR SDRAM on a SODIMM module. The documentation provides the details of the module used in the development of the demo.
There is much you will learn from this demo, such as seeing the WISHBONE bus in operation. But some key things to understand include the following:
The microprocessor executes simple graphic functions and displays them on the VGA monitor. Below is a screen snapshot of the results.

Demo Results Screen Shot
It does not take complicated graphics to demonstrate the shared memory or the WISHBONE bus in operation. Take the application source and modify and/or add graphic functions for yourself. That’s what the demo is all about.