内存映射,虚拟内存
The transformation of data from main memory to cache memory is called mapping. There are 3 main types of mapping:
数据从主内存到高速缓存的转换称为映射。 映射有3种主要类型:
Associative Mapping
关联映射
Direct Mapping
直接映射
Set Associative Mapping
设置关联映射
关联映射 (Associative Mapping)
The associative memory stores both address and data. The address value of 15 bits is 5 digit octal numbers and data is of 12 bits word in 4 digit octal number. A CPU address of 15 bits is placed in argument register and the associative memory is searched for matching address.
关联存储器存储地址和数据。 15位的地址值为5位八进制数,数据为12位字(4位八进制数)。 将15位的CPU地址放入自变量寄存器,并在关联存储器中搜索匹配的地址。