上海大学学报(自然科学版) ›› 2017, Vol. 23 ›› Issue (2): 201-215.doi: 10.3969/j.issn.1007-2861.2015.01.017

• 研究论文 • 上一篇    下一篇

内存空间在双空间存储器上的推移技术实验

展豪君, 金翊, 欧阳山, 石也强   

  1. 上海大学计算机工程与科学学院, 上海 200444
  • 收稿日期:2015-04-18 出版日期:2017-04-30 发布日期:2017-04-30
  • 通讯作者: 金翊(1957—), 男, 教授, 博士生导师, 博士, 研究方向为三值光学计算机. E-mail: yijin@shu.edu.cn
  • 作者简介:金翊(1957—), 男, 教授, 博士生导师, 博士, 研究方向为三值光学计算机. E-mail: yijin@shu.edu.cn
  • 基金资助:

    国家自然科学基金青年科学基金资助项目(61103054); 上海市自然科学基金资助项目(15ZR1415400, 13ZR1416000); 上海市教委科研创新资助项目(13ZZ074, 13YZ005)

Experiment of memory space move technique for double-space storage

ZHAN Haojun, JIN Yi, OUYANG Shan, SHI Yeqiang   

  1. School of Computer Engineering and Science, Shanghai University, Shanghai 200444, China
  • Received:2015-04-18 Online:2017-04-30 Published:2017-04-30

摘要:

详细介绍双空间存储器理论和其核心技术——内存空间推移技术的仿真实验. 证实了用非易失性随机存储器(non-volatile random access memory, NVRAM) 构建双空间存储器的可行性, 同时通过对8086CPU 系统的仿真实验, 证实了将内存空间在双空间存储器上推移之技术的正确性. 实验设置的目标系统包含一个8086CPU, 16 MB 的双空间存储器和16 个8位的推移锁存器. 目标系统中设置了2个不可闭窗和14 个可推移的窗框, 在不可闭的255 号窗壁中设置了8086CPU 的首指令和初始化程序, 在不可闭的254 号窗壁设置了8086CPU 的中断向量表和双空间存储器的推移向量表. 实验完成了8086CPU 的上电过程、自动执行初始化程序、正确执行中断命令、正确执行数据读写命令等操作, 并将CPU 对其1 MB 内存空间的随机读写访问自动落实为对16 MB 双空间存储器指定位置的实时随机访问; 实验还完成了随时修改推移锁存器的操作, 并以此将对应的窗框推移到了双空间存储器的任意位置. 实验结果为双空间存储器理论和内存空间推移技术奠定了基础.

关键词: 非易失性随机存储器(non-volatile random access memory, NVRAM) ,  内存推移, 双空间存储器

Abstract:

This work presents an emulation experiment for double-space storage principle and the memory space move technique. The experiment validate feasibility of using nonvolatile random access memory (NVRAM) to build a double-space storage and correctness of the memory space movement technique. The experiment system consists of an 8086CPU, 16 MB double-space storage, and sixteen 8-bit move latches. Two unmovable and fourteen movable window frames are set up. The first instruction and initial program are set in the 255th window that cannot be closed. An interrupt vector table and a move vector table are set in the 254th unclosed window. It has been make sure that the 8086CPU is booted properly, and the initial program, interrupt service routine, read and write memory instruction are executed correctly. Further, access to the 8086CPU’s 1 MB memory can be automatically transformed to the 16 MB double-space memory unit, and the move latches can be modified to map the window frame into a new window wall of the double-space storage. The experimental results lay a foundation for the double-space memory principle and its memory space move technique.

Key words:  memory space move,  non-volatile random access memory (NVRAM) , double-space storage