An automatic instruction string generating method for verifying operations of a pipeline control mechanism of a processor, comprising the steps of:
- inputting specification information about a pipeline process of an instruction to be executed by the processor, the specification information including time for the processor to access hardware resources for the instruction;
- listing, according to the specification information, states in which hazards are caused among a plurality of instructions in time order;
- and
- generating an instruction string corresponding to each of the states listed by said listing step.