The invention relates to the technical field of
processor design and test, and discloses an
instruction sequence generation method for verifying
floating point operation of a processor, which comprises the following steps: constructing a
floating point test coverage model, generating a
floating point test
database, and constructing a basic RISC-V
instruction sequence generator; adding a register updating mechanism bound with a memory on the basis of the basic instruction RISC-V sequence generator, and generating initialized data of the memory; and injecting the generated instruction
machine code and the memory initialization data into the memory of the processor to be verified for
simulation, and comparing the execution track obtained by
simulation with the execution track of the
instruction set simulator to find potential errors in the processor. According to the method, an efficient coverage model is constructed to generate representative floating point
test data, a floating
point data path of the processor can be verified more comprehensively, the defects of an existing method in the aspect of floating points in the RISC-V instruction
generation process are overcome, and potential design defects in the processor are found.