Skip to content

garyaj/pprolcd

Repository files navigation

pprolcd

Papilio Pro + RetroCade LCD display driver

Prerequisites

Intro

The RetroCade has a 2x16 LCD display on it so I thought I'd like to write a program to use it to display some text.

The idea was to re-write the Spartan-3e code to use the Spartan6 on the Papilio Pro and to change the constraints file to use the pins and display on the RetroCade rather than those on the s3 starter kit board.

The starterkit code for the s3 adds a PicoBlaze 8-bit micro-controller (KCPSM3) to the design which uses less than 5% of the available circuitry. An updated version of the PicoBlaze for the s6 (KCPSM6) uses even less circuitry.

Usage

The files in this repository can be used at three different levels.

  1. Load the pprolcd.bit file into the PPro using the loader and watch the pretty display.
  2. Open pprolcd.xise with the ISE design suite and compile the design files (modify to taste) then upload as in step 1.
  3. Modify the assembly code (control.psm) to do different things or display different text. This requires control.psm to be compiled (Run kcpsm6.exe in Windows and enter 'control.psm' as the filename to assemble.) Then follow step 2 and then step 1.
Files
  • pprolcd.xise the ISE project
  • pprolcd.vhd the top-level entity declaration
  • kcpsm6.vhd (supplied by Xilink) defines the PicoBlaze micro-controller in the FPGA circuitry
  • control.psm an assembly language program which actually runs the PicoBlaze
  • kcpsm6.exe (supplied by Xilinx) assembler translates control.psm into VHDL
  • control.vhd the output of the assembler for inclusion in the project. This file defines a ROM for the FPGA which contains the instructions for the PicoBlaze.
  • constraints.ucf maps the pins on the S6 FPGA to the corresponding pins on the RetroCade
  • ROM_form.vhd (supplied by Xilinx) definitions for assembler (kcpsm6.exe)

About

Papilio Pro + RetroCade LCD display driver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages