Description
330104-00-05-10-02-CN Memory Expansion
330104-00-05-10-02-CN generates chip select or high address signals and uses these signals to page the memory, but will cause inconvenience to the programming when jumping between pages. For CPUs that do not have internal memory and use unified addressing, such as the 80C196KC20 [1], such page switching will cause the CPU to be unable to continue executing the current program and generate an error (see Figure 1). After the CPU performs the page switch operation, it should continue to execute the instruction on page 1, but it incorrectly executes the corresponding instruction on page 2, which is not the desired result. Therefore, finding an effective memory expansion method is an urgent problem in practical applications.
330104-00-05-10-02-CN in the use of MCS-96 series of microcontrollers found that 64K bytes of storage space used to store the programme to meet the needs of the vast majority of the use (usually less than 10K bytes of the user’s application), but if the use of its data storage control, will bring about a serious shortage of storage space. Statistical analyses of actual applications have shown that in many cases, access to data is limited to sequential operations.
330104-00-05-10-02-CN Taking advantage of this feature, the data storage space can be designed in a simplified manner, specifically by performing batch data access through sequential reads or sequential writes to the same address, thus saving address space. In 16-bit CPUs, any section of 64K words (2 to the 16th power) of storage space can be mapped to two addresses (one as the location of the read, one as the location of the write), using this mapping method can be extended to a maximum of 2G words of memory (2 to the 31st power), but such a design at the same time also brings a lot of difficulties in logic control. With the rapid development of programmable logic devices (PLDs) including FPGAs, EPLDE4, CPLDs, etc., the design of digital logic circuits has been greatly simplified so that this memory expansion idea can be realised.