摘要
本文首先介绍了指令集模拟器(ISS)的原理与应用,提出了在ISS的建模过程中所要处理的主要问题。然后以ARM7为例讨论了使用C++语言建立周期精确的指令集模拟器的方法。并使用了SystemC封装的方式来解决ISS同系统中其它模块的信息传递和时钟同步问题。将封装后的ISS同存储器一起挂接在AHB总线上,建立了简单的仿真平台。
At the beginning, Principle and application of the ISS are introduced, primary problem.s in the process of building ISS are proposed. And then taking ARM7 as an example, the method of building cycle accurate ISS using C++ language are discussed. ISS communicates with the other part of the system and synchronizes with clock by a SystemC wrapper. The wrapped ISS and a piece of ram are connected to the AHB bus. Finally a simple testbench is constructed.
出处
《中国集成电路》
2007年第11期60-64,共5页
China lntegrated Circuit