As the description language library of System-on-chip, SystemC can define executable virtual prototype of hardware platform and has become de facto industrial standard,but can not make full use of the computation capacity of SMP (Symmetrical Multi-Processing) for the inherent property of sequential simulated kernel. To solve the problem, this paper proposed a software development method from kernel engine to high level modeling. By utilizing parallel programming, the method improves kernel scheduler algorithm and implements really parallel simulation kernel,on the basis of which,combining interface-method-call mechanism and hierarchy channel conception of SystemC,proposes a kind of rapid software development hierachy. The experiment shows modeling system-on-chip by the method can efficently improve simulated speed,and possesses highly developed efficiency in project.%作为片上系统描述的语言库,SystemC允许定义可执行的硬件虚拟平台原型且已成为工业上的标准,但其串行模拟内核的固有属性仍无法充分利用对称多处理器(SMP)的计算能力.针对该问题,提出一种从底层内核引擎到高层建模的软件开发方法.该方法通过并行编程改进内核调度算法以实现真正的并行模拟内核,并结合接口方法调用(IMC)机制和SystemC的分层通道概念,提出一种事务级快速开发的软件开发体系.实验表明,利用该方法建模片上系统可提高模拟速度,且在工程上有较高的开发效率.
展开▼