CN112380133B - Method and device for simulating instruction set simulator by utilizing function library - Google Patents

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

Info

Publication number
CN112380133B
CN112380133B CN202011314585.6A CN202011314585A CN112380133B CN 112380133 B CN112380133 B CN 112380133B CN 202011314585 A CN202011314585 A CN 202011314585A CN 112380133 B CN112380133 B CN 112380133B
Authority
CN
China
Prior art keywords
function
target
target code
library
instruction
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.)
Active
Application number
CN202011314585.6A
Other languages
Chinese (zh)
Other versions
CN112380133A (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

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 utilizing a function library. The method comprises the following steps: acquiring the function name of the target code, which is required to be simulated by using a function library, in the target code, and the function library function name corresponding to the function name of the target 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 the instruction simulator according to the function library function name by utilizing the function library function so as to obtain a simulation result. The embodiment of the invention solves the problems of low efficiency of simulating complex algorithms and poor accuracy of calculation results in the process of debugging and testing 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 utilizing 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 utilizing a function library.
Background
The embedded instruction set simulator simulation technology is generally used for testing and debugging software, and is an effective means which is indispensable for guaranteeing the reliability of the software. The purpose of using the instruction set simulator for simulation test is to find errors in software, and the purpose of software simulation debugging is to quickly locate the errors. The correctness of the simulation result of the simulator and the speed of the simulation run are important.
Most of the existing instruction set simulators adopt a process of decoding and executing instructions one by one. When the simulation processing mode is used for carrying out complex algorithm operation, decoding and simulation are carried out piece by piece according to the instruction set processing process of the complex algorithm. This emulation mode exposes drawbacks in the face of requiring a large number of high-precision instruction set emulation. The complex algorithm requires a large number of simulation processes of instruction sets, which greatly reduces the simulation efficiency of the simulator if each instruction needs to pass through the processes of decoding and simulation. Simulation of instruction sets may have calculation accuracy errors due to platform differences, 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 can be accumulated continuously due to the fact that precision errors exist in computer simulation floating point instructions, so that a calculation result is affected. The object code software for the emulated test sometimes involves the case of dynamically calling external library functions, which makes it impossible for the instruction set simulator to emulate the external library functions of the object code.
Disclosure of Invention
The invention solves the technical problems that: the method and the device for simulating the instruction set simulator by utilizing the function library are provided for overcoming the defects of the prior art.
In order to solve the above technical problems, an embodiment of the present invention provides a method for simulating an instruction set simulator by using a function library, including:
Acquiring the function name of the target code, which is required to be simulated by using a function library, in the target code, and the function library function name corresponding to the function name of the target 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 the instruction simulator according to the function library function name by utilizing the function library function so as to obtain a simulation result.
Optionally, the calling the target code analysis software analyzes the target code, and determining the 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 the 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 an objective function entry address in the function address information corresponding table in the process of decoding and analyzing by the instruction simulator;
Under the condition that the destination address of the jump instruction is the target function entry address, according to the function library function corresponding to the jump instruction in a function address information table, jumping to the function library function;
And reading the data of the relevant registers required by the execution of the current function library function, and transmitting the data into the function library function to perform function simulation so as 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 the common jump instruction set function.
Optionally, after the simulating by the instruction simulator according to the function library function name by using a 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 the subsequent simulation.
In order to solve the above technical problem, an embodiment of the present invention further provides an apparatus for simulating an instruction set simulator using a function library, including:
the target function name acquisition module is used for acquiring target code function names which need to be simulated by utilizing the function library in the target code and function library function names corresponding to the target code function names;
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 target code function name;
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 carrying out simulation by utilizing 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;
The function address judging unit is used for judging whether the destination address of the jump instruction is an objective function entry address in the function address information corresponding table in the process of decoding and analyzing by the instruction simulator;
The function library function jumping unit is used for jumping to the function library function corresponding to the jump instruction in the function address information table according to the function library function when the destination address of the jump instruction is the target function entry address;
the simulation result obtaining unit is used for reading the data of the related registers required by the execution of the current function library function and transmitting the data into the function library function to perform function simulation so as to obtain a simulation result.
Optionally, the method further comprises:
And the ordinary processing unit is used for processing according to the ordinary 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 running state setting module is used for setting the current running state of the jump instruction;
And the subsequent simulation proceeding module is used for returning to the address of the next instruction of the target code function through the instruction simulator and proceeding with the subsequent simulation.
Compared with the prior art, the invention has the advantages that:
According to the embodiment of the invention, the target code analysis software is used for acquiring the entry addresses of the complex algorithm function and the external function library function in the target code; then the simulator judges the current running instruction in the simulation process, judges whether the current running instruction is an instruction which jumps to a complex algorithm of a target code or a function entry address of an external function library, and if not, carries out general instruction simulation; if yes, the same function simulation in the target 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 simulation of the current instruction function is finished, the simulator jumps to the next instruction position of the simulated function, and the subsequent simulation is continued, 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 process of debugging and testing of the instruction set simulator are solved, and the problem that the target code cannot be analyzed when the external library function is dynamically called is solved.
Drawings
FIG. 1 is a flowchart illustrating a method for an instruction set simulator to simulate a function library according to an embodiment of the present invention;
Fig. 2 is a schematic diagram of a structure of an apparatus for simulating an instruction set simulator by using a function library according to an embodiment of the present invention.
Detailed Description
Example 1
Referring to fig. 1, a flowchart illustrating steps of a method for simulating an instruction set simulator by using a function library according to an embodiment of the present invention is shown, where, as shown in fig. 1, the method for simulating an instruction set simulator by using a function library may specifically include the following steps:
Step 101: and obtaining the function names of the target codes, which are required to be simulated by using the function library, and the function names of the function library corresponding to the function names of the target codes.
In the embodiment of the invention, the name of the target code function refers to the name of the target code function which needs to be simulated by using a function library.
The function library function name refers to the function name matched with the target code function name in the function library.
When the function simulation of the target code is needed, the user is required to specify 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. The target code analysis software stores function names which need to be simulated by using the function library and function names of the function library corresponding to the function names according to user configuration, and specifically, the user can enable the target code analysis software to read configuration information in a mode of writing configuration files. The user can also call the function interface to send the configuration information to the target code analysis software, and 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 names of the target codes and the function names of the function libraries corresponding to the function names of the target codes, which are required to be simulated by using the function libraries, 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 target code function names which need to be simulated by utilizing the function library and the function library function names corresponding to the target code function names are obtained in the target codes, target code analysis software can be called to analyze the target codes so as to determine target function entry addresses corresponding to the target code function names, and the target code function names can be specifically described in detail in combination with the following specific implementation modes.
In a specific implementation 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 the target function entry address corresponding to the target function name.
In the embodiment of the invention, after the target code function name which is required to be simulated by utilizing the function library is obtained in the target code, the target code can be analyzed by using target code analysis software. And (3) comparing all function names of the target codes with the function entry addresses corresponding to the function names, and extracting the function names of the target codes, the entry addresses of the target codes and the function names of the function library by the target code analysis software according to the function names configured by the user. 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, step 103 is executed.
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 code function entry address corresponding to the target code function name, a function address information correspondence table may be generated according to the target code function name and the target function entry address, and the function address information correspondence table may be sent to the instruction simulator, and specifically, the target code analysis software may form the function address information correspondence table 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:
after the function address information correspondence table is generated, the function address information correspondence table may be passed through the data transmission interface by the object code parsing software, and then step 104 is performed.
Step 104: and simulating by the instruction simulator according to the function library function name by utilizing the function library function so as to obtain a simulation result.
After the function address information correspondence table is sent to the instruction simulator, the instruction simulator can simulate by using the function library functions according to the function library function names to obtain simulation results, and specifically, the following detailed description can be made in connection 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 an objective function entry address in the function address information corresponding table 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 target function entry address, according to the function library function corresponding to the jump instruction in a function address information table, jumping to the function library function;
Substep B4: and reading the data of the relevant registers required by the execution of the current function library function, and transmitting the data into the function library function to perform function simulation so as to obtain a simulation result.
In the embodiment of the invention, after the instruction simulator receives the function address information corresponding table, information is stored and maintained for inquiring during simulation.
STEP1: simulation using function library
(1) And when the simulator is initialized, the function address information corresponding table sent by the instruction analysis software is received and stored.
(2) The simulator loads the function library, and obtains the function entry address of the function library according to the function address information corresponding table, and the function entry address is used for jumping to the function library function during function library simulation.
(3) The simulator is initialized to load the target code, and the code segments of the target code are decoded and analyzed according to the instruction set rule.
(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 by a jump instruction. So when a jump instruction is encountered, there is a possibility that a function jumps here. If the instruction is a non-jump instruction, continuing to analyze the instruction downwards.
(5) If the current instruction is a jump instruction, the destination address of the jump is resolved according to the instruction set rule. And judging whether the jump destination address of the instruction is an address in the function address information table. If not, processing is performed according to the 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, and the jump instruction is used for jumping to the function in the corresponding function library.
(7) Some simulators employ dynamic decoding techniques, which perform dynamic decoding during the simulation operation. The steps described in (4) are performed in the dynamic decoding process.
(8) The simulator starts to run the instruction set one by one in the simulation running process. When the jump instruction is operated, whether the function library is utilized for simulation is judged according to the mark during decoding. If not, simulating according to the instruction set function.
(9) If the instruction needs to utilize the function library emulation, the entry address of the corresponding function library function is read.
(10) And according to the entry address of the function library function, jumping to 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 performing functional simulation on the function library function.
(12) According to the instruction set rule, a register number or a memory address for storing the simulation result of the function library is recorded.
(13) The function library functions are simulated, the instruction set is abandoned, and the functions identical to the target code functions are completed by utilizing an efficient, targeted and professional algorithm, so that the accuracy of the data precision is ensured.
STEP2: simulation results and state settings
(1) After the function library simulation is finished, the simulation result is set to a corresponding register or 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 utilizing the function library can be realized.
Example two
Referring to fig. 2, a schematic structural diagram of an apparatus for simulating an instruction set simulator by using a function library according to an embodiment of the present invention is shown, and as shown in fig. 2, the apparatus for simulating an instruction set simulator by using a function library may specifically include the following modules:
the objective function name acquisition module 210 is configured to acquire an objective code function name in an objective code, which needs to be simulated by using a function library, and a function library function name corresponding to the objective code function name;
The target entry address determining module 220 is configured to invoke target code analysis software to analyze the target code, and determine a target function entry address corresponding to the target code function name;
A function address correspondence table generating module 230, configured to generate a function address information correspondence table according to the object code function name and the object function entry address, and send the function address information correspondence table to an instruction simulator;
And the simulation result obtaining module 240 is configured to perform simulation by using the function library function according to the function library function name by using 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;
The function address judging unit is used for judging whether the destination address of the jump instruction is an objective function entry address in the function address information corresponding table in the process of decoding and analyzing by the instruction simulator;
The function library function jumping unit is used for jumping to the function library function corresponding to the jump instruction in the function address information table according to the function library function when the destination address of the jump instruction is the target function entry address;
the simulation result obtaining unit is used for reading the data of the related registers required by the execution of the current function library function and transmitting the data into the function library function to perform function simulation so as to obtain a simulation result.
Optionally, the method further comprises:
And the ordinary processing unit is used for processing according to the ordinary 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 running state setting module is used for setting the current running state of the jump instruction;
And the subsequent simulation proceeding module is used for returning to the address of the next instruction of the target code function through the instruction simulator and proceeding with the subsequent simulation.
What is not described in detail in the present specification is a well known technology to those skilled in the art.

Claims (6)

1. A method for instruction set simulator to utilize function library emulation, comprising:
Acquiring the function name of the target code, which is required to be simulated by using a function library, in the target code, and the function library function name corresponding to the function name of the target 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;
simulating by the instruction simulator according to the function library function name by utilizing a function library function so as to obtain a simulation result;
The step of simulating by the instruction simulator according to the function library function name by using the function library function to obtain a simulation result comprises the following steps:
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 an objective function entry address in the function address information corresponding table in the process of decoding and analyzing by the instruction simulator;
Under the condition that the destination address of the jump instruction is the target function entry address, according to the function library function corresponding to the jump instruction in a function address information table, jumping to the function library function;
Reading data of a relevant register required by the execution of the current function library function, and transmitting the data into the function library function to perform function simulation so as to obtain a simulation result;
after the step of judging whether the destination address of the jump instruction is the target function entry address in the function address information correspondence table, the method further comprises:
And when the destination address of the jump instruction is a non-target function entry address, processing according to the common jump instruction set function.
2. The method of claim 1, wherein the calling the object code parsing software parses the object code to determine an object function entry address corresponding to the object code function name, comprising:
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 code function name.
3. The method according to claim 1, further comprising, after said simulating by said instruction simulator using 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 the subsequent simulation.
4. An apparatus for simulating an instruction set simulator using a function library, comprising:
the target function name acquisition module is used for acquiring target code function names which need to be simulated by utilizing the function library in the target code and function library function names corresponding to the target code function names;
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 target code function name;
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;
The simulation result acquisition module is used for carrying out simulation by utilizing the function library function according to the function library function name through the instruction simulator so as to obtain a simulation result;
the simulation result acquisition 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;
The function address judging unit is used for judging whether the destination address of the jump instruction is an objective function entry address in the function address information corresponding table in the process of decoding and analyzing by the instruction simulator;
The function library function jumping unit is used for jumping to the function library function corresponding to the jump instruction in the function address information table according to the function library function when the destination address of the jump instruction is the target function entry address;
the simulation result acquisition unit is used for reading the data of the related registers required by the execution of the current function library function and transmitting the data into the function library function to perform function simulation so as to obtain a simulation result;
Further comprises:
And the ordinary processing unit is used for processing according to the ordinary jump instruction set function when the destination address of the jump instruction is a non-target function entry address.
5. The apparatus of claim 4, wherein the target entry address determination 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 code function name.
6. The apparatus as recited in claim 4, further comprising:
the simulation result storage module is used for storing the simulation result into a register or a memory;
the running state setting module is used for setting the current running state of the jump instruction;
And the subsequent simulation proceeding module is used for returning to the address of the next instruction of the target code function through the instruction simulator and proceeding with the 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 CN112380133A (en) 2021-02-19
CN112380133B true 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)

Families Citing this family (1)

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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* 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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
A new version of code Java for 3D simulation of the CCA model;Kebo Zhang 等;《Computer Physics Communications》;第214-215页 *
嵌入式软件目标码仿真测试平台的研究与设计;杨芳 等;《计算机工程与设计》;第4364-4367页 *

Also Published As

Publication number Publication date
CN112380133A (en) 2021-02-19

Similar Documents

Publication Publication Date Title
CN109871326B (en) Script recording method and device
US9465718B2 (en) Filter generation for load testing managed environments
CN110632499B (en) Test vector generation method based on test object and storage medium
US20070061641A1 (en) Apparatus and method for generating test driver
US8271252B2 (en) Automatic verification of device models
CN113065300A (en) Method, system and device for backtracking simulation waveform in chip EDA (electronic design automation) simulation
CN113094252B (en) Test case generation method and device, computer equipment and storage medium
CN107463485B (en) Method stack-based log acquisition method and device and terminal
CN112380133B (en) Method and device for simulating instruction set simulator by utilizing function library
CN115684896A (en) Chip testability design test method, test platform, and generation method and device thereof
CN111797006A (en) Method, device and equipment for testing thread and storage medium
KR20180129623A (en) Apparatus for statically analyzing assembly code including assoxiated multi files
CN112560372B (en) Chip prototype verification method, device, equipment and medium
CN110737900B (en) Webpage function testing method and device, server and computer readable storage medium
CN109783837A (en) Emulator, analogue system, emulation mode and simulated program
CN112860587A (en) UI automatic test method and device
CN115656791B (en) Test method and test platform for chip testability design
CN115684895B (en) Chip testability design test method, test platform, and generation method and device thereof
CN109101355B (en) Processor debugging method for extracting error site characteristic test excitation
CN114428642B (en) Random instruction generation environment based on novel processor architecture
CN115758963A (en) Device, method and system for processing printing information in chip EDA simulation
CN115827410A (en) Test method and device of performance evaluation tool, test equipment and storage medium
CN112363875B (en) System defect detection method, device, electronic device and storage medium
CN110096888B (en) Method and system for accelerating verification and analyzing SMM potential safety hazard
CN114280459A (en) Test method and device for integrated circuit

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