Fpm Or Edo Dram Interface Timing With Ecc - Motorola MPC8240 User Manual

Integrated host processor with integrated pci
Table of Contents

Advertisement

FPM or EDO DRAM Interface Operation
The MPC8240 supports concurrent ECC for the FPM or EDO data path and parity for the
processor core data path. ECC and parity may be independently enabled or disabled. The
eight signals used for ECC (PAR[0:7]) are also used for processor core parity. The
MPC8240 checks ECC on all memory reads (provided ECC_EN = 1). The MPC8240
supports a read-modify-write mode similar to the RMW parity mode described above for
writes smaller than double word writes. The MPC8240 does not support ECC when in
32-bit data path mode (ECC_EN = 0).

6.3.9.1 FPM or EDO DRAM Interface Timing with ECC

When ECC is enabled, the time required to check and generate the ECC codes increases
access latency. Figure 6-39 through Figure 6-40 shows FPM or EDO timings for various
types of accesses with ECC enabled.
For processor burst reads from system memory, checking the ECC codes for errors requires
two additional clock cycles for the first data returned and at least four clock cycles for
subsequent beats. These requirements do not depend on the buffer type or whether FPM or
EDO is used for system memory.
For processor core single-beat writes to system memory, the MPC8240 latches the data,
performs a double-word read from system memory (checking and correcting any ECC
errors), and merges the write data from the processor with the data read from memory. The
MPC8240 then generates a new ECC code for the merged double word and writes the data
and ECC code to memory. This read-modify-write process adds six clock cycles to a
single-beat write operation. If page mode retention is enabled (PGMAX > 0), the MPC8240
keeps the memory in page mode for the read-modify-write sequence.
For processor core burst writes to system memory, the MPC8240 latches the data in the
internal copyback buffer and flushes the buffer to memory at the earliest opportunity. The
MPC8240 generates the ECC codes when the flush occurs. Note that the MPC8240 does
not check the data being overwritten in memory.
For PCI writes to system memory with ECC enabled, the MPC8240 latches the data in the
internal PCI to memory write buffer (PCMWB). If the PCI master writes complete double
words to system memory, the MPC8240 generates the ECC codes when the PCMWB is
flushed to memory.
If the PCI master writes 32-, 16-, or 8-bit data that cannot be gathered into a complete
double word in the PCMWB, a read-modify-write operation is required.
The MPC8240 performs a double-word read from system memory (checking and
correcting any ECC errors), then merges the write data from the PCI master with the data
read from memory, generates a new ECC code for the merged double word, and writes the
data and ECC code to memory.
6-64
MPC8240 Integrated Processor User's Manual

Advertisement

Table of Contents
loading

Table of Contents