
PSD413F Family
6-55
ADVANCE INFORMATION
Memory
Block
The PSD413F is a multi-chip module that includes a PSD4XX die and a 1 megabit Flash
memory die. The PSD4XX includes 8 Kbytes of OTP Boot EPROM; the Flash die provides
128 Kbytes of Flash memory. The OTP Boot EPROM is used for system boot up and for
storing the Flash memory programming algorithm. The Flash erase and programming
algorithms are compatible to the AMD Embedded Erase and Programming Algorithm
TM
.
The Flash memory can be erased or programmed while the microcontroller is executing
code from the Boot EPROM.
Chip selects for the memory blocks come from the DPLD and GPLD decoding logic and are
defined by the user in the PSDsoft software. Figure 29 shows the organization of the
Memory Block.
Boot EPROM
The chip select (CSBOOT) for the OTP Boot EPROM is generated from the DPLD address
decoder. The CSBOOT is defined in 8 Kbyte boundaries and should not overlap the Flash
memory address space.
Flash Memory
The 128 Kbyte of Flash memory space is divided into four 32 Kbyte blocks, each block
consisting of two 16 Kbyte sectors. ES3 – 0 are the chip selects for each block that are
defined in the DPLD at 32 Kbyte boundaries.
Five of the pins and macrocells on the PSD4XX die are reserved for the generation of Flash
memory control signals. Table 14 shows the name of the macrocells in the GPLD and the
corresponding pins on the PSD4XX die that are used. The address lines A15F, A16F and
the chip select CSF are generated based on the ES3 – 0 inputs to the GPLD. Refer to the
Application Notes in the PSD Applications Handbook on how to configure the PSD413F.
Refer to Appendix A for the operation and programming algorithm for the Flash memory.
SRAM
The SRAM has 16K bits of memory, organized as 2K x 8. The SRAM is enabled by the
chip select signal RS0 from the DPLD. The SRAM has a battery back-up (STBY) mode.
This back-up mode is automatically invoked when the V
CC
voltage drops under the Vstdby
voltage by approximately 0.7 V. The Vstdby voltage is connected only to the SRAM and
cannot be lower than 2.7 volts.
Memory Select Map
The Boot EPROM, Flash memory, and SRAM chip select equations are defined in the
ABEL file in terms of address and other DPLD inputs. The memory space for the Flash
chip select (ES0 – ES3) should not be larger than the 32K Flash block it is selecting.
The Boot EPROM block should not be larger than 8 Kbytes.
The following rules govern how the PSD413F memory selects/space are defined:
J
The Flash blocks address space cannot overlap among blocks.
J
The Flash blocks address space cannot overlap the Boot EPROM, the SRAM and I/O
address space.
J
SRAM and internal I/O address space cannot overlap.
J
SRAM and internal I/O space can overlap Boot EPROM space, with priority given to
SRAM or I/O. The portion of Boot EPROM which is overlapped cannot be accessed.