Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Instruction verification method, and instruction verification device

A technology of a verification device and a verification method, applied in the field of data processing, can solve the problems of spending multiple instruction execution time and reducing the efficiency of instruction verification, and achieve the effect of improving the efficiency of instruction verification, eliminating the writing and compiling process, and simplifying the verification process.

Pending Publication Date: 2022-02-11
NEW H3C TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

That is to say, in the prior art, when a certain instruction needs to be verified, it usually takes the execution time of multiple instructions, which will undoubtedly reduce the efficiency of instruction verification

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Instruction verification method, and instruction verification device
  • Instruction verification method, and instruction verification device
  • Instruction verification method, and instruction verification device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is some embodiments of the present invention, but not all of them. Based on the implementation manners in the present invention, all other implementation manners obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

[0033] The instruction verification method provided by this application can be applied to figure 2 shown in the instruction verification device. exist figure 2Among them, the instruction verification device may have a connection relationship with the CPU. In the simulation environment, both the instruction verification device an...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an instruction verification method, and an instruction verification device. The method comprises the following steps: obtaining a machine instruction code, wherein the machine instruction code is generated based on instruction configuration information of the machine instruction code in an instruction configuration file; sending the machine instruction code to an instruction decoder in a CPU, so as to enable the CPU to start to execute instruction processing on the machine instruction code from the instruction decoder, and generating an execution result of the machine instruction code; comparing the execution result of the machine instruction code with a standard result corresponding to the machine instruction code so as to judge whether the machine instruction code is correctly executed by the CPU or not according to a comparison result. According to the technical scheme provided by the invention, the instruction verification efficiency can be improved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to an instruction verification method and an instruction verification device. Background technique [0002] In the process of designing a CPU (Central Processing Unit, central processing unit), the CPU can be used to process each instruction in the instruction set, and by verifying whether the instructions are executed correctly, it can be judged whether the function of the designed CPU is normal. [0003] For example, a reduced instruction set processor (Reduced Instruction Set Computer, RISC) can follow figure 1 The verification flow shown performs instruction verification. exist figure 1 In the process shown, it is first necessary to write a test code in C language or assembly language, and the test code can be compiled into a machine instruction code that can be recognized by a processor through a software compiler. The machine instruction code can be loaded into the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/30
CPCG06F9/30003G06F9/30098G06F9/30145
Inventor 王磊
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products