Assignment 7: Due November 12, 1996
Assignment 7: Due November 12, 1996
Assignment 7
Due November 12, 1996
Design a DRAM controller to interface a bank of 1 CAS and RAS: CAS* and RAS* strobes. Their
Mbit DRAMs to a simple CPU. Your controller need behaviour must agree with the timing diagram
only deal with read and refresh cycles. shown below. Note that these signals are active-
The controller’s inputs are: low and that the refresh cycle uses CAS*-
before-RAS* refresh.
CLK: A clock input. The clock has a 50% duty
cycle and each bus cycle starts on the falling The timing diagram below shows the desired be-
edge of the clock. There are 4 clock cycles per haviour of the DRAM controller signals for RAM
bus cycle. Each read or refresh cycle should read and refresh cycles.
take 4 clock cycles. Read Cycle
clk
A: A 20-bit address bus from the CPU. This ad-
avalid
dress is valid only during the first clock cycle of
a bus cycle so your circuit must latch it. a