在构建演化硬件的软硬件协同设计平台中,提出了一种数字电路仿真算法。这种仿真算法根据数字电路的拓扑结构,将电路的仿真过程分为两个阶段:第一阶段主要是对数字电路结构化,并将每个宏实体(模块)置于激活或挂起状态;第二阶段则使用两种方法仿真激活的宏实体.此外,根据软硬件协同设计平台的需求,对电路进行优化度和复杂性评价。实验表明这种数字电路仿真算法能较好地满足该系统平台的要求,有效地指导下一步的演化策略。
A simulation algorithm for logic circuits on the EHW-based software-hardware co-designing platform WU-EHW was proposed. In accordance with the topology of digital circuits, the procedure of the simulation is divided into two phases. In the first phase, a logic circuit is structurized and each macroblock is also set to the state of either activation or suspension. In the next phase, two methods are used to simulate the activated macroblocks. Moreover, the logic circuit was evaluated in terms of optimization and complexity according to the requirement of WU-EHW. At last, experiments show that this simulation algorithm meets the demand of this platform successfully and the result of evaluation guides the next strategy of evolution efficiently.