Memory Mapped IO

In tutorial 2 you interfaced the 8031 to the FPGA through 4 IO pins on port number 1. However, this approach will not scale up since the 8031 has limited IO pins and most of these are used for external memory access. In this lab, you will interface the 8031 to the FPGA by using memory-mapped IO. The external memory available to the 8031 is 32KB, but the address space of the 8031 is 64KB, hence, you can create as many as 32KB of unique virtual IO ports!

Description

You will be designing a simple peripheral device that will be implemented on the FPGA. This device will have two (real or imaginary) 8-bit register and will perform these tasks: You will be writing the software for the 8031 to perform these tasks:

Demo Output

To fully test your design, you should inject 16 different test vectors and check for correct output on the 7-seg LED, here is what you should expect:

Solution

Here is the full solution to this assignment. Some or portions of the solution may be available to you when the assignment is assigned. The full solution will be made available after the assignment is due.

Turnin

After your demo, turnin your C, VHDL and constraint files. The TA (or grader) will check these files for quality and assign you a grade. Please do not turnin the entire directory generated by Xilinx Foundation Project Manager.

Last updated: 1/8/99