Professional Documents
Culture Documents
Types of Memories:
Random vs. sequential
Random-Access Memory: each word is
accessible separately equal access time
Sequential-Access Memory: Information stored
is not immediately accessible but only at certain
intervals of time
magnetic disk or tape
access time is variable
Volatile vs. non-volatile
volatile: stored information is lost when power is
turned off
Non-volatile: remains even after power is turned
off
magnetic disk, flash memory
Selection Connections:
Each memory device has an input sometimes
more than one that selects or enables the
memory device.
Chip Select (CS), Chip Enable (CE), or
simply (S) input.
Logic 0 enables and logic 1 disables the
memory device.
If more than one CS connection is present
all must be activated to read or to write.
Address Decoding:
In order to attach a memory device to the microprocessor, it
is necessary to decode the address from the microprocessor
to make the memory function at a unique section or partition
of the memory map.
Without an address decoder, only one memory device can be
connected to a microprocessor, which would make it virtually
useless.
Why Decode memory ?
When the 8086/8088 is compared to the 2716 EPROM, a
difference in number of address connections EPROM is
having 11 and Microprocessor is having 20.
Means, the microprocessor sends out 20-bit address
So, there is mismatch. This mismatch is corrected by the
address decoders.
18
17
16
15
14
13
12
11
10
Figure : A circuit that uses eight 2764 EPROM for a 64K X 8 section of
memory in an 8086 microprocessor based system. The addresses
selected in this circuit are F0000H-FFFFFH
Example:
A A A A
1 1 1 1
19
18
17
1 1 1 1
=F0000H
1 1 1 1
=FFFFFH
16
A15 A A13 A
x x x x
0 0 0 0
A11A10 A A8 A7 A6 A A
A3 A A A
x x x x
x x x x
x x x x
or
0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1
To
1 1 1 1
14
12
1 1 1 1
1 1 1 1
BHE
FFFFF
FFFFD
--------High bank
-------00005
00003
00001
BLE
FFFFE
FFFFC
FFFFA
-------Low bank
-------00004
00002
00000
BLE(A0)
Function
No bank enabled