What is the function of the memory chip selection line
- Categories:Industry News
- Author:
- Origin:
- Time of issue:2021-06-26 14:14
- Views:
What is the function of the memory chip selection line
- Categories:Industry News
- Author:
- Origin:
- Time of issue:2021-06-26 14:14
- Views:
Suppose the CPU now requires a 16K×1 bit memory chip to form a 64K×8 bit memory. How to use a 16K×1 bit memory chip to form a 64K×8 bit memory?
16K×1 represents the storage capacity, and each storage unit stores 1 bit of 0/1 data. Then, we use 8 such chips to operate on the same address of 8 chips at the same time, each chip is given 1 bit, and 8 chips constitute a 16K×8 memory.
However, the CPU requirement is 64K? How should this be done?
In fact, it is not difficult. Every 8 chips are divided into 1 group, and then 4 groups are copied to form a 64K×8 memory.
When reading and writing operations, 8 chips are working at the same time, so their chip select lines are connected together.
Then the 64K space is divided, so the address of 0-(16K-1) in the CPU address is allocated to the first group of chips, and the address of 16K-(32K-1) is allocated to the second group of chips, 32K -The address of (48K-1) is allocated to the chips of the third group, and the address of 48K-(64K-1) is allocated to the chips of the third group to the chips of the fourth group.
Now suppose that the address accessed is 65535, and the write operation is performed. Then the memory chip indicated by this address should be in the last group. After the chip select signal sees this address, it will select the last group and the chip selects corresponding to the other three groups of chips. The signal is invalid, which is high level, and the last group of corresponding chip select signals are valid, which is low level, and the data will be stored in the memory chip of the last group.