Memory Decode Test
Memory Decode Test
Address Decoding
A Few Questions
Some important basic
information
5) For these example questions, try and use the upper most
address lines first
Example 1
Using an 8 bit microprocessor which has 20 address lines we
wish to implement a 32k RAM chip.
CS active low
CPU RAM
32K
20 address lines A0 A19
Determine number of address lines to RAM:
CS active low
CS active low
CPU RAM
32K
Determine address range:
CS active low
CPU RAM
32K
fffff
End address
Base
address
CS active low
CS active low
CPU RAM
64K
CS active low
PM
32K
Determine number of address lines to RAM and PM:
CS active low
PM
32K
CS active low
CPU RAM
64K
CS active low
PM
32K
CPU RAM
64K
CS active low
PM
32K
Base
address
RAM
End address
Base
address
Potential problem
Are there any problems in your circuit?
CS active low
CPU RAM
64K
CS active low
PM
32K
Base
address
RAM
End address
Base
address
Potential solution
CS active low
CPU RAM
64K
CS active low
PM
32K
Base
address
RAM
End address
Base
address