First page Back Continue Last page Overview Graphics
Step 2. Write chip starting addresses and ending addresses in binary
bits: 15 0
start address=0 0000 0000 0000 0000
end address 0000 1111 1111 1111
start address=2000H 0010 0000 0000 0000
end address 0010 0011 1111 1111
start address=8000H 1000 0000 0000 0000
end address 1111 1111 1111 1111
In the memory map we usually can find three pieces of information for each type of memory: the starting address, the memory size, and the ending address. In fact, given any two of these three, one can calculate the third. Let us continue to use the memory map defined on the previous pages as an example. To design a memory system, it is easier to use binary numbers to represent the starting address and ending address for each chip. By comparing the starting address and ending address of each type of memory and considering all the memory addresses between the starting and ending addresses one can find that (1) certain bits of the memory address do not change for each memory chip and (2) certain bits of memory addresses change between 0 and 1 for a particular chip. The bits that change for each memory chip are underlined.
If you count the number of address bits that changes for the chip, you find that this number matches the number of address pins of the memory chip. Therefore, these address lines are directly connected to the memory address pins as shown on the next page. For example, the EEPROM chip has 10 address pins and the changing bits for EEPROM are 10. Therefore, the changing bits are directly connected to the address pins of the chip.