1. College of Physics and Microelectronics, Hunan University, Changsha Hunan 410082, China;
2. Institute of Microelectronics, Chinese Academy of Sciences, Beijing 100029, China
In order to adapt to the the requirement of the Instruction Set Simulator (ISS) simulation speed in embedded system development, an improved ISS technology was put forward.The technology introduced instruction preprocessing, dynamic decode cache structure, multi-thread C function generation and dynamic scheduling technique based on the existing static multi-core simulator to achieve the optimization of the simulator performance. This technique has been applied successfully in forming OPT-ISS, which is based on IME-Diamond multi-core DSP processor. The experimental results show that this technique improves the simulation speed indeed.
付琳, 胡锦, 梁利平. 指令集仿真器的关键技术[J]. 计算机应用, 2015, 35(5): 1421-1425.
FU Lin, HU Jin, LIANG Liping. Key techniques for fast instruction set simulator. Journal of Computer Applications, 2015, 35(5): 1421-1425.
[1] YU Z, JIN H,ZOU N. Computer architecture software-based simulation [J].Journal of Software,2008,19(4):1051-1068.(喻之斌,金海,邹南海.计算机体系结构软件模拟技术[J].软件学报,2008,19(4):1051-1068.) [2] WANG Y, WANG S. Optimization design and realization of IA instruction set simulator[J].Radio Engineering,38(11):49-51.(王颖,王赛宇.IA指令集仿真器的优化设计与实现[J].无线电工程,38(11):49-51.) [3] ZHU J, GAJSKI D D. An ultra-fast instruction set simulator[J]. IEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2002, 10(3): 363-373. [4] GUAN X, CHEN Z,DANG J. Design of fast SPARC V7 instruction set simulator[J].Computer Engineering and Design,2011,32(2):531-534.(关小川,陈朝晖,党纪红.快速SPARCV7指令集模拟器的设计方法[J].计算机工程与设计,2011,32(2):531-534.) [5] LUO H, LIANG L, YE T.Technique for multi-core instruction-set simulator[J].Application Research of Computers, 2013,30(10):3035-3037.(罗汉青,梁利平,叶甜春.一种多核指令集仿真器构建技术[J].计算机应用研究,2013,30(10):3035-3037.) [6] XUE B, ZHOU Y. Design of CPU simulator compatible with MIPS32 instruction set[J].Computer Engineering, 2009,35(1):263-265.(薛勃,周玉洁.MIPS32指令集兼容的CPU模拟器设计[J].计算机工程,2009,35(1):263-265.) [7] BRAUN G, NOHL A, HOFFMANN A, et al. A universal technique for fast and flexible instruction-set architecture simulation[J]. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2004, 23(12): 1625-1639. [8] RESHADI M, MISHRA P, DUTT N. Instruction set compiled simulation: a technique for fast and flexible instruction set simulation[C]// Proceedings of the 40th Conference on Design Automation. Piscataway: IEEE, 2003:758-763. [9] GAO X, ZHANG F, TANG Y, et al. SimOS-Goodson: a goodson-processor based multi-core full-system simulator[J].Journal of Software, 2007,18(4):1047-1055.(高翔,张福新,汤彦,等.基于龙芯CPU的多核全系统模拟器SimOS-Goodson[J].软件学报,2007,18(4):1047-1055.) [10] HELMSTETTER C, JOLOBOFF V, ZHOU X, et al. Fast instruction set simulation using LLVM-based dynamic translation[C]// Proceedings of the 2011 International MultiConference of Engineers and Computer Scientists. Berlin: Springer, 2011: 212-216. [11] WAGSTAFF H, GOULD M, FRANKE B, et al. Early partial evaluation in a JIT-compiled, retargetable instruction set simulator generated from a high-level architecture description[C]// Proceedings of the 50th Annual Design Automation Conference. New York: ACM, 2013: 21. [12] BÖHM I, EDLER von KOCH T J K, KYLE S C, et al. Generalized just-in-time trace compilation using a parallel task farm in a dynamic binary translator[C]// Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation. New York: ACM, 2011: 74-85. [13] HENNESSY J L, PATTERSON D A. Computer architecture: a quantitative approach[M]. 3rd ed. ZHENG W,TANG Z,WANG D, translated. Beijing: Publishing House of Electronics Industry, 2004:31.(HENNESSY J L, PATTERSON D A.计算机体系结构:量化研究方法[M]. 3版.郑纬民,汤志忠,汪东升,译.北京:电子工业出版社,2004:31.)