计算机工程
計算機工程
계산궤공정
COMPUTER ENGINEERING
2014年
2期
289-293,299
,共6页
胡国卿%邵培南%陈磊%李翔
鬍國卿%邵培南%陳磊%李翔
호국경%소배남%진뢰%리상
虚拟机%PCI 总线%CAN 总线%功能性仿真%总线仲裁%中断
虛擬機%PCI 總線%CAN 總線%功能性倣真%總線仲裁%中斷
허의궤%PCI 총선%CAN 총선%공능성방진%총선중재%중단
virtual machine%Peripheral Component Interconnect(PCI) bus%Controllers Area Network(CAN) bus%functional simulation%bus arbitration%interrupt
综合嵌入式系统通过外部总线实现各个子系统之间的通信连接。为解决综合嵌入式系统的接口测试问题,采用系统虚拟机仿真综合嵌入式系统的连接方式,通过在虚拟机中创建外部总线仿真模块,配置仿真模块的连接,从而实现虚拟机之间的通信。提出一种基于以太网通信的外部总线仿真结构,以 CAN 总线仿真为例,在全系统虚拟机 QEMU 的内部总线上配置与注册外部总线设备,为读写总线设备数据的接口建立共享内存,组织总线协议报文。实验结果表明,通过网络收发报文,可实现总线仿真节点模块之间的数据交换,从而达到仿真总线的数据通信功能。
綜閤嵌入式繫統通過外部總線實現各箇子繫統之間的通信連接。為解決綜閤嵌入式繫統的接口測試問題,採用繫統虛擬機倣真綜閤嵌入式繫統的連接方式,通過在虛擬機中創建外部總線倣真模塊,配置倣真模塊的連接,從而實現虛擬機之間的通信。提齣一種基于以太網通信的外部總線倣真結構,以 CAN 總線倣真為例,在全繫統虛擬機 QEMU 的內部總線上配置與註冊外部總線設備,為讀寫總線設備數據的接口建立共享內存,組織總線協議報文。實驗結果錶明,通過網絡收髮報文,可實現總線倣真節點模塊之間的數據交換,從而達到倣真總線的數據通信功能。
종합감입식계통통과외부총선실현각개자계통지간적통신련접。위해결종합감입식계통적접구측시문제,채용계통허의궤방진종합감입식계통적련접방식,통과재허의궤중창건외부총선방진모괴,배치방진모괴적련접,종이실현허의궤지간적통신。제출일충기우이태망통신적외부총선방진결구,이 CAN 총선방진위례,재전계통허의궤 QEMU 적내부총선상배치여주책외부총선설비,위독사총선설비수거적접구건립공향내존,조직총선협의보문。실험결과표명,통과망락수발보문,가실현총선방진절점모괴지간적수거교환,종이체도방진총선적수거통신공능。
The communication connection among subsystems of the integrated embedded systems is achieved by an external bus. In order to solve interface test problems of the integrated embedded system, integrated embedded systems are simulated by embedded systems virtual machines which create external bus simulation modules. And the communication among virtual machines is achieved by configuring connections of these modules. This technology presents an external bus simulation structure based on Ethernet communication, and takes Controllers Area Network(CAN) bus simulation as an example. It establishes shared memory for bus device interface reading and writing data and achieves the data exchange between simulation node modules via configurations of internal bus on QEMU which is a system virtual machine, registrations of external bus devices, organizations of bus protocol packets and sending and receiving packets through the network, so as to achieve the data communication capabilities of simulation bus.