EE 352 Project 2

Parallel Port Implementation using an Altera Chip

Design an eight-bit bi-direction parallel port using a 7128 Altera chip. The parallel port should be identical to the standard PC parallel port with two changes:

  1. There should be one more bit in the control register (bit 5) which will make the data lines function as input. On reset, this bit should be set to 0, and the data lines will be output. Writing a 1 to this bit should make the data lines function as input
  2. The port should be capable of doing DMA transfers from the I/O port to memory.

Simulate the function of the parallel port in Altera. Your simulation should include reading and writing the data and control bits, and reading the status bits. It should also include interrupt transfers and DMA transfers.