Memory Devices, Circuits, and Subsystem Design
Memory Devices, Circuits, and Subsystem Design
Memory Devices, Circuits, and Subsystem Design
Its purpose is to store programs that are to be executed, but in this case they are loaded into memory only when needed.
Information that frequently changes is stored in the data storage part of the microcomputers memory subsystem.
Read Only Memory Three types of ROM devices are in wide use:
Mask-programmable readonly memory (ROM). One-time-programmable read-only memory (PROM). Erasable programmable read-only memory (EPROM).
Read Operation
First. RAM can be used to save data by writing to it, and then reading back for additional processing. Second. RAM is volatile that is, if power is removed from RAM, the stored data are lost
The waveforms for a typical write cycle. All critical timing is referenced to the point at which the address becomes valid.
The minimum duration of the write cycle is identified as twc. This is the 100-ns write cycle time of the 4364-10. The address must remain stable for this complete interval of time.
CE1 and CE2, become active and must remain active until the end of the write cycle. The duration of these pulses are identified as CE1 to end of write time (tCW1), and CE2 to end of write time (tCW2). They begin at any time after the occurrence of the address but before the leading edge of WE.
Cont.
Data applied to the DIN data inputs are written into the device synchronous with the trailing edge of WE.
The data must be valid for an interval equal to tDW before this edge.
This interval called data valid to end of write, has a minimum value of 40 ns for the 4364-10. Data remains valid for an interval of time equal to tDH after this edge. This data hold time similar to address-setup time, equals 0 ns for the 4364. A short recovery period takes place after WE returns to logic 1 before the write cycle is complete. This interval is identified as tWR in the waveforms, and its minimum value equals 5 ns.
Some other benefits of using DRAMS over SRAMS are that: They cost less, consume less power. Their 16-and 18-pin packages take up less space. For these reasons DRAMS are normally used in applications that require a large amount of memory. For example most systems that support at least 1Mbyte of data memory are designed using DRAMS.
MDDR is an acronym that some enterprises use for Mobile DDR SDRAM, a type of memory used in some portable electronic devices, like mobile phones ,handhelds ,and digital audio players .Through techniques including reduced voltage supply and advanced refresh options ,Mobile DDR can achieve greater power efficiency .
In microcomputer systems, the data exchanges that lake place between the MPU and the memory must be done without error. However, problems such as noise, transient signals, or even bad memory bits can produce errors in the transfer of data and instructions.
To improve the reliability of information transfer between the MPU and memory, a parity bit can be added to each byte of data. To implement! data transfers with parity, a parity checker/generator circuit is required.
If the parity is correct, the parity-checker/generator signals this fact to the MPU by making the parity error (PE) output inactive logic 1. This signal is normally sent to the MPU to identify whether or not a memory parity error has occurred. If an odd number of bits are found to be logic 1. a parity error has been detected and PE is set to 0 to tell the MPU of the error condition. Once alerted to the error. the MPU can do any one of a number of things under software control to recover. For instance, it could simply repeat the memory-read cycle to see if it takes place correctly the next time.
FLASH M EMORY
FLASH memory devices are similar to EPROMS in many ways, but are different in several very important ways
The key difference between a FLASH memory and an EPROM is that its memory cells are erased electrically, instead of by exposure to ultraviolet light. That is, the storage array of a FLASH memory can be both electrically erased and reprogrammed with new data. Unlike RAMS, they are not byte erasable and writeable. when an erase operation is performed on a FLASH memory, either the complete memory array or a large block of storage locations, not just one byte, is erased. Even through FLASH memories are writeable, like EPROMS they find their widest use in microcomputer systems for storage of firmware. However their limited erase/rewrite capability enables their use in applications where data must be rewritten, though not frequently. Some examples: implementation of a nonvolatile writeable lookup table, in-system programming for code updates, and solid state drives. An example of the use of flash memory as a lookup table is the storage of a directory of phone numbers in a cellular phone.
WAIT-STATE CIRCUITRY
wait-state generator
WAIT-STATE CIRCUITRY
Depending on the access time of the memory devices used and the clock rate of the MPU, a number of wait states may need to be inserted into external memory read and write operations. In the study of 8088/8086 bus cycles we found that the memory subsystem signals the MPU whether or not wait states are needed in a bus cycle with the logic level applied to its READY input.
The READY output is returned directly to the READY input of the MPU. Logic 1 at this output tells the MPU that the current read/write operation is to be completed. Logic 0 means that the memory bus cycle must be extended by inserting wait states.
WAIT-STATE CIRCUITRY
EXAMPLE9 .3
For memory subsystem of an 8086 microcomputer system. Assume that parity checking is performed independently for the upper and lower banks of the memory array and that the parity error outputs for the two banks are combined to form a single parity error signal.