CN112380133A - Method and device for simulating instruction set simulator by using function library - Google Patents

Method and device for simulating instruction set simulator by using function library Download PDF

Info

Publication number
CN112380133A
CN112380133A CN202011314585.6A CN202011314585A CN112380133A CN 112380133 A CN112380133 A CN 112380133A CN 202011314585 A CN202011314585 A CN 202011314585A CN 112380133 A CN112380133 A CN 112380133A
Authority
CN
China
Prior art keywords
function
target
library
instruction
address
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.)
Granted
Application number
CN202011314585.6A
Other languages
Chinese (zh)
Other versions
CN112380133B (en
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.)
Beijing Sunwise Information Technology Ltd
Original Assignee
Beijing Sunwise Information Technology Ltd
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 Beijing Sunwise Information Technology Ltd filed Critical Beijing Sunwise Information Technology Ltd
Priority to CN202011314585.6A priority Critical patent/CN112380133B/en
Publication of CN112380133A publication Critical patent/CN112380133A/en
Application granted granted Critical
Publication of CN112380133B publication Critical patent/CN112380133B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses a method and a device for simulating an instruction set simulator by using a function library. The method comprises the following steps: acquiring a function name of an object code which needs to be simulated by using a function library in the object code and a function name of the function library corresponding to the function name of the object code; calling target code analysis software to analyze the target code and determining a target function entry address corresponding to the target code function name; generating a function address information corresponding table according to the target code function name and the target function entry address, and sending the function address information corresponding table to an instruction simulator; and simulating by using the function library function through the instruction simulator according to the function library function name to obtain a simulation result. The embodiment of the invention solves the problems of low simulation complex algorithm efficiency and poor calculation result precision in the debugging and testing processes of the instruction set simulator, and solves the problem that the target code cannot be analyzed when the external library function is dynamically called.

Description

Method and device for simulating instruction set simulator by using function library
Technical Field
The invention relates to the technical field of instruction set simulator simulation, in particular to a method and a device for simulating an instruction set simulator by using a function library.
Background
The simulation technology of the embedded instruction set simulator is generally used for testing and debugging software and is an indispensable effective means for ensuring the reliability of the software. The purpose of simulation test by using an instruction set simulator is to find errors existing in software, and the purpose of software simulation debugging is to quickly locate the errors. The accuracy of the simulator simulation results and the speed at which the simulation runs are important.
Most of the existing instruction set simulators adopt a process of decoding and executing instructions one by one. When the complex algorithm operation is carried out in the simulation processing mode, decoding and simulation are carried out one by one according to the instruction set processing process of the complex algorithm. This emulation mode exposes drawbacks in the face of the large number of high precision instruction set emulations required. The complex algorithm needs simulation processing of a large number of instruction sets, and if each instruction needs to pass through the decoding and simulation processes, the simulation efficiency of the simulator is greatly reduced. The simulation of the instruction set may have a calculation accuracy error due to differences of platforms, imperfect functions, and the like. When complex algorithms are processed, a large number of high-precision floating point instructions are often used, but precision errors possibly exist in computer simulation floating point instructions, so that the precision errors are accumulated continuously, and calculation results are influenced. Object code software for emulation testing sometimes involves dynamically calling external library functions, which makes it impossible for an instruction set simulator to emulate external library functions of object code.
Disclosure of Invention
The technical problem solved by the invention is as follows: the defects of the prior art are overcome, and a method and a device for simulating by using a function library by using an instruction set simulator are provided.
In order to solve the above technical problem, an embodiment of the present invention provides a method for simulating by using a function library by an instruction set simulator, including:
acquiring a function name of an object code which needs to be simulated by using a function library in the object code and a function name of the function library corresponding to the function name of the object code;
calling target code analysis software to analyze the target code and determining a target function entry address corresponding to the target code function name;
generating a function address information corresponding table according to the target code function name and the target function entry address, and sending the function address information corresponding table to an instruction simulator;
and simulating by using the function library function through the instruction simulator according to the function library function name to obtain a simulation result.
Optionally, the invoking target code parsing software to parse the target code and determine a target function entry address corresponding to the target code function name includes:
calling the target code analysis software to analyze the target code to obtain all function names and function entry addresses corresponding to the target code;
and calling the target code analysis software to obtain a target function entry address corresponding to the target function name.
Optionally, the simulating by the instruction simulator according to the function library function name by using a function library function to obtain a simulation result includes:
loading a function library function corresponding to the function library function name through the instruction simulator;
judging whether the destination address of the jump instruction is the target function entry address in the function address information corresponding table or not in the process of decoding and analyzing by the instruction simulator;
under the condition that the destination address of the jump instruction is the entry address of the target function, jumping to the function library function according to the function library function corresponding to the jump instruction in a function address information table;
and reading data of a relevant register required by the current function library function execution, and transmitting the data into the function library function for function simulation to obtain a simulation result.
Optionally, after the determining whether the destination address of the jump instruction is the target function entry address in the function address information correspondence table, the method further includes:
and when the destination address of the jump instruction is a non-target function entry address, processing according to a common jump instruction set function.
Optionally, after the simulating by the instruction simulator according to the function library function name by using the function library function to obtain a simulation result, the method further includes:
storing the simulation result into a register or a memory;
setting the current running state of the jump instruction;
and returning to the address of the next instruction of the target code function through the instruction simulator, and continuing to perform subsequent simulation.
In order to solve the above technical problem, an embodiment of the present invention further provides an apparatus for simulating by using a function library by using an instruction set simulator, including:
the target function name acquisition module is used for acquiring a function name of a target code which needs to be simulated by using a function library in the target code and a function name of the function library corresponding to the function name of the target code;
the target entry address determining module is used for calling target code analysis software to analyze the target code and determining a target function entry address corresponding to the function name of the target code;
the function address corresponding table generating module is used for generating a function address information corresponding table according to the target code function name and the target function entry address and sending the function address information corresponding table to the instruction simulator;
and the simulation result acquisition module is used for simulating by using the function library function through the instruction simulator according to the function library function name so as to obtain a simulation result.
Optionally, the target entry address determining module includes:
the function entry address acquisition unit is used for calling the target code analysis software to analyze the target code to obtain all function names and function entry addresses corresponding to the target code;
and the target entry address acquisition unit is used for calling the target code analysis software to acquire the target function entry address corresponding to the target function name.
Optionally, the simulation result obtaining module includes:
the function library function loading unit is used for loading the function library function corresponding to the function library function name through the instruction simulator;
a function address judging unit, configured to judge whether a destination address of the jump instruction is a destination function entry address in the function address information correspondence table in a process of performing decoding analysis by the instruction simulator;
a function library function jump unit, configured to jump to the function library function according to a function library function corresponding to the jump instruction in a function address information table when a destination address of the jump instruction is the destination function entry address;
and the simulation result acquisition unit is used for reading data of the relevant register required by the current function library function execution and transmitting the data into the function library function for function simulation so as to obtain a simulation result.
Optionally, the method further comprises:
and the common processing unit is used for processing according to the common jump instruction set function when the destination address of the jump instruction is a non-target function entry address.
Optionally, the method further comprises:
the simulation result storage module is used for storing the simulation result into a register or a memory;
the operation state setting module is used for setting the current operation state of the jump instruction;
and the subsequent simulation performing module is used for returning to the address of the next instruction of the target code function through the instruction simulator and continuing to perform subsequent simulation.
Compared with the prior art, the invention has the advantages that:
according to the embodiment of the invention, the entry addresses of a complex algorithm function and an external function library function in a target code are obtained through target code analysis software; then the simulator judges the current operation instruction in the simulation process, judges whether the instruction is the instruction of jumping to the complex algorithm of the target code or the function entry address of the external function library, if not, the simulator simulates the general instruction; if yes, the same function simulation in the object code is completed by using the corresponding function library. And setting a general register, a state register, a memory, an operation period and the like according to the simulation result. After the current instruction function simulation is finished, the simulator can jump to the next instruction position of the simulated function and continue to perform subsequent simulation, so that the function of simulating the target code function by using the function library is completed, the problems of low simulation complex algorithm efficiency and poor calculation result precision in the debugging and testing processes of the instruction set simulator are solved, and the problem that the target code cannot be analyzed when an external library function is dynamically called is solved.
Drawings
FIG. 1 is a flowchart illustrating steps of a method for simulating by a functional library of an instruction set simulator according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a structure of an apparatus for simulating a function library by an instruction set simulator according to an embodiment of the present invention.
Detailed Description
Example one
Referring to fig. 1, a flowchart illustrating steps of a method for simulating by using a function library by an instruction set simulator according to an embodiment of the present invention is shown, and as shown in fig. 1, the method for simulating by using a function library by an instruction set simulator may specifically include the following steps:
step 101: and acquiring the function name of the target code needing to be simulated by using a function library in the target code and the function name of the function library corresponding to the function name of the target code.
In the embodiment of the invention, the name of the object code function refers to the name of the object code function which needs to be simulated by using the function library.
The function name of the function library refers to the function name matched with the function name of the target code in the function library.
When the function of the object code needs to be simulated, firstly, a user needs to specify a function name needing to be simulated by using a function library and a function name of the function library corresponding to the function name in the object code. The target code analysis software stores the function name to be simulated by using the function library and the function name of the function library corresponding to the function name according to the configuration of a user, and specifically, the user can read configuration information by the target code analysis software in a mode of writing a configuration file. The user can call the function interface to send the configuration information to the target code analysis software, then the target code analysis software obtains the user configuration information, and stores the function name which needs to be simulated by using the function library. The function name information is stored in the form of a character string.
After the function name of the object code that needs to be simulated by the function library and the function name of the function library corresponding to the function name of the object code are obtained, step 102 is executed.
Step 102: and calling target code analysis software to analyze the target code and determining a target function entry address corresponding to the target code function name.
After the function name of the target code which needs to be simulated by using the function library and the function name of the function library corresponding to the function name of the target code are obtained, target code analysis software can be called to analyze the target code so as to determine the entry address of the target function corresponding to the function name of the target code, and the following specific implementation mode can be specifically combined for detailed description.
In a specific implementation manner of the present invention, the step 102 may include:
substep A1: calling the target code analysis software to analyze the target code to obtain all function names and function entry addresses corresponding to the target code;
substep A2: and calling the target code analysis software to obtain a target function entry address corresponding to the target function name.
In the embodiment of the present invention, after the target code function name that needs to be simulated by using the function library in the target code is obtained, the target code may be parsed by using target code parsing software. And (3) acquiring all function names of the target code and function entry addresses corresponding to the function names, and extracting the function names of the target code, the entry addresses of the target code function and the function names of the function library by the target code analysis software according to the function names configured by the user. And after the target code analysis software is called to analyze the target code and the target function entry address corresponding to the target code function name is determined, executing step 103.
Step 103: and generating a function address information corresponding table according to the target code function name and the target function entry address, and sending the function address information corresponding table to an instruction simulator.
After determining the target function entry address corresponding to the target function name, generating a function address information correspondence table according to the target function name and the target function entry address, and sending the function address information correspondence table to the instruction simulator, specifically, forming a function address information correspondence table by target code analysis software according to the target function name and the target function entry address. The form of the function address information correspondence table is shown in table 1 below:
table 1:
Figure BDA0002790932460000061
after the function address information mapping table is generated, the function address information mapping table may be mapped by the target code analysis software through the data transmission interface, and then step 104 is performed.
Step 104: and simulating by using the function library function through the instruction simulator according to the function library function name to obtain a simulation result.
After the function address information mapping table is sent to the instruction simulator, the instruction simulator may perform simulation by using the function library function according to the function library function name to obtain a simulation result, and specifically, the detailed description may be described in conjunction with the following specific implementation manner.
In another specific implementation of the present invention, the step 104 may include:
substep B1: loading a function library function corresponding to the function library function name through the instruction simulator;
substep B2: judging whether the destination address of the jump instruction is the target function entry address in the function address information corresponding table or not in the process of decoding and analyzing by the instruction simulator;
substep B3: under the condition that the destination address of the jump instruction is the entry address of the target function, jumping to the function library function according to the function library function corresponding to the jump instruction in a function address information table;
substep B4: and reading data of a relevant register required by the current function library function execution, and transmitting the data into the function library function for function simulation to obtain a simulation result.
In the embodiment of the invention, after the instruction simulator receives the function address information corresponding table, the information is stored and maintained for query during simulation.
STEP 1: simulation using a library of functions
(1) And when the simulator is initialized, the function address information corresponding table sent by the instruction analysis software is received and stored.
(2) And the simulator loads the function library, acquires the function entry address of the function library according to the function address information corresponding table and skips to the function library function when the function library is simulated.
(3) The simulator carries out initialization loading on the target code, and code sections of the target code are decoded and analyzed according to the instruction set rules.
(4) The simulator decodes and analyzes the instructions one by one, and judges whether the current instruction is a jump instruction or not in the analysis process. Because the jump behavior of the function is to point the program pointer to the function entry address via a jump instruction. So when a jump instruction is encountered, there is a possibility here of a function jump. And if the instruction is a non-jump instruction, continuing to analyze the instruction downwards.
(5) And if the current instruction is a jump instruction, analyzing the jump destination address according to the instruction set rule. And judging whether the jump destination address of the instruction is the address in the function address information table. If not, processing is performed according to a general jump instruction set function.
(6) If the current jump instruction is in the function address information corresponding table, marking the jump instruction and recording the entry address of the corresponding function library function according to the function address information table for jumping to the function in the corresponding function library.
(7) Some simulators use dynamic decoding technology, and dynamic decoding is performed in the simulation operation process. The step described in (4) is performed in the dynamic decoding process.
(8) The simulator begins to run the instruction set piece by piece during the simulation run. When the jump instruction is operated, whether the function library is utilized for simulation is judged according to the mark during decoding. If not, simulation is carried out according to the instruction set function.
(9) If the instruction needs to be simulated by the function library, the entry address of the corresponding function library function is read.
(10) And jumping to the function library function according to the entry address of the function library function.
(11) And acquiring data of a state register, a general register and a memory required by executing the target code function according to the analysis rule, recording the data and using the data for the function library function to perform function simulation.
(12) And recording the register number or the memory address for storing the simulation result of the functional library according to the instruction set rule.
(13) And the function library function carries out simulation operation, the item-by-item simulation of an instruction set is abandoned, the same function as the target code function is completed by utilizing an efficient, targeted and professional algorithm, and the accuracy of the data precision is ensured.
STEP 2: simulation results and status settings
(1) And after the simulation of the function library is finished, setting the simulation result to a corresponding register or a corresponding memory.
(2) And setting the running state according to the instruction set rule.
(3) The simulator returns to the position of the next instruction set of the original target code function and continues to simulate backwards.
According to the three steps, the method for simulating the instruction set simulator by using the function library can be realized.
Example two
Referring to fig. 2, a schematic structural diagram of an apparatus for simulating by using a function library by an instruction set simulator according to an embodiment of the present invention is shown, and as shown in fig. 2, the apparatus for simulating by using a function library by an instruction set simulator may specifically include the following modules:
the target function name obtaining module 210 is configured to obtain a function name of a target code that needs to be simulated by using a function library in the target code, and a function name of the function library corresponding to the function name of the target code;
a target entry address determining module 220, configured to invoke target code parsing software to parse the target code, and determine a target function entry address corresponding to the target code function name;
a function address mapping table generating module 230, configured to generate a function address information mapping table according to the target code function name and the target function entry address, and send the function address information mapping table to the instruction simulator;
and a simulation result obtaining module 240, configured to perform simulation by using the function library function according to the function library function name through the instruction simulator, so as to obtain a simulation result.
Optionally, the target entry address determining module includes:
the function entry address acquisition unit is used for calling the target code analysis software to analyze the target code to obtain all function names and function entry addresses corresponding to the target code;
and the target entry address acquisition unit is used for calling the target code analysis software to acquire the target function entry address corresponding to the target function name.
Optionally, the simulation result obtaining module includes:
the function library function loading unit is used for loading the function library function corresponding to the function library function name through the instruction simulator;
a function address judging unit, configured to judge whether a destination address of the jump instruction is a destination function entry address in the function address information correspondence table in a process of performing decoding analysis by the instruction simulator;
a function library function jump unit, configured to jump to the function library function according to a function library function corresponding to the jump instruction in a function address information table when a destination address of the jump instruction is the destination function entry address;
and the simulation result acquisition unit is used for reading data of the relevant register required by the current function library function execution and transmitting the data into the function library function for function simulation so as to obtain a simulation result.
Optionally, the method further comprises:
and the common processing unit is used for processing according to the common jump instruction set function when the destination address of the jump instruction is a non-target function entry address.
Optionally, the method further comprises:
the simulation result storage module is used for storing the simulation result into a register or a memory;
the operation state setting module is used for setting the current operation state of the jump instruction;
and the subsequent simulation performing module is used for returning to the address of the next instruction of the target code function through the instruction simulator and continuing to perform subsequent simulation.
Those skilled in the art will appreciate that those matters not described in detail in the present specification are well known in the art.

Claims (10)

1. A method for an instruction set simulator to simulate using a function library, comprising:
acquiring a function name of an object code which needs to be simulated by using a function library in the object code and a function name of the function library corresponding to the function name of the object code;
calling target code analysis software to analyze the target code and determining a target function entry address corresponding to the target code function name;
generating a function address information corresponding table according to the target code function name and the target function entry address, and sending the function address information corresponding table to an instruction simulator;
and simulating by using the function library function through the instruction simulator according to the function library function name to obtain a simulation result.
2. The method of claim 1, wherein said invoking object code parsing software to parse the object code to determine the target function entry address corresponding to the object code function name comprises:
calling the target code analysis software to analyze the target code to obtain all function names and function entry addresses corresponding to the target code;
and calling the target code analysis software to obtain a target function entry address corresponding to the target function name.
3. The method of claim 1, wherein simulating with a function library function according to the function library function name by the instruction simulator to obtain a simulation result comprises:
loading a function library function corresponding to the function library function name through the instruction simulator;
judging whether the destination address of the jump instruction is the target function entry address in the function address information corresponding table or not in the process of decoding and analyzing by the instruction simulator;
under the condition that the destination address of the jump instruction is the entry address of the target function, jumping to the function library function according to the function library function corresponding to the jump instruction in a function address information table;
and reading data of a relevant register required by the current function library function execution, and transmitting the data into the function library function for function simulation to obtain a simulation result.
4. The method as claimed in claim 3, wherein after said determining whether the destination address of the jump instruction is the destination function entry address in the function address information mapping table, further comprising:
and when the destination address of the jump instruction is a non-target function entry address, processing according to a common jump instruction set function.
5. The method of claim 1, further comprising, after said simulating by said instruction simulator with a function library function according to said function library function name to obtain a simulation result:
storing the simulation result into a register or a memory;
setting the current running state of the jump instruction;
and returning to the address of the next instruction of the target code function through the instruction simulator, and continuing to perform subsequent simulation.
6. An apparatus for an instruction set simulator to simulate using a function library, comprising:
the target function name acquisition module is used for acquiring a function name of a target code which needs to be simulated by using a function library in the target code and a function name of the function library corresponding to the function name of the target code;
the target entry address determining module is used for calling target code analysis software to analyze the target code and determining a target function entry address corresponding to the function name of the target code;
the function address corresponding table generating module is used for generating a function address information corresponding table according to the target code function name and the target function entry address and sending the function address information corresponding table to the instruction simulator;
and the simulation result acquisition module is used for simulating by using the function library function through the instruction simulator according to the function library function name so as to obtain a simulation result.
7. The apparatus of claim 6, wherein the target entry address determining module comprises:
the function entry address acquisition unit is used for calling the target code analysis software to analyze the target code to obtain all function names and function entry addresses corresponding to the target code;
and the target entry address acquisition unit is used for calling the target code analysis software to acquire the target function entry address corresponding to the target function name.
8. The apparatus of claim 6, wherein the simulation result obtaining module comprises:
the function library function loading unit is used for loading the function library function corresponding to the function library function name through the instruction simulator;
a function address judging unit, configured to judge whether a destination address of the jump instruction is a destination function entry address in the function address information correspondence table in a process of performing decoding analysis by the instruction simulator;
a function library function jump unit, configured to jump to the function library function according to a function library function corresponding to the jump instruction in a function address information table when a destination address of the jump instruction is the destination function entry address;
and the simulation result acquisition unit is used for reading data of the relevant register required by the current function library function execution and transmitting the data into the function library function for function simulation so as to obtain a simulation result.
9. The apparatus of claim 8, further comprising:
and the common processing unit is used for processing according to the common jump instruction set function when the destination address of the jump instruction is a non-target function entry address.
10. The apparatus of claim 6, further comprising:
the simulation result storage module is used for storing the simulation result into a register or a memory;
the operation state setting module is used for setting the current operation state of the jump instruction;
and the subsequent simulation performing module is used for returning to the address of the next instruction of the target code function through the instruction simulator and continuing to perform subsequent simulation.
CN202011314585.6A 2020-11-20 2020-11-20 Method and device for simulating instruction set simulator by utilizing function library Active CN112380133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011314585.6A CN112380133B (en) 2020-11-20 2020-11-20 Method and device for simulating instruction set simulator by utilizing function library

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011314585.6A CN112380133B (en) 2020-11-20 2020-11-20 Method and device for simulating instruction set simulator by utilizing function library

Publications (2)

Publication Number Publication Date
CN112380133A true CN112380133A (en) 2021-02-19
CN112380133B CN112380133B (en) 2024-05-14

Family

ID=74587211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011314585.6A Active CN112380133B (en) 2020-11-20 2020-11-20 Method and device for simulating instruction set simulator by utilizing function library

Country Status (1)

Country Link
CN (1) CN112380133B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112989740A (en) * 2021-04-23 2021-06-18 北京欣博电子科技有限公司 Simulation method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020183997A1 (en) * 2001-03-03 2002-12-05 Powell Edward W. Apparatus and method for specifying the configuration of mixed-language simulation models
EP1943589A2 (en) * 2005-11-04 2008-07-16 Inchron GmbH Method for generating a simulation program which can be executed on a host computer
CN102789418A (en) * 2012-06-27 2012-11-21 北京大学深圳研究生院 Device and method for generating functional simulation model of processor, and functional verification method
CN106557352A (en) * 2016-10-17 2017-04-05 北京轩宇信息技术有限公司 A kind of method for realizing the two-way execution of instruction set simulator forward and reverse
CN108132876A (en) * 2017-12-07 2018-06-08 中国航发控制系统研究所 A kind of embedded software object code unit test method based on injection mode
CN111813672A (en) * 2020-07-03 2020-10-23 北京计算机技术及应用研究所 Non-invasive coverage rate statistical method for various processor architectures

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020183997A1 (en) * 2001-03-03 2002-12-05 Powell Edward W. Apparatus and method for specifying the configuration of mixed-language simulation models
EP1943589A2 (en) * 2005-11-04 2008-07-16 Inchron GmbH Method for generating a simulation program which can be executed on a host computer
CN102789418A (en) * 2012-06-27 2012-11-21 北京大学深圳研究生院 Device and method for generating functional simulation model of processor, and functional verification method
CN106557352A (en) * 2016-10-17 2017-04-05 北京轩宇信息技术有限公司 A kind of method for realizing the two-way execution of instruction set simulator forward and reverse
CN108132876A (en) * 2017-12-07 2018-06-08 中国航发控制系统研究所 A kind of embedded software object code unit test method based on injection mode
CN111813672A (en) * 2020-07-03 2020-10-23 北京计算机技术及应用研究所 Non-invasive coverage rate statistical method for various processor architectures

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
KEBO ZHANG 等: "A new version of code Java for 3D simulation of the CCA model", 《COMPUTER PHYSICS COMMUNICATIONS》, pages 214 - 215 *
杨芳 等: "嵌入式软件目标码仿真测试平台的研究与设计", 《计算机工程与设计》, pages 4364 - 4367 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112989740A (en) * 2021-04-23 2021-06-18 北京欣博电子科技有限公司 Simulation method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112380133B (en) 2024-05-14

Similar Documents

Publication Publication Date Title
CN109710508B (en) Test method, test device, test apparatus, and computer-readable storage medium
CN109871326B (en) Script recording method and device
US6058493A (en) Logging and reproduction of automated test operations for computing systems
CN106502896B (en) A kind of generation method and device of function test code
CN110704304B (en) Application program testing method and device, storage medium and server
US8271252B2 (en) Automatic verification of device models
US20070061641A1 (en) Apparatus and method for generating test driver
CN111459495A (en) Unit test code file generation method, electronic device and storage medium
CN113065300A (en) Method, system and device for backtracking simulation waveform in chip EDA (electronic design automation) simulation
CN117421217A (en) Automatic software function test method, system, terminal and medium
KR102546424B1 (en) Machine learning data generating apparatus, apparatus and method for analyzing errors in source code
CN111459814A (en) Automatic test case generation method and device and electronic equipment
CN112380133A (en) Method and device for simulating instruction set simulator by using function library
CN112560372B (en) Chip prototype verification method, device, equipment and medium
CN110737900B (en) Webpage function testing method and device, server and computer readable storage medium
CN117787155A (en) Chip testability code dynamic simulation test system and test method
CN115758963A (en) Device, method and system for processing printing information in chip EDA simulation
CN115374017A (en) Method for capturing site during simulation running of executable file and computing equipment
CN113378502B (en) Test method, device, medium and equipment for verifying signal trend code matching
CN108984386A (en) Test method, device and the storage medium of application program search
CN115062571A (en) Dynamic selection method, system, equipment and computer readable storage medium for data area of integrated circuit device
CN112380800A (en) Automatic evaluation online FPGA (field programmable Gate array) experiment platform and related method
CN111474894A (en) Variable target P L C simulation debugging method, storage medium and functional module
CN114781294B (en) Signature comparison method and device in RISC-V CPU verification
EP2782005A1 (en) Verifying state reachability in a statechart model having computer program code embedded therein

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
GR01 Patent grant
GR01 Patent grant