Patent ID: 8428927
Filing Date: 2013-04-23
Classification: G01R,G06F

Abstract:
1. A simulation method comprising: obtaining, using a processor, a command history of an executed process, the command history being generated while a predetermined processing including a plurality of events is executed in a test model program in which a function of a test target device is described in a software language; extracting, using the processor, a processing unit log from among the obtained command history, the processing unit log being a part of the obtained command history and corresponding to one of the plurality of events; and simulating, using the processor, an operation based on a user setting condition by executing a processing corresponding to the extracted processing unit log in the test model program in which communication speed of the test target device when the test target device is a communication device, an execution cycle of each of the plurality of events, a communication rate of a bus in the test model program when the test target device has the bus or a time spent for performing a line fetch in the test model program when the test target device is capable of performing the line fetch or any combination thereof is modified, wherein: the test target device includes a storage section that stores a command statement for executing command processing corresponding to a predetermined command and a predetermined data on which read/write processing is executed, the simulating includes determining whether the processing corresponding to the extracted processing unit log is the command processing or the read/write processing, and when the processing corresponding to the extracted processing unit log is the command processing, reading the command statement from the storage section and executing the command processing, and further when the processing corresponding to the extracted processing unit log is the read/write processing, executing processing for writing the predetermined data to the storage section or processing for reading the predetermined data stored in the storage section, the storage section includes a first storage section and a second storage section that are used to execute the read/write processing, the simulating includes, when executing the read/write processing, determining whether the read/write processing is processing for reading the predetermined data from a storage section or processing for writing the predetermined data to a storage section, and when the read/write processing is determined to be the processing for reading the predetermined data, determining whether the predetermined data is stored in the first storage section or the second storage section by checking the first storage section first, and reading the predetermined data, and further when the read/write processing is determined to be the processing for writing the predetermined data, determining whether the predetermined data is to be written to the first storage section or the second storage section by checking the first storage section first, and writing the predetermined data, and the simulating includes, when repeatedly executing the processing for reading the predetermined data, forcibly reading the predetermined data from the second storage section without reading the predetermined data from the first storage section even if the predetermined data is stored in the first storage section.