论文部分内容阅读
应用可重构技术能大大降低指令集架构模拟器的再开发开销,为了在维持可重构性的同时提高模拟器性能,提出一种模拟技术。该技术使用C语言格式的架构描述语言对目标架构进行描述,可兼容多种指令集的模拟。针对模拟过程的瓶颈提出由ADL描述生成基于指令集编码格式信息的译码自动机的算法,实现了快速译码模拟。运用本技术构建了M IPS 4KC的模拟器并用性能评估的程序进行模拟。结果表明:该算法能提高模拟速度约110%~150%,与同类技术相比具有模拟性能高、额外开销小且易于应用的特点。
Application of reconfigurable technology can greatly reduce the re-development overhead of the instruction set architecture simulator. In order to improve the simulator performance while maintaining the reconfigurability, a simulation technique is proposed. The technology uses the C language format description language architecture to describe the target architecture can be compatible with a variety of instruction set simulation. Aiming at the bottleneck of simulation process, an algorithm of decoding automata generated by ADL description based on the information of the instruction set encoding format is proposed to realize the fast decoding simulation. The M IPS 4KC simulator was constructed using this technique and simulated using a performance evaluation program. The results show that the proposed algorithm can increase the simulation speed by about 110% ~ 150% and has the advantages of high simulation performance, small overhead and easy application compared with similar technologies.