Verification Method of Processor Random Instruction Multiplexing

A verification method and processor technology, applied in the direction of instruction analysis, machine execution device, etc., can solve the problems of poor randomness, inability to real-time, instruction PC and address of memory access cannot be determined, etc., to achieve good reusability and randomness Good results

Active Publication Date: 2019-11-15
北京国睿中数科技股份有限公司 +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method has reusability, but the randomness is poor, and it cannot fully cover the various possible states of the processor.
Or use a random instruction environment for testing. Since modern processors have branch prediction and cache, when the previous instruction is not completed, it needs to be pre-fetched and executed in advance. Before the instruction is running, it needs PC and memory access of random instructions. The address cannot be determined. When the processor accesses the same address again, the corresponding instruction may still be in the cache. At this time, if another instruction is randomly generated again, the comparison between the corresponding golden without cache and the processor will be wrong.
Therefore, it is not possible to randomly generate instructions in real time and then send the generated instructions to the processor
So this incentive environment is not suitable for processor verification with cache, and the reusability is poor

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
  • Verification Method of Processor Random Instruction Multiplexing
  • Verification Method of Processor Random Instruction Multiplexing
  • Verification Method of Processor Random Instruction Multiplexing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0031] In describing the present invention, it should be understood that the terms "center", "longitudinal", "transverse", "upper", "lower", "front", "rear", "left", "right", " The orientations or positional relationships indicated by "vertical", "horizontal", "top", "bottom", "inner" and "outer" are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and Simplified descriptions, rather than indicating or implying that the device or element refe...

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 provides a verification method of processor random instruction reusability. The verification method includes: running a reference model and reading a binary iss.vmem instruction file into an associative array dut_mem and iss_mem; when the address, of instructions or the associative array of the reference model does not exist, randomly generating the instructions or data and respectively filling the instructions or data into the dut_mem and the iss_mem; running a processor, reading mem_dut through an external slave memory model, and when a non-existing address is read by the processor, filling in the dut_mem with random instructions continuously; after running of the processor is completed, writing the dut_mem into dut.mem, and storing the address of the dut_mem and corresponding data; reading the dut.mem to execute the next running of the processor. With the method, the instructions and the data that truly needed by the processor can be generated randomly, and good reusability is achieved.

Description

technical field [0001] The invention relates to the technical field of processors, in particular to a verification method for multiplexing random instructions of a processor. Background technique [0002] The processor is the core of the chip, and the correctness of its function is often crucial. In particular, every redesigned or modified processor needs to go through a lot of regression tests, and even multiple tape-outs before it can be actually used in the project. . Therefore, the verification of the processor usually requires a lot of time and human investment. [0003] The traditional incentive is a hand-written C program, and the compiler generates a binary code that the processor can recognize, and the processor reads this binary code to run; or establish a random incentive environment, with a reference model verification environment that is synchronized with the processor Running, data comparison is performed synchronously when the command is submitted. [0004]...

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 Patents(China)
IPC IPC(8): G06F9/30
CPCG06F9/30145
Inventor 张智何国强
Owner 北京国睿中数科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products