Chip-Select Operation; Memory Protection; Table 6-1 Chip-Select And Memory Types - Motorola MC68VZ328 User Manual

Motorola mc68vz328 integrated processor user's manual
Table of Contents

Advertisement

Chip-Select Operation

Chip-Select Signal
CSC0/RAS0
CSC1/RAS1
CSD0/CAS0
CSD1/CAS1
The basic chip-select model allows the chip-select output signal to assert in response to an address match.
The signals are asserted externally shortly after the internal Address Strobe (AS) signal goes low. The
address match is described in terms of a group base address register and a chip-select register. The memory
size of the chip-select can be selected from a set of predefined ranges (32K, 64K, 128K, 256K, 512K,
1 Mbyte, 2 Mbyte, 4 Mbyte, 8 Mbyte, or 16 Mbyte). These memory ranges represent the most popular
memory sizes available on the market and apply to the registers CSB, CSC, and CSD. The CSA register
primarily supports ROM, which is usually 128K to 16 Mbyte. Using this scheme, it is easy to design
software without the necessity of programming a chip-select mask register.
The chip-select can be programmed to allow read-only or read/write accesses. Other parameters that can be
programmed include the number of wait states (from 0 to 13), data bus size selection, and whether a
DTACK signal is automatically generated for the chip-select logic.
6.2
Chip-Select Operation
A chip-select output signal is asserted when an address is matched and after the AS signal goes low. The
base address and address mask registers are used in the compare logic to generate an address match. The
byte size of the matching block must be a power of two and the base address must be an integer multiple of
this size. Therefore, an 8K block size must begin on an 8K boundary, and a 64K block size can only begin
on a 64K boundary. Each chip-select is programmable, and the registers have read/write capability so that
the programmed values can be read back.
The chip-select logic does not allow an address match during interrupt
acknowledge (Function Code 7) cycles.
6.2.1

Memory Protection

The chip-select range of the four chip-selects can be programmed as read-only or read/write. Chip-selects
that control the crucial system data are usually programmed as supervisor-only and read-only so they can
be protected from system misuse (for example, a low battery). However, a certain area of this
6-2
Table 6-1. Chip-Select and Memory Types
CSA0
CSA1
CSB0
CSB1
DRAM, ROM, SRAM, flash memory chip-select
DRAM, ROM, SRAM, flash memory chip-select
DRAM, ROM, SRAM, flash memory chip-select
DRAM, ROM, SRAM, flash memory chip-select
MC68VZ328 User's Manual
Memory Supported
ROM, SRAM, flash memory chip
ROM, SRAM, flash memory chip
ROM, SRAM, flash memory chip
ROM, SRAM, flash memory chip
NOTE:

Advertisement

Table of Contents
loading

Table of Contents