CN111123737A - Digital hardware virtual simulation system - Google Patents

Digital hardware virtual simulation system Download PDF

Info

Publication number
CN111123737A
CN111123737A CN201911157201.1A CN201911157201A CN111123737A CN 111123737 A CN111123737 A CN 111123737A CN 201911157201 A CN201911157201 A CN 201911157201A CN 111123737 A CN111123737 A CN 111123737A
Authority
CN
China
Prior art keywords
hardware
simulation
target
virtual
architecture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911157201.1A
Other languages
Chinese (zh)
Inventor
王姝
温晓玲
姜梦岑
王晓颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenyang Aircraft Design and Research Institute Aviation Industry of China AVIC
Original Assignee
Shenyang Aircraft Design and Research Institute Aviation Industry of China AVIC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenyang Aircraft Design and Research Institute Aviation Industry of China AVIC filed Critical Shenyang Aircraft Design and Research Institute Aviation Industry of China AVIC
Publication of CN111123737A publication Critical patent/CN111123737A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application relates to a digital hardware virtual simulation system, which comprises: the system comprises an architecture hardware virtual module, a target hardware processing module and a hardware configuration module, wherein the architecture hardware virtual module is used for virtualizing architecture hardware of target hardware, and the architecture hardware comprises a CUP and a memory; the device hardware virtual module is used for virtualizing device hardware which can be accessed or connected by target hardware, and the device hardware comprises network equipment, communication equipment and storage equipment; and the system operation simulation module is used for simulating an operating system which can be operated according to the architecture hardware and the device hardware so as to realize the simulation of the application program in the target hardware. The digital hardware virtual simulation system can provide a set of complete digital hardware virtual simulation environment, can realize a target hardware virtual machine based on a digital technology on the environment, complete the running and simulation of target software codes on the target hardware virtual machine, and simulate the running effect of the target codes on real hardware to the maximum extent.

Description

Digital hardware virtual simulation system
Technical Field
The application belongs to the technical field of digital simulation, and particularly relates to a digital hardware virtual simulation system.
Background
Virtual simulation is an extremely important system development and integration means, and due to a specific software and hardware integration system, which generally comprises a hardware platform and a software system running on the hardware platform, corresponding system functions generally need to be completed by matching software with hardware. Because a hardware system and a software system are usually in different development states and development degrees, and once a system problem occurs and needs to be checked, the system problem and the system problem need to be checked separately and independently, simulation and emulation which can be separated from a hardware platform are usually needed for software running on a real device, so that the requirements of synchronous development of the software between independent verification and incomplete hardware platform and the like are solved.
The current software virtual simulation method mainly comprises source code simulation and binary level simulation. The source code emulation is completed by recompiling the software source code on an emulation platform and realizing similar functions through binary codes under different architectures. Binary simulation is realized by virtual hardware and running a target binary software code on the virtual hardware, and currently, Simics is mainly adopted to perform full-system simulation, but the simulation is performed based on a factory closed-source technology, so that the complexity and flexibility of a system are limited.
Accordingly, a technical solution is desired to overcome or at least alleviate at least one of the above-mentioned drawbacks of the prior art.
Disclosure of Invention
The present application is directed to a digital hardware virtual simulation system, which solves at least one of the problems of the prior art.
The technical scheme provided by the application is as follows: a digital hardware virtual simulation system, the digital hardware virtual simulation system comprising:
the system comprises an architecture hardware virtual module, a target hardware processing module and a hardware configuration module, wherein the architecture hardware virtual module is used for virtualizing architecture hardware of target hardware, and the architecture hardware comprises a CUP and a memory;
the device hardware virtual module is used for virtualizing device hardware which can be accessed or connected by the target hardware, and the device hardware comprises network equipment, communication equipment and storage equipment; and
and the system operation simulation module is used for simulating an operating system which can be operated according to the architecture hardware and the device hardware so as to realize the simulation of the application program in the target hardware.
In addition, the present application also provides a computer device, comprising: at least one processor; at least one memory; and a computer program stored on the memory and executable on the processor, the processor executing the computer program to execute the digital hardware virtual simulation system.
Finally, the present application also provides a readable storage medium storing a computer program which, when executed by a processor, executes the above-mentioned digital hardware virtual simulation system.
The digital hardware virtual simulation system can provide a set of complete digital hardware virtual simulation environment, can realize a target hardware virtual machine based on a digital technology on the environment, complete the running and simulation of target software codes on the target hardware virtual machine, and simulate the running effect of the target codes on real hardware to the maximum extent.
Drawings
FIG. 1 is a schematic diagram of a digital hardware virtual simulation system according to an embodiment of the present application.
Detailed Description
In order to make the implementation objects, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be described in more detail below with reference to the drawings in the embodiments of the present application.
As shown in fig. 1, in order to realize that the running condition of the application program in the hardware of the second architecture is simulated under the hardware of the first architecture, the present application proposes a digital hardware virtual simulation system, which mainly includes: the system comprises a framework hardware virtual module 1, a device hardware virtual module 2 and a system operation simulation module 3.
The architecture hardware virtual module 1 is used for implementing emulation simulation of one hardware architecture (or target architecture) from another hardware architecture, and can directly support binary code execution of the target platform. The simulation of the target architecture mainly realizes the simulation of a CPU and the simulation of a memory.
For example, in one embodiment, the first hardware architecture is an X86 architecture, the other hardware architecture is a PowerPC architecture, the processor and the memory of the PowerPC architecture are implemented on the X86 architecture by using an open source QEMU to achieve the purpose of supporting the operation of the target architecture, and the virtual hardware device is virtualized by simulating the CPU of the processor (such as P2020 and the like) in the PowerPC architecture to directly run the target binary code.
In addition to the target hardware processing device, an I/O device of the target hardware needs to be simulated. Because the application program can access various real I/O hardware devices when running on the real hardware in the target hardware, in order to support the device access codes, the device hardware virtual module 2 simulates corresponding hardware or a driver to support the running simulation of the target application program. The simulated I/O device hardware includes, for example, network devices, communication devices, storage devices, etc.
The system operation simulation module 3 is used for simulating an operating system which can be operated according to the architecture hardware and the device hardware so as to realize the simulation of the application program in the target hardware. In order to run various target application programs under target hardware, firstly, an operating system of the target hardware, such as a VxWorks operating system and a VxWorks653 operating system, is run on a virtual machine, and running simulation of the application programs is realized on the basis. In order to realize convenient control under target hardware, a virtual machine management framework is arranged in the application, and comprises communication between a virtual machine and a management system, virtual machine state storage management, virtual machine monitoring and the like. In addition, a virtual machine management control system provides a set of complete management system for the bottom layer virtual platform, and the management system comprises the functions of virtual machine creation, operation, management, monitoring and the like.
The digital hardware virtual simulation system has the advantages that:
a. by realizing hardware-level virtual simulation, the virtual simulation method is practically indistinguishable from accessing real hardware from application software, and runs binary codes which are kept consistent on a target platform, so that a target software system can be simulated and run to the greatest extent, the capability and effect of comprehensive simulation verification are greatly improved, and model application and professional development are supported:
b. the simulation degree higher than the simulation level of the source code is provided, and as the binary code which runs on the real hardware is directly adopted during simulation, the consistency of the running result of the software code on the simulation platform and the running result of the target platform is greatly improved, and the simulation degree is greatly improved;
c. the compatibility higher than the simulation level of the source code is provided, and the compatibility of each part of the simulated system is greatly improved because the target binary code is directly adopted for running, so that the source code-level simulation object and the simulated object without the source code can be unified to the binary level for comprehensive simulation, and the problem of simulation of the part without the source code in the simulated system on partial occasions is solved;
d. the method is realized based on the open source virtual machine technology, can realize deeper customization and simulation, and can be conveniently modified and expanded;
e. the system provides a set of perfect virtual machine management system, can conveniently manage and simulate the virtual machine, improves the usability of the simulation system, increases the receivable degree and improves the simulation efficiency.
In addition, the present application also provides a computer device, comprising: at least one processor; at least one memory; and a computer program stored on the memory and executable on the processor, the processor executing the computer program to execute the digital hardware virtual simulation system.
Finally, the present application also provides a readable storage medium storing a computer program which, when executed by a processor, executes the above-mentioned digital hardware virtual simulation system.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (3)

1. A digital hardware virtual simulation system, the digital hardware virtual simulation system comprising:
the system comprises an architecture hardware virtual module, a target hardware processing module and a hardware configuration module, wherein the architecture hardware virtual module is used for virtualizing architecture hardware of target hardware, and the architecture hardware comprises a CUP and a memory;
the device hardware virtual module is used for virtualizing device hardware which can be accessed or connected by the target hardware, and the device hardware comprises network equipment, communication equipment and storage equipment; and
and the system operation simulation module is used for simulating an operating system which can be operated according to the architecture hardware and the device hardware so as to realize the simulation of the application program in the target hardware.
2. A computer device, characterized in that it comprises
At least one processor;
at least one memory; and
a computer program stored on the memory and executable on the processor, the processor executing the computer program for implementing the digital hardware virtual simulation system of claim 1.
3. A readable storage medium storing a computer program, wherein the computer program, when executed by a processor, performs the digital hardware virtual simulation system of claim 1.
CN201911157201.1A 2018-11-30 2019-11-22 Digital hardware virtual simulation system Pending CN111123737A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2018114579709 2018-11-30
CN201811457970 2018-11-30

Publications (1)

Publication Number Publication Date
CN111123737A true CN111123737A (en) 2020-05-08

Family

ID=70496372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911157201.1A Pending CN111123737A (en) 2018-11-30 2019-11-22 Digital hardware virtual simulation system

Country Status (1)

Country Link
CN (1) CN111123737A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112527457A (en) * 2020-12-11 2021-03-19 成都云铀子网络科技有限公司 Virtual machine implementation method for universal Unicorn simulation instruction execution
CN112764981A (en) * 2021-01-22 2021-05-07 山东云海国创云计算装备产业创新中心有限公司 Cooperative test system and method
CN113110730A (en) * 2021-04-09 2021-07-13 北京润尼尔网络科技有限公司 Energy-saving method and device for operating equipment and electronic equipment
CN113805848A (en) * 2020-06-11 2021-12-17 中国航发商用航空发动机有限责任公司 Target machine control software integration method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070067769A1 (en) * 2005-08-30 2007-03-22 Geisinger Nile J Method and apparatus for providing cross-platform hardware support for computer platforms
CN103793260A (en) * 2013-10-09 2014-05-14 中国电子设备系统工程公司研究所 Platform virtualization system
CN105336242A (en) * 2015-11-24 2016-02-17 中国航空工业集团公司沈阳飞机设计研究所 Automotive training simulator and automobile simulation assembly with same
CN108694070A (en) * 2017-03-31 2018-10-23 波音公司 The emulation of hardware component

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070067769A1 (en) * 2005-08-30 2007-03-22 Geisinger Nile J Method and apparatus for providing cross-platform hardware support for computer platforms
CN103793260A (en) * 2013-10-09 2014-05-14 中国电子设备系统工程公司研究所 Platform virtualization system
CN105336242A (en) * 2015-11-24 2016-02-17 中国航空工业集团公司沈阳飞机设计研究所 Automotive training simulator and automobile simulation assembly with same
CN108694070A (en) * 2017-03-31 2018-10-23 波音公司 The emulation of hardware component

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
孙胜杰,等: "基于 PowerPC 的软件仿真调试系统的设计与实验", 科学技术与工程, no. 31, pages 7690 - 7697 *
牛牛: "QEMU动态翻译器", pages 1, Retrieved from the Internet <URL:https://www.pianshen.com/article/51811671651/> *
罗天成: "飞控系统虚拟仿真平台的研究与设计", 中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑 (月刊), vol. 1, pages 031 - 51 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113805848A (en) * 2020-06-11 2021-12-17 中国航发商用航空发动机有限责任公司 Target machine control software integration method and system
CN113805848B (en) * 2020-06-11 2024-03-26 中国航发商用航空发动机有限责任公司 Target machine control software integration method and system
CN112527457A (en) * 2020-12-11 2021-03-19 成都云铀子网络科技有限公司 Virtual machine implementation method for universal Unicorn simulation instruction execution
CN112764981A (en) * 2021-01-22 2021-05-07 山东云海国创云计算装备产业创新中心有限公司 Cooperative test system and method
CN112764981B (en) * 2021-01-22 2023-03-14 山东云海国创云计算装备产业创新中心有限公司 Cooperative testing system and method
CN113110730A (en) * 2021-04-09 2021-07-13 北京润尼尔网络科技有限公司 Energy-saving method and device for operating equipment and electronic equipment
CN113110730B (en) * 2021-04-09 2022-02-01 北京润尼尔网络科技有限公司 Energy-saving method and device for operating equipment and electronic equipment

Similar Documents

Publication Publication Date Title
CN111123737A (en) Digital hardware virtual simulation system
US11720344B2 (en) Code hot-update method and device, storage medium, processor, and terminal
CN107239309B (en) Patch generation method and device, updating method, electronic device and storage medium
CN108737131B (en) Method and device for realizing network equipment virtualization
CN104750603A (en) Multi-core DSP (Digital Signal Processor) software emulator and physical layer software testing method thereof
US10417023B2 (en) GPU simulation method
CN103955373A (en) Design method of SDN (Software Defined Networking) application integration development environment
CN111459606A (en) Method for quickly creating virtual machine under virtualization and server
CN103793260A (en) Platform virtualization system
US20220164216A1 (en) VIRTUALIZING HARDWARE COMPONENTS THAT IMPLEMENT Al APPLICATIONS
CN113657069B (en) SOC simulation verification method and device, verification server and storage medium
US20180060111A1 (en) Method and Apparatus for Online Upgrade of Kernel-Based Virtual Machine Module
CN112667361A (en) Management method and device based on system virtual machine, electronic equipment and storage medium
Rechert et al. Introduction to an emulation-based preservation strategy for software-based artworks
US9164788B2 (en) Apparatus and method for automatic para-virtualization of OS kernel
CN114443221A (en) Method and system for constructing cross-platform container mirror image based on build dah and electronic equipment
CN113760462B (en) Construction method and device for verification environment of dispatching automation system
US20150370692A1 (en) Guest-independent testing of guest firmware in virtualized systems
CN103678099B (en) A kind of method and device realizing hardware platform and software platform communication
US11188361B1 (en) Cross-architecture software distribution using a virtual instruction set architecture
CN109460280B (en) Method and terminal for running program
CN116611375A (en) Software and hardware collaborative simulation platform and software and hardware testing method
CN116540929A (en) Virtualized reading method and device of disk array, electronic equipment and storage medium
CN106951288B (en) Development and application method and device of hot upgrade resource
CN107861795A (en) Method, system, device and the readable storage medium storing program for executing of analog physical TCM chips

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination