![](http://datasheet.mmic.net.cn/260000/PSD813FN_datasheet_15953200/PSD813FN_40.png)
PSD813FN/FH
Prelimnary
40
Memory
Block
The PSD813FN/FH are a multi-chip module that includes a PSD6XX die and a 4 megabit
Flash memory die configured to operate as a 1 Mb device. The PSD813FN/FH includes
32 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 and SGS-Thomson 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 17 shows the organization of the
Memory Block.
Boot EPROM
The chip selects (CSBOOT0–3) for the OTP Boot EPROM are generated from the DPLD
address decoder. The CSBOOT0–3 are defined in 8 Kbyte boundaries and should not
overlap the Flash memory address space.
Flash Memory
The Flash die that is used on this MCM is a 4 Mbit Flash device but only 1 Mbit will be
addressed. Address lines A14 and A15 are inactive during Flash reads. This leaves
address lines A16, A17, and A18 to page through eight 16 Kbyte sectors of Flash memory.
Each 16 Kbyte sector of Flash is addressed by the address lines A0–A13. This Flash
paging is simplified by the configuration of the DPLD and the GPLD. FS0–7 are the chip
selects for each block that is defined in the DPLD at 16 Kbyte boundaries. The designer
may custom configure Flash addressing schemes by the HDL equations developed in
PSDsoft. The use of the internal PSD Page register is very effective in this application.
See Figure 17 and Table 24.
NOTE:
Unlike Flash reads, whenever the embedded Flash algorithms are exercised
(write, erase, ID, etc), address line A14 to the Flash is enabled (as configured by
the HDL) to pass commands from the MCU to the Flash die. Address line A15 to
the Flash die is permanently grounded.
Seven of the pins and Micro
Cells on the PSD6XX die are reserved for generation of
Flash memory control signals. The address lines A14F, A16F, A17F, A18F, and the chip
select CSF are generated based on the FS0–7 inputs to the GPLD.
Refer to Appendix A for the operation and programming algorithm for the Flash memory.
SRAM
The SRAM has 4 Kbits of memory, organized as 512 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. The Vstdby voltage is connected only to the SRAM and cannot be lower
than 2.0 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 (FS0–7) should not be larger than the 16K Flash block it is selecting.
The Boot EPROM block should not be larger than 8 Kbytes.
The following rules govern how the PSD813F 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.