WO2005069175A1 - 検証装置および検証方法 - Google Patents

検証装置および検証方法 Download PDF

Info

Publication number
WO2005069175A1
WO2005069175A1 PCT/JP2005/000528 JP2005000528W WO2005069175A1 WO 2005069175 A1 WO2005069175 A1 WO 2005069175A1 JP 2005000528 W JP2005000528 W JP 2005000528W WO 2005069175 A1 WO2005069175 A1 WO 2005069175A1
Authority
WO
WIPO (PCT)
Prior art keywords
instruction
data
reference data
expected value
verification
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.)
Ceased
Application number
PCT/JP2005/000528
Other languages
English (en)
French (fr)
Japanese (ja)
Inventor
Kei Yoneda
Yoichiro Mae
Hisato Yoshida
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to US10/586,620 priority Critical patent/US20080221861A1/en
Publication of WO2005069175A1 publication Critical patent/WO2005069175A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00—Error detection; Error correction; Monitoring
    • G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26—Functional testing
    • G06F11/261—Functional testing by simulating additional hardware, e.g. fault simulation
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00—Computer-aided design [CAD]
    • G06F30/30—Circuit design
    • G06F30/32—Circuit design at the digital level
    • G06F30/33—Design verification, e.g. functional simulation or model checking

Definitions

  • the present invention relates to verification of a semiconductor integrated circuit on a computer.
  • Patent Document 1 Patent Publication No. 3054802
  • the execution result of the division may not be guaranteed (it may not be guaranteed) depending on the specifications of the processor.
  • the non-guaranteed here means that the execution result of the division instruction is correct, and the operation result (quotient or remainder) as the division is not stored. is there.
  • an execution result is referred to as an undefined result. Note that, even if a pseudo model of a processor that outputs an expected value is used, the execution result when the division by zero is executed is generally an undefined result, like true circuit data.
  • Instructions whose execution results may be undefined depending on the data referred to by the instructions executed by the processor as described above are not limited to zero division.
  • the arithmetic unit of a processor has restrictions on input data values, and if this limit is violated, the execution result of the operation is not guaranteed. In some cases. Even in such a case, it is not unlikely that the execution result will be undefined depending on the verification method.
  • a division instruction is an instruction form in which the register number used as a divisor is simply specified in the operand (operation target item), and an instruction form in which the divisor value itself is specified by an immediate value is used. Not always. In such a case, the division by zero occurs depending on the register value when the division instruction is executed, and does not depend on the register value itself when the division instruction is supplied.
  • the undefined result is a parameter that is difficult to predict at the time of supplying the instruction to the processor, and guarantees that the divisor is not zero at the time of supplying the division instruction. It is difficult.
  • Patent Document 1 described above, a test pattern in which an error occurs is registered in advance.
  • the occurrence of an undefined result is predicted using supplied instructions, reference data referred to by the instructions, and data constraint conditions of the reference data. Then, when an undefined result occurs, the simulation operation is stopped.
  • an instruction is given to the expected value generation operation, and when the execution result (expected value) becomes an undefined result, the expected value generation operation is returned to the state before the instruction is executed, and the verification is performed. Instruction execution of the target simulation operation is stopped.
  • the occurrence of an undefined result is predicted using the supplied instruction, the reference data referred to by the instruction, and the data constraint condition of the reference data. Causes the instruction to be replaced.
  • the occurrence of an undefined result is predicted using a supplied instruction, reference data referred to by the instruction, and a data constraint condition of the reference data. Then, when it is predicted that an undefined result will occur, the reference data specified in the operand of the instruction is stored! The storage device is replaced with another storage device in which data satisfying the data constraint condition of the reference data is stored.
  • an undefined result is generated by using a supplied instruction, reference data referred to by the instruction, and data restriction information in which data restriction conditions of the reference data are registered. Predict. Then, when an undefined result occurs, control is performed such that an instruction to update the storage device storing the reference data to a value that satisfies the data constraint condition is executed first.
  • the storage device storing the reference data is updated to a value that satisfies the data constraint condition of the reference data.
  • the occurrence of an undefined result is grasped using the supplied instruction, the reference data referred to by the instruction, and the data constraint condition of the reference data.
  • the storage device storing the execution result is updated to an appropriate value.
  • the expected value may be updated to the same value as the simulation result, or the simulation result may be updated to the same value as the expected value. Therefore, the function of updating the execution result may be provided in the simulation device to be verified or may be provided in the expected value generation device.
  • the occurrence of an undefined result is determined using a supplied instruction, reference data referred to by the instruction, and data constraint information in which data constraint conditions of the reference data are registered.
  • the instruction generation device for generating the instruction based on the instruction generation constraint is forcibly issued an instruction for updating the storage device storing the undefined result.
  • control is performed so as to newly create a constraint for forcibly issuing an instruction for updating the storage device storing the undefined result to the instruction generation device.
  • a reference data candidate that can be referenced by an instruction having a data constraint condition is used by using a reference data value of an instruction having a data constraint condition as reference data. Decision and use it as instruction issue restriction. Then, the instruction generation device generates an instruction based on the instruction issuance constraint created in this manner.
  • the value of reference data referred to when executing an instruction satisfies a data constraint condition. It is possible to prevent a problem that a pseudo error occurs when comparing values.
  • FIG. 1 is a block diagram showing a configuration of a verification device in which the present invention is implemented.
  • FIG. 2 is a flowchart showing a verification method using a conventional configuration of a verification device of the present invention.
  • FIG. 3 is a block diagram showing a configuration of a verification device according to the first embodiment of the present invention.
  • FIG. 4 is a diagram showing an example of a data constraint condition.
  • FIG. 5 is a flowchart showing the entire verification method by the verification device of the first embodiment.
  • FIG. 6 is a flowchart showing a main part of a verification method by the verification device according to the first embodiment.
  • FIG. 7 is a block diagram showing a configuration of a verification device according to a second embodiment of the present invention.
  • FIG. 8 is a flowchart showing the entire verification method by the verification device according to the second embodiment.
  • FIG. 9 is a flowchart showing a main part of a verification method by the verification device of the second embodiment.
  • FIG. 10 is a block diagram showing a configuration of a verification device according to a third embodiment of the present invention.
  • FIG. 11 is a block diagram showing a main part of a verification method by a verification device according to a third embodiment.
  • FIG. 12 is a block diagram showing a configuration of a verification device according to a fourth embodiment of the present invention.
  • FIG. 13 is a flowchart showing a main part of a verification method by a verification device according to a fourth embodiment.
  • FIG. 14 is a flowchart showing still another main part of the verification method by the verification device of the fourth embodiment.
  • FIG. 15 is a block diagram showing a configuration of a verification device according to a fifth embodiment of the present invention.
  • FIG. 16 is a flowchart showing a main part of a verification method by a verification device according to a fifth embodiment.
  • FIG. 17 is a flowchart showing still another main part of the verification method by the verification device of the fifth embodiment.
  • FIG. 18 is a block diagram showing a configuration of a verification device according to a sixth embodiment of the present invention.
  • FIG. 19 is a flowchart showing a main part of a verification method by the verification device of the sixth embodiment.
  • FIG. 20 is a block diagram showing a configuration of a verification device according to a seventh embodiment of the present invention.
  • FIG. 21 is a flowchart showing an entire verification method by a verification device according to a seventh embodiment.
  • FIG. 22 is a flowchart showing a main part of a verification method by the verification device of the seventh embodiment.
  • FIG. 23 is a block diagram showing a configuration of a verification device according to an eighth embodiment of the present invention.
  • FIG. 24 is a flowchart showing a main part of a verification method by a verification device according to an eighth embodiment.
  • FIG. 25 is a block diagram showing a configuration of a modification of the eighth embodiment.
  • FIG. 26 is a block diagram showing a configuration of a verification device according to a ninth embodiment of the present invention.
  • FIG. 27 is a flowchart showing an entire verification method by a verification device according to a ninth embodiment.
  • FIG. 28 is a flowchart showing a main part of a verification method by a verification device of a ninth embodiment.
  • FIG. 29 is a block diagram showing a configuration of a modification of the ninth embodiment.
  • FIG. 1 shows the configuration of the verification device 100.
  • the verification device 100 is a verification device main body.
  • an extraction device 3 that extracts data information inside the verification device body 2
  • an execution control device 4 that receives data information from the extraction device 3 and controls the simulation so as to suppress the influence of undefined results.
  • the verification device main body 2 includes a circuit data unit 5 including a processor, an instruction supply device 6 that outputs an instruction executable by the processor included in the circuit data unit 5, and an instruction supplied from the instruction supply device 6.
  • a simulation device 7 that simulates the expected value with the processor of the circuit data section 5, an expected value generating device 8 that generates an expected value using the instruction, and a comparing device 9 that compares the simulation result with the expected value.
  • the simulation device 7 includes a simulation execution unit 10 for performing a simulation, And a first storage device 11 for storing the result of the race and reference data referred to when executing the instruction.
  • the expected value generation device 8 stores an expected value generation unit 12 that executes an instruction supplied from the instruction supply device 6 to generate an expected value, and stores reference data that the expected value generation unit 12 refers to when executing the instruction. And a second storage device 13 for storing the expected value generated by the expected value generating unit 12.
  • FIG. 2 is a flowchart showing a verification method using the verification device 100.
  • This verification method includes an instruction supply process (S201), a simulation process (S202, S203), an expected value generation process (S204, S205), and a comparison process (S206).
  • the instruction supply process S201 is a process in which the instruction supply device 6 supplies an instruction to the simulation device 7 and the expected value generation device 8.
  • the simulation process (S202, S203) is a process in which the simulation device 7 executes a simulation using the supplied instruction, and stores the simulation result in the first storage device 11.
  • the expected value generation process (S204, S205) is a process in which the expected value generation device 8 obtains the expected value using the supplied instruction and stores the obtained expected value in the second storage device 13.
  • the comparison device 9 reads the simulation result stored in the first storage device 11 and the expected value stored in the second storage device 13 and reads the simulation result. It is the process of comparing the expected value with the expected value.
  • the simulation process differs from the expected value generation process in the following points.
  • the simulation process is a process of generating a simulation result by simulating the circuit data unit 5 described in a model description language such as a hardware description language by the simulation device 7.
  • the expected value generation process is to prepare a pseudo model of the circuit data part 5 and execute the same test pattern as the test pattern given to the circuit data part 5 with the pseudo model to generate the execution result (expected value) Is the process of doing
  • the comparison device 9 stops the simulation and notifies the user of the mismatch of the result. Conversely, if the comparison results match, a command to supply a new command to the simulation device 7 and the expected value generation device 8 is output to the command supply device 6.
  • the instruction supplied by the supply device 6 to the simulation device 7 and the expected value generation device 8 may be command data created by the operator himself and input to the command supply device 6 or randomized in the command supply device 6. Even if the instruction data is generated in! /,.
  • the simulation is continued as long as no mismatch occurs between the simulation result and the expected value.
  • the execution result of the instruction described above is an undefined result
  • the comparison results will be inconsistent in the comparison process.
  • a simulation error is determined in the comparison process, and the simulation operation stops.
  • an instruction that refers to this undefined result is executed in subsequent simulations, the reference data will be different and the execution results will naturally be different from each other, and as a result, the comparison result in the comparison process will be determined to be mismatched Is done. Therefore, the simulation will not continue after the undefined result occurs.
  • FIG. 3 shows the configuration of the verification device 1A according to the first embodiment of the present invention.
  • the configuration of the verification device 1A is basically the same as that of the above-described verification device 100, and the same or similar parts are denoted by the same reference numerals and description thereof will be omitted. However, portions performing the same operation but performing a slightly different operation are distinguished from the verification device 100 by adding an A to the end of the reference numeral.
  • the verification device 1A includes a verification device main body 2A, an extraction device 3A, and an execution control device 4A.
  • the verification device main body 2A basically has the same configuration as the verification device 2 in the verification device 100.
  • the second storage device 13 stores reference data that the expected value generation unit 12 refers to at the time of executing the instruction, and an expected value that is a result of the execution of the instruction by the expected value generation unit 12.
  • the second storage device 13 is configured with a general-purpose register.
  • the extraction device 3A extracts the reference data stored in the second storage device 13 and the instruction output by the instruction supply device 6, and supplies them to the execution control device 4A.
  • the execution control device 4A includes a data constraint information storage unit 20, an instruction analysis device 21, a reference data analysis device 22, and a control device 23A.
  • the constraint condition of the instruction is registered.
  • the constraint condition of the instruction is a constraint condition of reference data that is referred to when the instruction is executed by the simulation execution unit 10 and the expected value generation unit 12.
  • the instruction analyzer 21 is based on the constraint information stored in the data constraint information storage unit 20! Analyze the details of the instructions (extracted by extraction device 3A).
  • the reference data analysis device 22 stores the reference data (extracted by the extraction device 3A) based on the data constraint information stored in the data constraint information storage unit 20 and the result of the instruction analysis by the instruction analysis device 21. Analyze the details.
  • the control device 23A controls the simulation device 7 and the expected value generation device 8 based on the analysis result by the reference data analysis device 22.
  • FIG. 4 shows data restriction information stored in the data restriction information storage unit 20.
  • the data constraint information stored in the data constraint information storage unit 20 includes an instruction and its constraint.
  • the instruction is an instruction executed by a processor included in the circuit data section 5 and an instruction having a constraint on reference data to be referred to when executing the instruction.
  • the data constraint information storage unit 20 selectively stores an instruction having such a constraint condition and the constraint condition.
  • each instruction is classified by an operation code.
  • the dividend is specified in the first element of the operand, and the register number of the general-purpose register storing the divisor is specified in the second element. Is shown.
  • the second element, the divisor is registered as a constraint that is a non-zero value.
  • the constraint condition of the reference data specified by the instruction operand is registered.
  • the instruction supply device 6 supplies an instruction to the simulation execution unit 10 and the expected value generation unit 12 (S501). At this time, the instruction supply device 6 also outputs the instruction to be supplied to the extraction device 3A.
  • the extracting device 3A extracts the intermediate data included in the supplied instruction (S502). In the verification device 1A, the intermediate data includes the instruction itself and the instruction itself. And reference data to be referred to at the time of execution.
  • the extraction device 3A outputs the extracted intermediate data to the execution control device 4A.
  • the execution control device 4A performs the following processing using the input intermediate data.
  • the instruction analyzer 21 analyzes the intermediate data.
  • the control device 23A controls the verification device main body 2A (operation continuation Z operation suspension switching control) (S503).
  • step S503 If the control result of step S503 indicates that the execution of the instruction is temporarily stopped, the verification apparatus 2A temporarily stops the verification operation according to the control. On the other hand, if the control result in step S503 is that the operation is to be continued, the verification apparatus main body 2A executes the same processing as the simulation processing that is conventionally performed. Specifically, the verification device main body 2A executes the instruction supplied from the instruction supply device 6 by the simulation device 7 and the expected value generation device 8 (S504, S506), and executes the execution result (the simulation result and the expected result). Is stored in the first storage device 11 and the second storage device 13 (S505, S507). The execution results stored in the first storage device 11 and the second storage device 13 are compared by the comparison device 9 to determine whether or not the forces match each other (S508). This ends a series of simulation operations.
  • the instruction analysis device 21 determines whether or not the intermediate data received from the extraction device 3A has a constraint with a constraint (S601). Specifically, the determination of the presence or absence of the constraint condition is performed by determining whether or not the intermediate data corresponds to the restricted instruction stored (registered) in the data restriction information storage unit 20.
  • the instruction analyzer 21 notifies the controller 23A of the fact.
  • the control device 23A having received the notification of the failure determines that the instruction has no possibility of causing an undefined result. Then, the control device 23A first determines whether or not the operations of the simulation device 7 and the expected value generation device 8 are temporarily stopped (S602). When the determination result in S602 indicates that the suspension is not being performed, the control device 23A does not control the simulation device 7 and the expected value generation device 8. Specifically, the control here is to temporarily stop the simulation device 7 and the expected value generation device 8. On the other hand, the judgment result of S602 When indicating that the operation is stopped, the control device 23A restarts the operations of the simulation device 7 and the expected value generation device 8 (S603).
  • the command analyzer 21 notifies the reference data analyzer 22 of the fact.
  • the reference data analyzer 22 having received the notification performs the following analysis. First, the register value of the register number specified by the operand of the instruction is extracted from the reference data included in the intermediate data. Further, the extracted register value satisfies the data constraint condition (registered in the data constraint information stored in the data constraint information storage unit 20), and it is determined whether or not the force is satisfied. Is notified to the control device 23A (S604).
  • control device 23A determines that the instruction has no possibility of causing an undefined result. Then, the processing of S602 and S603 described above is performed. In other words, in this process, control (temporary stop) of the simulation device 7 and the expected value generation device 8 must not be performed!
  • control device 23A determines that the instruction causes an undefined result, and determines that the instruction has an undefined result. Control (temporary stop) with the expected value generation device 8 (S605).
  • the control device 23A keeps the simulation device 7 and the expected value generation device 8 in a suspended state while instructions for determining that an undefined result is generated are continuously supplied. Then, when an instruction for determining that there is no possibility of causing an undefined result is supplied, the suspension control is released (operation resumed). As described above, the control device 23A keeps the simulation device 7 and the expected value generation device 8 in a suspended state during a period in which instructions determined to be undefined results are continuously supplied, so that these devices can be controlled. Minimize the time to control the stop and release of 7, 8 to prevent the overall simulation speed from decreasing
  • the verification device 1A of the present embodiment stops the simulation device 7 and the expected value generation device 8 immediately before an instruction whose execution result is an undefined result is executed. This prevents execution of the instruction. This will result in undetermined instructions Problems caused by the execution can be prevented.
  • FIG. 7 shows a configuration of a verification device 1B according to the second embodiment of the present invention.
  • the expected value generating device 1B basically has the same configuration as that of the first embodiment, and the same or similar parts are denoted by the same reference numerals as those of the first embodiment. The description of is omitted. However, parts performing the same operation but performing a slightly different operation are distinguished from the first embodiment by adding a B to the end of the reference numeral.
  • the verification device 1B is characterized in that it includes a previous state return device 30, an execution standby device 31, and an undefined result determination device 32.
  • the previous state return device 30 is a device that causes the expected value generation device 8B to transition to a state before the execution of the instruction executed immediately before. Such an operation of the previous state return device 30 can be performed by the following processing. First, immediately before executing the instruction, the recorded content of the second storage device 13 in the expected value generating device 8B is temporarily held. Then, after the execution of the instruction, the stored data is returned to the recorded contents of the second storage device 13. Thus, the previous state return device 30 can cause the expected value generation device 8B to transition to the pre-execution state of the instruction executed immediately before.
  • the execution standby device 31 is provided in the simulation device 7B.
  • the execution standby device 31 stops the execution of the instruction by the simulation device 7B until there is a standby release notification from the execution control device 4B.
  • an instruction is executed in advance by the expected value generation device 8B, and the execution result is extracted by the extraction device 3B.
  • the undefined result determination device 32 determines whether or not the execution result is undefined based on the extraction information obtained from the extraction device 3B.
  • the undefined result determination device 32 can determine the undefined by detecting the flag. .
  • the verification device 1A of the first embodiment by analyzing an instruction and data information referred to when the instruction is executed, the execution result of the instruction becomes undefined. Can also be determined.
  • the control device 23B performs the following control based on the determination result of the undefined result determination device 32. If the execution result of the instruction executed by the expected value generation device 8B is undefined, the control device 23B operates the previous state return device 30 to operate the expected value generation device 8B in the state before the instruction execution. To return. Here, since the instruction is executed in advance by the expected value generation device 8B, the simulation device 7B still executes the instruction at the time of the undefined determination of the instruction execution result. At this timing, the control device 23B that has determined that the execution result of the instruction is undefined does not cause the simulation device 7B to execute the instruction determined to be undefined.
  • the verification device 1B returns the expected value generation device 8B to the state before the instruction is executed, based on the undefined judgment of the execution result of the instruction executed in advance, and further stops the instruction execution in the simulation device 7B.
  • the verification device 1B executes the expected value generation device 8B in advance and determines whether the execution result is undefined, and based on the determination result, resets the expected value generation device 8B and resets the simulation device 7B. Instruction stop.
  • the verification device 1B prevents execution of an instruction whose execution result is an undefined result because the reference data violates the data constraint.
  • FIG. 8 is a flowchart showing the operation of the entire verification device 1B.
  • FIG. 9 is a flowchart extracting and showing the operation of the undefined result determination device 32 and the operation of the control device 23B.
  • the instruction supply device 6 supplies an instruction to the simulation execution unit 10 and the expected value generation unit 12 (S801).
  • the expected value generating device 8B executes the instruction in the expected value generating unit 12, and then stores the expected value, which is the execution result, in the second storage device 13 (S802, S803). At this time, the simulation device 7B is on standby without executing the instruction.
  • the expected value which is the result of executing the instruction of the expected value generating unit 12, is extracted by the extracting device 3B and supplied to the undefined result determining device 32 (S804).
  • the undefined result determination device 32 analyzes the information obtained from the expected value generation unit 12 to determine whether or not the expected value is undefined, and further, the control device 23B checks the analysis result. Based on this, the simulation device 7 and the expected value generation device 8 are controlled (S805).
  • the undefined result determination device 32 analyzes information obtained from the expected value generation unit 12 and It is determined whether the force is undefined (S901). The judgment result is supplied to the control device 23B.
  • the control device 23B performs the following control based on the determination result of the undefined result determination device 32. That is, the control device 23B transmits a control signal of the simulation device 7B to the simulation device 7B based on the determination result of the instruction execution result (expected value).
  • the control signal here is as follows. If the execution result (expected value) of the instruction does not include undefined, the control signal becomes a signal enabling execution of the instruction in the simulation device 7B (S902), and the execution result (expected value) of the instruction is undefined.
  • control signal is a signal that returns the state of the expected value generation device 8B to the state before the execution of the instruction and prohibits (does not permit) the execution of the instruction in the simulation device 7B (S904).
  • the expected value generation device 8B executes the instruction prior to the simulation device 7B, and at this time (when the control signal is received from the control device 23B), the simulation device 7B has not yet executed the instruction.
  • the execution standby device 31 that has received the control signal determines the content of the received control signal (S806), and controls the simulation device 7B based on the determination result as follows.
  • execution standby device 31 keeps the simulation execution unit 10 in a stopped state without starting instruction execution according to the instruction, Returning to step S801, the process waits while judging whether or not the next instruction has been supplied from the instruction supply device 6.
  • the execution standby device 31 starts the same simulation process as before in the verification device main body 2B (S807). Then, the execution result (simulation result) of the simulation execution unit 10 is stored in the first storage device 11 (S808). The execution results stored in the first storage device 11 and the second storage device 13 are compared by the comparison device 9 to determine whether or not the forces match each other (S809). This ends a series of simulation operations.
  • the verification device 1B resets the expected value generation device 8B and the command of the simulation device 7B based on the undefined determination result of the expected value obtained by executing the instruction in advance. And stop the order. More specifically, the verification device 1B uses the expected value generation device 8B based on the determination result of whether or not the execution result of the instruction executed in advance by the expected value generation unit 12 is undefined. The control for returning to the state before the execution of the instruction and the control for stopping the execution of the instruction in the simulation device 7B are performed. Therefore, in the verification device 1B, the execution of the instruction whose execution result is the undefined result is prevented beforehand. As a result, it is possible to prevent the interruption of the verification due to the pseudo error and achieve a high efficiency of the verification.
  • FIG. 10 shows the configuration of a verification device 1C according to the third embodiment of the present invention.
  • the configuration of the verification device 1C is basically the same as that of the verification device 1A of the first embodiment, and the same or similar parts are denoted by the same reference numerals as those of the first embodiment, and Description is omitted. However, portions performing the same operation but performing a slightly different operation are distinguished from the verification device 1A by adding a C to the end of the code.
  • the verification device 1C is characterized by a control method of the control device 23C, and this control method is different from the control device 23A of the verification device 1A.
  • FIG. 11 shows a flowchart of a verification method using the verification device 1C.
  • the control of the entire verification apparatus 1C is the same as the overall operation of the verification apparatus 1A shown in the flowchart of FIG.
  • the verification device 1C is slightly different from the verification device 1A in the analysis operation of the intermediate data in step S503 and the control operation based on the analysis result.
  • FIG. 11 is a flowchart showing an operation of analyzing the intermediate data, which is a feature of the verification device 1C, and a control operation based on the analysis result.
  • the extraction device 3A supplies the extracted intermediate data to the instruction analysis device 21 and the reference data analysis device 22.
  • the instruction analysis device 21 determines whether or not the intermediate data received from the extraction device 3 has a constraint (S1101). The determination of the presence / absence of the constraint condition is specifically performed by determining whether or not the intermediate data corresponds to the command stored (registered) in the data constraint information storage unit 20.c
  • the command analyzer 21 notifies the controller 23C of the fact that the intermediate data does not correspond to a registration command.
  • the control unit 23C having received the notification determines that the instruction has no possibility of causing an undefined result.
  • the above judgment The lowered control device 23C does not control the simulation device 7 and the expected value generation device 8. Therefore, the simulation device 7 and the expected value generation device 8 execute the instruction.
  • the command analyzer 21 notifies the reference data analyzer 22 of the fact.
  • the reference data analyzer 22 having received the notification performs the following analysis.
  • the reference data analyzer 22 extracts the register value of the register number designated by the operand of the instruction from the reference data included in the intermediate data supplied from the extractor 3A. Further, the reference data analyzer 22 determines whether or not the extracted register value satisfies the data constraint condition (registered in the data constraint information stored in the data constraint information storage unit 20).
  • the controller 23C makes a determination and notifies the controller 23C of the determination result (S1102).
  • step S 1102 determines that the instruction has no possibility of causing an undefined result.
  • the simulation device 7 and the expected value generation device 8 are not controlled. Therefore, the simulation device 7 and the expected value generation device 8 execute the instruction.
  • the control device 23C determines that the instruction causes an undefined result.
  • the control device 23C that has made such a determination performs control to replace the instruction with another instruction having no data restriction condition (S1103).
  • the other instruction having no data constraint is, for example, a NOP (No Operation) instruction, and replaces an undefined instruction with such an instruction.
  • the replaced other instructions are supplied from the control device 23C to the simulation device 7 and the expected value generation device 8 via the instruction supply device 6.
  • the simulation device 7 and the expected value generation device 8 execute the replaced instruction.
  • an instruction that has no data constraints and does not affect the simulation is executed by the simulation device 7 and the expected value generation device 8. Therefore, the interruption of the verification due to the pseudo error is prevented, and the verification can be performed with high efficiency.
  • the simulation device 7 and the expected value generation device 8 are stopped when an instruction to be executed has an undefined result.
  • this implementation In the verification device 1C according to the first embodiment, control is performed to replace an instruction having an undefined result with another instruction having no data constraint. By replacing an undefined instruction with such an instruction, the instruction can be executed in a state without any data constraints and without affecting the simulation. As a result, it is possible to prevent the interruption of the verification due to the pseudo error and to improve the efficiency of the verification.
  • the verification device 1C according to the third embodiment is the same as the verification device 1A according to the first embodiment except that control is performed to replace the instruction when the execution result of the instruction is undefined. The same control is performed.
  • FIG. 12 shows the configuration of a verification apparatus 1D according to the fourth embodiment of the present invention.
  • the configuration of the verification device 1D is basically the same as that of the verification device 1C of the third embodiment, and the same or similar parts are denoted by the same reference numerals as those of the third embodiment, and a description thereof will be given. Is omitted. However, a part performing the same operation but performing a slightly different operation is distinguished from the verification device 1C by adding a D to the end of the code.
  • the verification device 1D is characterized by the configuration of the control device 23D and the control method by the control device 23D, and the configuration and the control method are different from those of the control device 23C of the verification device 1C.
  • the control method (verification method) of the entire verification device 1D is the same as the control method (verification method) of the verification device 1C according to the third embodiment described above with reference to the flowchart in FIG. Therefore, description of the entire control method (verification method) of the verification device 1D is omitted.
  • the control device 23D of the verification device 1D performs a process of replacing the reference data referred to at the time of executing the instruction with another reference data when determining that the execution result of the instruction is undefined.
  • Fig. 13 and Fig. 14 show the processing operation of the main part in the control processing of the verification device 1D. This processing operation is basically similar to the processing operation of the main part in the verification device 1C of the third embodiment. Therefore, the same steps are denoted by the same reference numerals. However, in the following processing, the verification device 1F differs from the verification device 1C.
  • an instruction whose execution result is undefined is replaced with another instruction having no data constraint.
  • an instruction replacement process is replaced by a reference data replacement process S1103D.
  • the reference data referred to by the instruction whose execution result is the undefined result at the time of execution is replaced with another data that can be the reference data.
  • the register number of the data to be referred to when executing the instruction is replaced by another register number (the first register number) that can take the location of the reference data (register number of the general-purpose register) specified by the operand of the instruction.
  • This replacement process is a reference data replacement process S1103D.
  • the control device 23D of the verification device 1D includes a reference data candidate search device 40 for searching for a reference data candidate and a reference data candidate that satisfies the data restriction condition.
  • a reference data candidate analyzing device 41 for analyzing whether or not the reference data candidate satisfies the data constraint condition, and a reference data replacing device 42 for replacing the reference data with the reference data candidate.
  • a register number storing reference data to be referred to at the time of instruction execution is generally specified. Therefore, when the reference data analysis device 22 determines that the execution result of the instruction is undefined, the control device 23D first registers the register number of the reference data of the instruction whose execution result is undefined. It is searched whether a number exists (S1401). This search operation is performed by the reference data candidate search device 40.
  • the instruction is deleted (S1402).
  • the operation of deleting the instruction is performed by the reference data replacing device 42.
  • the process returns to S1401, and it is determined whether or not there is another reference data candidate.
  • the reference data is replaced with data that satisfies the data constraint conditions.
  • a processor is provided with a plurality of general-purpose registers, and the register number specified by an instruction operand can be replaced.
  • the verification device 1D replaces the reference data with data that satisfies the data constraints. If the replacement cannot be performed, a countermeasure according to another embodiment of the present invention, for example, replacement of an instruction according to the third embodiment may be performed.
  • the execution of an instruction whose execution result is undefined is prevented by replacing the reference data of the instruction whose execution result is undefined with another data. .
  • FIG. 15 shows the configuration of a verification apparatus 1E according to the fifth embodiment of the present invention.
  • the configuration of the verification device 1E is basically the same as that of the verification device 1C of the third embodiment, and the same or similar parts are denoted by the same reference numerals as those of the third embodiment and the verification device 1C. And the description of them is omitted. However, parts that perform the same operation but perform a slightly different operation are distinguished from the verification device 1C by adding an E to the end of the code.
  • the verification device 1E is characterized by the configuration of the control device 23E and the control method by the control device 23E.
  • the control device 23E includes an instruction generation device 43 and an instruction arrangement device 44. The provision of these devices 43 and 44, and a control method using these devices 43 and 44, is a control device of the verification device 1C. Different from 23C.
  • the control method (verification method) of the entire verification device 1E is the same as the control method (verification method) of the verification device 1C according to the third embodiment described above with reference to the flowchart of FIG. Therefore, description of the entire control method (verification method) of the verification device 1E is omitted.
  • the control device 23E of the verification device IE according to the present embodiment generates a new instruction for changing reference data and then generates a reference data change instruction when determining that the execution result of the instruction is undefined. It is characterized in that it performs instruction generation and placement processing to place it before execution of undefined instructions.
  • Figure 16 shows the main part of the control method (verification method) using verification device 1E.
  • the control of the entire verification apparatus 1E is basically similar to the control method (verification method) of the verification apparatus 1D of the third embodiment described above with reference to the flowchart of FIG. Therefore, the same steps are denoted by the same reference numerals. However, in the following process, the verification device 1E differs from the verification device 1C.
  • control device 23E When determining that the execution result of the instruction is undefined, the control device 23E generates a new instruction to change the reference data, and sets the generated reference data change instruction before the undefined instruction. Placed at the position to be executed at step S1103H.
  • the verification device 1E details of the instruction generation and placement processing performed by the verification device 1E will be described with reference to the flowchart in FIG.
  • Ru location of the reference data (the general-purpose register register number) is updated to a value within the range of the data constraints possessed by the instruction generates an instruction (S1701) o
  • the operation is performed by the instruction generation device 43.
  • the update instruction is arranged before the instruction having an undefined result (S1702).
  • This operation is performed by the instruction arrangement device 44.
  • the instruction changed in this way is supplied from the control device 23E to the expected value generating device 8 via the instruction supplying device 6, and is executed by the expected value generating device 8.
  • the instruction that references data that does not satisfy the data constraint is executed by the expected value generation device 8 and the simulation device 7 in a state where the instruction is changed to an instruction that refers to data that satisfies the data constraint. As a result, the occurrence of undefined results is prevented.
  • the reference data update instruction generated by the instruction generation device 43 is specifically generated as the following configuration.
  • a memory access instruction that stores update data satisfying the data constraint condition in a register is generated as a reference data update instruction.
  • the value of the update data that satisfies the data constraint condition must be stored in a data memory or the like for each instruction.
  • an operand that has an immediate value that satisfies the data constraint is generated as a reference data update instruction.
  • the verification device 1E generates an instruction to update the reference data of the instruction whose execution result is an undefined result to data that is not undefined, and then executes the reference data update instruction with the undefined result. Cause the instruction to execute before the resulting instruction. As a result, it is possible to prevent the generation of undefined results, and to prevent the interruption of the verification due to the pseudo error, thereby achieving high efficiency of the verification.
  • FIG. 18 shows the configuration of a verification apparatus 1F according to the sixth embodiment of the present invention.
  • the configuration of the verification device is basically the same as that of the verification device 1C of the third embodiment, and the same or similar parts are denoted by the same reference numerals as those of the verification device 1C of the third embodiment. The description of is omitted. However, parts performing the same operation but performing a slightly different operation are distinguished from the verification device 1C by adding an F to the end of the code.
  • the verification device 1F is characterized by the configuration of the control device 23F and the control method by the control device 23F, and this configuration and the control method are different from those of the control device 23C of the verification device 1C.
  • the control method (verification method) of the entire verification device 1F is the same as the control method (verification method) of the verification device 1C according to the third embodiment described above with reference to the flowchart of FIG. Therefore, description of the entire control method (verification method) of verification apparatus 1F is omitted.
  • the control device 23F of the verification device 1F of the present embodiment is characterized in that, when judging that the execution result of the instruction is undefined, the control device 23F updates the reference data referred to when executing the instruction.
  • FIG. 19 shows the processing operation of the main part in the control processing of the verification device 1F. This processing operation is basically similar to the processing operation of the main part in the verification device 1C of the third embodiment. Therefore, the same steps are denoted by the same reference numerals. However, in the following processing, the verification device 1F differs from the verification device 1C.
  • an instruction whose execution result is undefined is executed, as shown in step S1103 in FIG. Replace with In the verification device 1F of the present embodiment, such an instruction replacement process is replaced with the following reference data update process S1103F.
  • the first and second data storing the reference data are stored.
  • the storage devices 11 and 13 are forcibly updated to values within the data constraint conditions of the instruction. Therefore, even if the referenced data is an instruction that does not satisfy the data constraints, the updated reference data is executed by the instruction after the reference data is updated to data that satisfies the data constraints. Become. This prevents the occurrence of undefined results.
  • the first storage device 11 the simulation device 7 side
  • the second storage device 13 the expected value generation device 8 side
  • the reference data of the instruction whose execution result is undefined is forcibly updated to a value within the range of the data constraint condition of the instruction.
  • the execution of an instruction whose execution result is undefined is prevented. Thereby, the interruption of the verification due to the pseudo error is prevented, and the efficiency of the verification can be improved.
  • FIG. 20 shows a configuration of a verification device 1G according to the seventh embodiment of the present invention.
  • the configuration of the verification device 1G is basically the same as that of the verification device 1C of the third embodiment, and the same or similar parts are denoted by the same reference numerals as those of the third embodiment, and a description thereof will be given. Is omitted. However, parts performing the same operation but performing a slightly different operation are distinguished from the verification device 1C by adding a G to the end of the code.
  • the verification device 1G is characterized by the configuration of the control device 23G and the control method by the control device 23G, and the configuration and the control method are different from the control device 23C of the verification device 1C.
  • the control method (verification method) using the verification device 1F is shown in the flowcharts of Figs. These flowcharts are basically similar to the flowcharts of FIGS. 5 and 11, which are the control method (verification method) of the verification device 1C of the third embodiment. Therefore, the same steps are denoted by the same reference numerals. However, if the controller 23G of the verification device 1G of the present embodiment determines (estimates) that the expected value, which is the execution result of the instruction, is undefined before executing the simulation, the (Step S503 in FIG. 5 and Step S1103 in FIG. 11) for replacing the instruction with another instruction having no data restriction condition.
  • control unit 23G actually Of the execution result (expected value or simulation result) obtained by executing the instruction (Step S503G in FIG. 18 and Step S1103G in FIG. 19) .
  • steps S503G and S1103G are performed after the instruction is executed by the simulation device 7 or the expected value generation device 8 instead of the process executed immediately after the instruction extraction step S502.
  • control device 23G forcibly stores the execution result (expected value or simulation result) of the instruction stored in the first and second storage devices 11, 13 in the instruction. To be updated to a value that can be defined. As a result, even if the data to be referred to is an instruction or instruction that does not satisfy the data constraint, the execution result of the instruction is updated to definable data (data that is not defined). The occurrence of undefined results is prevented.
  • the execution result of an instruction becomes an undefined result by forcibly updating the execution result of the undefined instruction to data without forcing it to be undefined. Instruction execution is blocked. As a result, it is possible to prevent the interruption of the verification due to the pseudo error and to improve the efficiency of the verification.
  • the first storage device 11 on the simulation device 7 side
  • the second storage device 13 on the expected value generation device 8 side
  • the recorded contents Reference data
  • the occurrence of an undefined result is determined using the instruction analysis device 21 and the reference data analysis device 22, but the undefined result determination device 32 according to the second embodiment is used. Can be used to determine the occurrence of an undefined result. That is, it is also possible to determine the occurrence of an undefined result from the execution result information of the instruction in the expected value generation device 8 and update the execution result of the instruction.
  • FIG. 23 shows the configuration of a verification apparatus 1H according to the eighth embodiment of the present invention.
  • the configuration of the verification device 1H is basically the same as that of the verification device 1C of the third embodiment, and the same or similar parts are denoted by the same reference numerals as those of the third embodiment, and a description thereof will be given. Is omitted. However, parts performing the same operation but performing a slightly different operation are distinguished from the verification device 1C by adding an H to the end of the code.
  • the verification device 1H includes an instruction generation constraint creation device 50H, an instruction issue constraint creation device 51H, and an instruction creation device 52.
  • the instruction generation constraint creation device 50H and the instruction generation device 52 are provided in the verification device main body 2H.
  • the instruction issue constraint creation device 51H is provided in the execution control device 4H.
  • the verification device 1H is characterized by the configuration of the control device 23H and the control method (verification method) by the control device 23H.
  • an instruction is generated by the instruction generation device 52 based on the instruction generation constraint generated by the instruction generation constraint generation device 50H, and is provided to the instruction supply device 6.
  • the instruction generation constraint indicates the type of the instruction when the instruction is generated and the condition of the register number that can be selected as an operand. Instruction generation restrictions include "The number of general-purpose registers that can be selected in the operand of the addition instruction is from register 0 to register 8.” or "If a VLIW processor, two or more addition instructions are executed simultaneously. Cannot be used, for example.
  • the instruction generation device 52 can randomly generate an instruction within the range of the instruction generation constraint, and can generate all the instructions to be given to the processor at random, or can generate the instructions randomly by hand. It is possible to supply the mixed instructions to the processor.
  • the control method (verification method) of the entire verification apparatus 1H is the same as the control operation of the verification apparatus 1G according to the seventh embodiment shown in the flowchart of FIG. Therefore, description of the entire control method (verification method) of the verification device 1H is omitted.
  • the control device 23H of the verification device 1H of the present embodiment generates an additional instruction for updating the execution result when determining that the execution result (simulation result and expected value) of the instruction is undefined. It is characterized in that processing for supplying to the supply device 6 is performed.
  • Figure 24 shows the main part of the control method (verification method) of verification device 1H. This processing method is basically similar to the processing method of the main part in the verification device 1C of the third embodiment. Therefore, the same steps are denoted by the same reference numerals. While squeezing the next process Therefore, the verification device 1H is different from the verification device 1C.
  • control device 23H of the verification device 1H determines that the execution result (expected value) of the instruction is undefined, the control device 23H places the instruction having the undefined result in another instruction that does not have the data constraint condition.
  • the switching process (step S502 in FIG. 5 and step S1103 in FIG. 11) is not performed. Instead, the control unit 23H generates an update instruction to be executed after the execution of the instruction (step S1103-1H), distributes the generated update instruction to the instruction supply device 6, and transmits the update instruction to the simulation device. 7 and the processing to be executed by the expected value generation device 8 (step S1103-2H).
  • the update instruction is an instruction for forcibly updating an instruction execution result (a simulation result or an expected value) by the simulation device 7 or the expected value generation device 8.
  • the control device 23H issues an instruction issuance constraint to the instruction generation device 52, which means that an instruction to update the undefined execution result is issued.
  • Specific examples of the update instruction include a memory access instruction that reads the execution result from the first and second storage devices 11 and 13 storing the undefined execution result and updates the execution result to an appropriate value, and a MOV instruction.
  • An example is a command for updating the recording data of the first and second storage devices 11 and 12 storing the execution result to an appropriate value.
  • the instruction issuing device 52 is forcibly issued an instruction issue constraint that means the above update instruction is forcibly issued, and the instruction issue constraint is given to the instruction supply device 6.
  • the instruction supply device 6 generates an update instruction based on the instruction issuance constraint, supplies the update instruction to the simulation device 7 and the expected value generation device 8, and causes the devices 7 and 8 to execute the update instruction.
  • the execution result (undefined) is converted into definable data as post-processing in which an instruction that refers to the execution result (undefined) is executed.
  • the process of forcibly updating will be additionally performed.
  • a pseudo error caused by a mismatch between the execution result of the instruction by the simulation device 7 and the execution result of the instruction by the expected value generation device 8 is prevented.
  • the control method of the present embodiment can be similarly implemented in verification apparatus 1H 'in Fig. 25 in addition to the configuration of verification apparatus 1H in Fig. 23.
  • the verification device 1H 'basically has the same configuration as the verification device 1H, and the same or similar parts are denoted by the same reference numerals. Shi While applying force, parts having slightly different configurations are marked with (').
  • the instruction issuance constraint creation device 51H creates an instruction issuance constraint of the update instruction based on the instruction of the control device 23H, and controls the instruction issuance device 52.
  • the instruction issuance constraint creation device 51H for creating the instruction issuance constraint is not provided. Instead, the control device 23H 'forces the instruction generation constraint creation device 5OH' to create an instruction generation constraint described below and supply the created instruction creation constraint to the instruction generation device 52.
  • the instruction generation constraint that the control device 23H 'enforces on the instruction generation constraint creation device 50H' is that an instruction for updating the execution result (simulation result or expected value) of an undefined instruction is issued by the instruction generation device 52. This is a constraint to be forcibly issued.
  • the instruction generation device 52 issues an update instruction of the undefined result.
  • the occurrence of an undefined result is determined using the instruction analysis device 21 and the reference data analysis device 22, but the undefined result determination device 32 in the second embodiment may be used. It can be determined. That is, it is possible to determine the occurrence of an undefined result from the execution result information of the instruction in the expected value generation unit 12 and force the update instruction to be issued based on the determination result.
  • FIG. 26 shows the configuration of a verification apparatus 1J according to the ninth embodiment of the present invention.
  • Verification device 1J structure The configuration is basically the same as that of the verification apparatus 1H of the eighth embodiment, and the same or similar parts are denoted by the same reference numerals as in the eighth embodiment, and description thereof is omitted. . However, parts performing the same operation but performing a slightly different operation are distinguished from the verification device 1H by adding a J to the end of the reference numeral.
  • the verification device 1J includes an instruction generation constraint creation device 50J, an instruction issuance constraint creation device 51J, an instruction creation device 52, and a reference data candidate determination device 60.
  • the control method (verification method) by the extraction device 3J differs from the extraction device 3A in the eighth embodiment.
  • the instruction generation constraint creation device 50J and the instruction generation device 52 are provided in the verification device main body 2J.
  • the instruction issue constraint creation device 51J is provided in the execution control device J.
  • the extraction device 3J extracts the next data value from the second storage device 13 for each instruction having a data constraint condition.
  • the data value to be extracted here is a register number selectable as reference data and a data value stored in the register.
  • Register numbers that can be selected as reference data are as follows.
  • the DIV instruction has a data constraint that the divisor is non-zero.
  • the general-purpose register number that can be selected as a divisor when the DIV instruction is executed indicates the register number that can be selected as the reference data.
  • the general-purpose register numbers that can be selected at the time of executing an instruction based on arbitrary data constraints are register 0 to register 31.
  • the extracting device 3J extracts the data value which is currently stored in the register 31 in the register 31 as well. Extraction of data information is performed for each instruction having data constraint conditions. In order to realize such data information extraction, the extraction device 3J performs data information extraction while reading data restriction conditions from the data restriction information storage unit 20.
  • the execution control device J determines a reference data candidate from the data information supplied from the extraction device 3J and the data constraint information supplied from the data constraint information storage unit 20.
  • the reference data candidate is a register number to which an instruction having a data constraint condition can refer.
  • the reference data candidate is determined for each instruction. This operation is performed by the reference data candidate determination device 60.
  • the reference data candidate is a register that guarantees the following. In other words, the guarantee that "the value of the candidate satisfies the data constraint condition of the instruction, and if the instruction is issued with the candidate value as reference data, no undefined result occurs"
  • the input register is referred to as a reference data candidate.
  • the control device 23J sends to the instruction issue constraint creating device 51J an instruction issue constraint creation instruction using the reference data candidate determined by the reference data candidate decision device 60 as reference data.
  • the instruction issuance constraint creation device 51J creates an instruction issuance constraint based on the issuance constraint generation instruction transmitted by the control device 23J, and supplies the instruction issuance constraint to the instruction creation device 52.
  • the instruction generation device 52 generates an instruction based on the instruction issuance constraint supplied from the instruction issuance constraint creation device 51J, and supplies the instruction to the instruction supply device 6.
  • the instruction supply device 6 supplies the supplied instruction to the simulation device 7 and the expected value generation device 8 to execute the instruction.
  • the verification method using the verification device 1J is basically the same as the operation of the verification device 1C according to the third embodiment (see FIG. 5). Therefore, the steps (steps) that execute the same operation are assigned the same step numbers, and the explanations of those steps are omitted.
  • the extraction of the intermediate data (S502J), the analysis of the extraction result, and the control based on the analysis result (S503J) are performed before the instruction supply (S501). .
  • the details of the operation of steps S502J and S503J will be described with reference to the flowchart of FIG.
  • the extraction device 3J extracts the intermediate data of the instruction.
  • the intermediate data is a register number that can be selected as reference data by an instruction having a data constraint condition and a data value stored in the register.
  • the execution control device J creates an instruction issue constraint to be supplied to the instruction supply device 52 using the intermediate data supplied from the extraction device 3J.
  • the instruction generation device 52 generates an instruction based on the supplied instruction issuance constraint, and supplies the instruction to the simulation device 7 and the expected value generation device 8 via the instruction supply device 6.
  • the operation of the simulation device 7 and the expected value generation device 8 and the operation of the comparison device 9 are the same as those of the other embodiments.
  • the reference data candidate determination device 60 determines a register (reference data candidate) that can be used in the instruction as reference data. Reference data candidates have data constraints Determined for all instructions.
  • the details of the method of determining the reference data candidate will be described with reference to the flowchart in FIG.
  • the reference data candidate determination device 60 selects one of the instructions having the data constraints (S2801).
  • O Extraction device 3J Stores a register that can be selected as reference data using intermediate data to which power is also supplied. Then, it is analyzed whether or not the data value satisfies the data constraint condition (S2802).
  • the register is set as a reference data candidate (S2803). This analysis is performed on all registers that can be selected as reference data in the instruction (S2804).
  • control device 23J performs the following control.
  • the instruction supply device 6 supplies an instruction to the simulation device 7 and the expected value generation device 8
  • the control device 23J executes the instruction with reference to the reference data candidate determined by the reference data candidate determination device 60.
  • Control Such control is specifically implemented as follows. First, the controller 23J executes the instruction issuance constraint creation device to create an instruction issuance constraint of "executing the instruction with reference to the reference data candidate determined by the reference data candidate determination device 60 when executing the instruction". Instruct 51J.
  • the instruction issuance constraint generated by the instruction issuance constraint creation device 51J in response to this instruction is supplied to the instruction creation device 52.
  • the instruction generation device 52 subject to the instruction issue restriction creates an instruction according to the restriction and supplies the instruction to the instruction supply device 6.
  • the instruction supply device 6 supplies the given instruction (including the instruction issue restriction described above) to the simulation device 7 and the expected value generation device 8. Thereby, the above-described control is realized.
  • the execution control device J of the verification device 1J stores reference data and prepares in advance reference data candidates that satisfy the data constraint condition by observing the register value. The Then, when supplying an instruction having a data constraint condition to the simulation device 7 and the expected value generation device 8, the generation of undefined results is prevented by selecting reference data from the candidates.
  • the verification device 1J analyzes whether or not all the registers that can be selected as reference data are capable of becoming reference data candidates for all instructions having data constraint conditions. Therefore, there are usually a plurality of reference data candidates. However, multiple reference data candidates are not always required. Therefore, when one reference data candidate is determined, processing may shift to the next instruction. By doing so, it is possible to reduce the execution time of the reference data candidate determination device 60. If there is no reference data candidate, the instruction supply device 6 may be instructed to prohibit the issuance of the instruction.
  • the control method of the present embodiment can be similarly implemented in verification apparatus 1J 'in Fig. 29 in addition to the configuration of verification apparatus 1J in Fig. 26.
  • the verification device 1J ' basically has the same configuration as the verification device 1J, and the same or similar parts are denoted by the same reference numerals. However, parts with slightly different configurations are marked with (').
  • the control device 23J shown in FIG. 26 gives the candidate determination result of the reference data candidate determination device 60 to the instruction generation device 52 as an instruction issuance constraint, whereby the instruction generated by the instruction generation device 52 is undefined. Prevents results from occurring.
  • the control device 23J 'shown in FIG. 29 adds the result of the reference data candidate determination device 60 to the existing instruction generation constraints generated by the instruction generation constraint creation device 50J'. This prevents the verification device 1J 'from generating an undefined result in the instruction generated by the instruction generation device 52. Therefore, the verification device 1J 'does not include the instruction issuance constraint creation device 51J.
  • reference data candidates are determined from register values referred to by instructions having data constraint conditions. Therefore, when the instruction generation device 52 generates an instruction, it is possible to prevent the generation of an instruction having an undefined result by referring to the reference data candidate. Therefore, the execution of the instruction whose execution result is an undefined result is prevented, and the interruption of the verification due to the pseudo error is prevented, so that the verification can be performed with high efficiency.
  • the verification target is not limited to the processor, and is executed with the verification target. Applicable to all verification targets whose execution result is undefined according to the value of the intermediate data of the process.
  • the test pattern may be a manually described test pattern or a randomly generated test pattern.
  • the undefined result due to the data constraint condition of the reference data is described.
  • the extracting devices 3A, 3B, and 3J can extract the factor information that results in the undefined result, and can extract the If the information can be registered, it can be handled even if the cause of the undefined result is other than that. For example, even when the execution result is undefined due to an external factor such as an interrupt at the time of executing the instruction, it is possible to cope by updating the undefined result as in the seventh embodiment.
  • the verification device and the verification method according to the present invention perform verification by comparing a simulation result and an expected value when a test pattern is given to a simulator to be verified and a simulator that generates an expected value. This solves the problem that the value of the reference data referenced during the execution of the instruction does not satisfy the data constraint, and the execution result is undefined and a pseudo error occurs during comparison. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Quality & Reliability (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Debugging And Monitoring (AREA)
PCT/JP2005/000528 2004-01-20 2005-01-18 検証装置および検証方法 Ceased WO2005069175A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/586,620 US20080221861A1 (en) 2004-01-20 2005-01-18 Verification Apparatus and Verification Method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004-012383 2004-01-20
JP2004012383A JP2005208762A (ja) 2004-01-20 2004-01-20 検証装置および検証方法

Publications (1)

Publication Number Publication Date
WO2005069175A1 true WO2005069175A1 (ja) 2005-07-28

Family

ID=34792376

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2005/000528 Ceased WO2005069175A1 (ja) 2004-01-20 2005-01-18 検証装置および検証方法

Country Status (4)

Country Link
US (1) US20080221861A1 (enExample)
JP (1) JP2005208762A (enExample)
CN (1) CN1910588A (enExample)
WO (1) WO2005069175A1 (enExample)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100474316C (zh) * 2006-01-11 2009-04-01 财团法人工业技术研究院 协助自行车零组件设计的系统及其方法
CN103177165A (zh) * 2013-04-15 2013-06-26 帝特汽车技术(上海)有限公司 客车车身结构设计系统、客车侧翻仿真测试系统及方法

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8027825B2 (en) * 2007-01-09 2011-09-27 International Business Machines Corporation Structure for testing an operation of integrated circuitry
US8006155B2 (en) * 2007-01-09 2011-08-23 International Business Machines Corporation Testing an operation of integrated circuitry
US8219947B2 (en) * 2008-09-15 2012-07-10 Synopsys, Inc. Method and apparatus for merging EDA coverage logs of coverage data
US9842043B2 (en) * 2014-02-18 2017-12-12 Hariprakash Agrawal System and method to implement an electronic document based automated testing of a software application
CN105049234B (zh) * 2015-06-24 2018-08-10 盛科网络(苏州)有限公司 交换机芯片协同仿真的验证系统及方法
US12634146B2 (en) * 2023-12-12 2026-05-19 Hewlett Packard Enterprise Development Lp Monitoring user space processes using heartbeat messages authenticated based on integrity measurements

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0854907A (ja) * 1994-08-12 1996-02-27 Yokogawa Electric Corp 検証支援システム
JP2003271694A (ja) * 2002-03-18 2003-09-26 Fujitsu Ltd プロセッサを含む論理回路の検証用シミュレーション方法及び装置並びに論理回路検証用エラー検出プログラム

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW421761B (en) * 1994-04-12 2001-02-11 Yokogawa Electric Corp Verification support system
US6871298B1 (en) * 1999-11-12 2005-03-22 Obsidian Software, Inc. Method and apparatus that simulates the execution of paralled instructions in processor functional verification testing
US7120572B1 (en) * 2000-01-06 2006-10-10 Sun Microsystems, Inc. Memory efficient program pre-execution verifier and method
US7251594B2 (en) * 2001-12-21 2007-07-31 Hitachi, Ltd. Execution time modification of instruction emulation parameters
US7228266B1 (en) * 2003-12-05 2007-06-05 Unisys Corporation Instruction processor emulator having separate operand and op-code interfaces

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0854907A (ja) * 1994-08-12 1996-02-27 Yokogawa Electric Corp 検証支援システム
JP2003271694A (ja) * 2002-03-18 2003-09-26 Fujitsu Ltd プロセッサを含む論理回路の検証用シミュレーション方法及び装置並びに論理回路検証用エラー検出プログラム

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100474316C (zh) * 2006-01-11 2009-04-01 财团法人工业技术研究院 协助自行车零组件设计的系统及其方法
CN103177165A (zh) * 2013-04-15 2013-06-26 帝特汽车技术(上海)有限公司 客车车身结构设计系统、客车侧翻仿真测试系统及方法

Also Published As

Publication number Publication date
JP2005208762A (ja) 2005-08-04
US20080221861A1 (en) 2008-09-11
CN1910588A (zh) 2007-02-07

Similar Documents

Publication Publication Date Title
Beatty et al. Formally verifying a microprocessor using a simulation methodology
JP5004566B2 (ja) 設計を検証するシステム
Bobot et al. Preserving user proofs across specification changes
US20200104103A1 (en) Method for modifying models for generating source code
JP4988758B2 (ja) マルチサイクル・クロック・ゲーティングのための方法および装置
Shen et al. Symbolic execution based test-patterns generation algorithm for hardware trojan detection
CN103065000A (zh) 一种基于模型驱动工程进行SysML状态机图分析验证的方法
Aagaard et al. A methodology for large-scale hardware verification
Yang et al. Verusage: A study of agent-based verification for rust systems
JP2010170188A (ja) 検証支援プログラム、情報処理装置および検証支援方法
US20040010781A1 (en) Parameter parsing system
JP6869453B2 (ja) 情報処理装置、情報処理方法及び情報処理プログラム
Xing et al. Generalizing tandem simulation: Connecting high-level and RTL simulation models
JP2005208762A (ja) 検証装置および検証方法
CN101510234B (zh) 一种用于指令级随机验证的指令组合过滤方法及系统
Baldan et al. A temporal graph logic for verification of graph transformation systems
Leveson et al. A safety and human-centered approach to developing new air traffic management tools
Chilton et al. Revisiting timed specification theories: A linear-time perspective
JP2010267209A (ja) 検証支援プログラム、検証支援装置および検証支援方法
Carmona et al. ILP models for the synthesis of asynchronous control circuits
Wang et al. Abstraction-guided simulation using markov analysis for functional verification
JP2005208762A5 (enExample)
Butterfield et al. prialt in Handel-C: an operational semantics
US9547735B2 (en) System and method for viewing and modifying configurable RTL modules
Schutti et al. VHDL design of embedded processor cores: the industry-standard microcontroller 8051 and 68HC11

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 10586620

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 200580002860.8

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Country of ref document: DE

122 Ep: pct application non-entry in european phase