Download Evaluating and Programming the 29K RISC Family Third

Transcript
Am29000
A
I
D
parallel
port
ROM
controller
serial
port
PIA
video
interface
DMA
controller
I/O
port
DRAM
controller
ROM or
SRAM
Memory
DRAM
Memory
interrupt
controller
Figure 1-13. Am29200 Microcontroller Block Diagram
1.8.2 DRAM Region
In a way similar to the ROM region, there is a dedicated controller for DRAM
devices which are restricted to being located in the DRAM address region. Once
again the region is divided into four banks which may each contain as much as 16M
bytes of off–chip memory. The DRAM region controller supports 16–bit or 32–bit
wide memory banks which may be arranged to appear as contiguous in address
range.
DRAM, unlike ROM, is always assumed to have 4–cycle access times. However, if page–mode DRAM is used it is possible to achieve 2–cycle rather than 4–cycle
burst–mode accesses. Burst–mode is used when consecutive memory addresses are
being accessed, such as during instruction fetching between program branches. The
DRAM memory is often referred to as 3/2 rather than 4/2. The four cycles consist of
1-cycle precharge and 3–cycles latency, under certain circumstances the 1–cycle of
precharge can be hidden. This is explained in section 1.14.1 under the Am29200 and
Am29205 subheading.
The control register associated with each DRAM bank, maintains a field for
DRAM refresh support. This field indicates the number of processor cycles between
DRAM refresh. If refresh is not disabled, “CAS before RAS” cycles are performed
36
Evaluating and Programming the 29K RISC Family