Data Buffer Control (Lbctl); Atomic Operation - Freescale Semiconductor MPC8313E Family Reference Manual

Powerquicc ii pro integrated processor
Hide thumbs Also See for MPC8313E:
Table of Contents

Advertisement

Enhanced Local Bus Controller
Note that TA and LALE are never asserted together, and that for the duration of LALE, LCSn (or any other
control signal) remains negated or frozen.
Figure 10-31. Basic eLBC Bus Cycle with LALE, TA, and LCS n
10.4.1.4

Data Buffer Control (LBCTL)

The memory controller provides a data buffer control signal for the local bus (LBCTL). This signal is
activated when a GPCM-, FCM-, or UPM-controlled bank is accessed. LBCTL can be disabled by setting
ORn[BCTLD]. LBCTL can be further configured by LBCR[BCTLC] to act as an extra LWE or an extra
LOE signal when in GPCM mode.
If LBCTL is configured as a data buffer control (LBCR[BCTLC] = 00), the signal is asserted (high) on the
rising edge of the bus clock on the first cycle of the memory controller operation, coincident with LALE.
If the access is a write, LBCTL remains high for the whole duration. However, if the access is a read,
LBCTL is negated (low) with the negation of LALE so that the memory device is able to drive the bus. If
back-to-back read accesses are pending, LBCTL is asserted (high) one bus clock cycle before the next
transaction starts (that is, one bus clock cycle before LALE) to allow a whole bus cycle for the bus to turn
around before the next address is driven.
10.4.1.5

Atomic Operation

The eLBC supports the following kinds of atomic bus operations (set by BRn[ATOM]):
Read-after-write atomic (RAWA). When a write access hits a memory bank in which ATOM = 01,
the eLBC reserves the selected memory bank for the exclusive use of the accessing master.
While the bank is reserved, no other device can be granted access to this bank. The reservation is
released when the master that created it accesses the same bank with a read transaction. Additional
write transactions prior to the releasing read do not change reservation status, but are otherwise
processed normally. If the master fails to release the reservation within 256 bus clock cycles, the
reservation is released and an atomic error is reported (if enabled); additional write transactions
prior to the releasing read restart the reservation timer. This feature is intended for CAM
operations.
Write-after-read atomic (WARA). When a read access hits a memory bank in which ATOM = 10,
the eLBC reserves the bus for the exclusive use of the accessing master.
During the reservation period, no other device can be granted access to the atomic bank. The
reservation is released when the device that created it accesses the same bank with a write
MPC8313E PowerQUICC II Pro Integrated Processor Family Reference Manual, Rev. 3
10-44
LCLK
LAD
Address
LALE
LCS n
TA
Data
Freescale Semiconductor

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpc8313

Table of Contents