
Laboratory Eight
Controller for DRAM chip
Objectives:
i. To develop VHDL code for synchronous sequential circuits
ii. To implement delays using a finite state machine
iii. To design a controller for simple read and write cycles of a DRAM chip
Task One
1. Devise VHDL code to control a simple read cycle for a DRAM chip. The read cycle timing
diagram and the AC Parameters of the DRAM chip are posted on the Class Web Page. The
detailed specifications are given in the Prelab Assignment, or will be decided by your Lab
TA. Your FSM will be using the 50MHz clock source on your Nexys 2 Board for the DRAM
Controller (DRAMC). Verify the correct operation of the 50MHz clock circuit with the help
of a logic analyzer. The read command signal that initiates the read cycle should be driven
by a function generator. The status of the key DRAM control signals should be checked by a
logic analyzer. The detailed specifications are given in the Prelab Assignment, or will be
decided by your Lab TA. Run behavioral and post-routing simulations to verify the correct
operation of your circuit.
2. Run the implement step and download the configuration bit file to your Nexys 2 Board. The
pin assignments for the input and output signals are specified in the Prelab Assignment, or
determined by your Lab TA. Use a function generator and a logic analyzer to verify the
correct operation.
Task Two
1. Devise VHDL code to control a simple write cycle for a DRAM chip. The write cycle timing
diagram and the AC Parameters of the DRAM chip are posted on the Class Web Page. The
detailed specifications are given in the Prelab Assignment, or will be decided by your Lab
TA. Again, your FSM will be using the 50MHz clock source on your Nexys 2 Board for the
DRAM Controller (DRAMC). The write command signal that initiates the read cycle should
be driven by a function generator. The status of the key DRAM control signals should be
checked by a logic analyzer. The detailed specifications are given in the Prelab Assignment,
or will be decided by your Lab TA. Run behavioral and post-routing simulations to verify
the correct operation of your circuit.
2. Run the implement step and download the configuration bit file to your Nexys 2 Board. The