ECE444 Advanced Digital Design
Assignment 4

Build a DE2 application to exercise a FIFO. Use the LCD display to show the contents of the FIFO (as ASCII characters) on Line 2. Show the last character read and the next character waiting to be written on Line 1. My format was

Read: 0 Write: 0
0000000000000000

Hint: I used lcdlab3 as a start of my LCD display controller.

Press KEY3 to request a read operation and KEY2 to request a write operation. I use KEY0 for reset but my project does not clear the LCD display (which it should do). Also, if you trigger an overflow, the LCD display and the actual FIFO are no longer in sync. See if you can correct that behavior on your version.

Display the number of characters in the FIFO on HEX1:HEX0.

Display the following flags on Green LEDs:

LEDG3empty
LEDG2full
LEDG1underflow
LEDG0overflow

You can download my version of the project from fifolab.zip. There is some “extra” functionality that should not be in your version.


Maintained by John Loomis, last updated 22 October 2009