摘要
存储管理单元MMU(Memory Management Unit)是各种微处理器用以实现虚拟存储的关键部件。针对SPARCV8结构处理器的需求,提出一种MMU的设计方案。分析了虚拟地址到物理地址的映射关系,通过采用转换后备缓冲区TLB(Translation Lookaside Buffer)加快了SPARCV8处理器在多任务处理时虚实地址的转换;以页式存储为依据,为页面的读、写、执行等访问提供了保护机制;并在异常发生时根据访问类型进行相应的异常处理。结论表明,该设计方案是可行的、有效的;并且可作为其它处理器MMU设计的基础。
Memory management unit is an important component of microprocessor which implements virtual memory.To satisfy the need of processor based on SPARC V8 architecture,a design of MMU is proposed.The mapping from any virtual address to a physical address is analyzed,the address translation using TLB to realize Multitask in SPARC V8 processor is speeded up.Through paged virtual memory,this design provided a protection mechanism for page-level read,write and execution,and dealt with corresponding exceptional events according to the access type when some exception occurred.Conclusions show that the design is feasible and effective,and it can be used as a basis for the design of MMU in other processor.
出处
《科学技术与工程》
2010年第31期7810-7815,共6页
Science Technology and Engineering