IP Library Granted Patent US 8,332,204
Granted Patent B2
US 8,332,204 · App. 12/343,767 · Granted Dec 11, 2012

Instruction check program, instruction check apparatus, and I/O simulator

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,332,204
App. No.
12/343,767
Granted
Dec 11, 2012
Kind
B2
Abstract

A computer-readable medium encoded with an instruction check program for making a computer to check a status of execution of an instruction by an I/O simulator that performs an operation simulation according to a structure of an I/O area of a microcomputer, the instruction check program when executed by a computer causes the computer to perform a method including obtaining specification information of the microcomputer describing an input and an output condition of a hardware resource in the I/O area, detecting a simulation of a reference instruction to the hardware resource executed by the I/O simulator, determining correctness of the reference instruction by comparing a content of the simulation of the reference instruction detected by the detecting with the input and output condition of the hardware resource included in the obtained specification information, and outputting an error signal when it is determined that the reference instruction is incorrect.

Claims (28)

1. A non-transitory computer-readable medium encoded with an instruction check program for making a computer to check a status of execution of an instruction by an I/O simulator that performs an operation simulation according to a structure of an I/O area of a microcomputer, the instruction check program when executed by a computer causes the computer to perform a method comprising:

obtaining specification information of the microcomputer describing an input and an output condition of a hardware resource in the I/O area;

detecting a simulation of a reference instruction to the hardware resource executed by the I/O simulator;

determining correctness of the reference instruction by comparing a content of the simulation of the reference instruction detected by the detecting with the input and output condition of the hardware resource included in the obtained specification information; and

wherein it is determined that the reference instruction is correct when an address of the hardware resource referred to in the simulation detected by the detecting coincides with an address described in the input and output condition of the hardware resource and when a timing of access to the hardware resource coincides with the input and output condition.

2. The computer-readable medium according to claim 1 ,

wherein the instruction check program causes the computer to further perform outputting an error message providing a notification of incorrect timing of access to the hardware resource when it is determined that the reference instruction is incorrect.

3. The computer-readable medium according to claim 1 ,

wherein the instruction check program causes the computer to further perform

inserting, into the reference instruction, a correction code to execute reference to correct hardware when it is determined that the reference instruction is incorrect.

4. An instruction check apparatus that checks a status of execution of an instruction by an I/O simulator that performs an operation simulation according to a structure of an I/O area of a microcomputer, the apparatus comprising:

a unit obtaining specification information of the microcomputer describing an input and an output condition of a hardware resource in the I/O area;

a unit detecting a simulation of a reference instruction to the hardware resource executed by the I/O simulator;

a unit determining correctness of the reference instruction by comparing a content of the simulation of the reference instruction detected by the detecting unit with the input and output condition of the hardware resource included in the specification information obtained by the obtaining unit; and

a unit outputting an error signal when the determining unit determines that the reference instruction is incorrect,

wherein the determining unit determines that the reference instruction is correct when an address of the hardware resource referred to in the simulation detected by the detecting unit coincides with an address described in the input and output condition of the hardware resource and when a timing of access to the hardware, resource coincides with the input and output condition.

5. The instruction check apparatus according to claim 4 ,

wherein the outputting unit outputs an error message providing notification of incorrect timing of access to the hardware resource when the determining unit determines that the reference instruction is incorrect.

6. The instruction check apparatus according to claim 4 , further comprising a unit inserting, into the reference instruction, a correction code to execute reference to correct hardware when the determining unit determines that that the reference instruction is incorrect.

7. An I/O simulator that performs an operation simulation according to a structure of an I/O area of a microcomputer, the I/O simulator comprising:

a unit obtaining specification information of the microcomputer describing an input and an output condition of a hardware resource in the I/O area;

a unit detecting a simulation of a reference instruction to the hardware resource executed by the I/O simulator;

a unit determining correctness of the reference instruction by comparing a content of the simulation of the reference instruction detected by the detecting unit with the input and output condition of the hardware resource included in the specification information obtained by the obtaining unit; and

a unit outputting an error signal when the determining unit determines that the reference instruction is incorrect,

wherein the determining unit determines that the reference instruction is correct when an address of the hardware resource referred to in the simulation detected by the detecting unit coincides with an address described in the input and output condition of the hardware resource and when a timing of access to the hardware resource coincides with the input and output condition.

8. The I/O simulator according to claim 7 ,

wherein the outputting unit outputs an error message providing notification of incorrect timing of access to the hardware resource when the determining unit determines that the reference instruction is incorrect.

9. The I/O. simulator according to claim 7 , further comprising further comprising a unit inserting, into the reference instruction, a correction code to execute reference to correct hardware when the determining unit determines that that the reference instruction is incorrect.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 27, 2015
From: FUJITSU SEMICONDUCTOR LIMITED
To: SOCIONEXT INC.
Reel/Frame 035508/0637 →
CHANGE OF NAME Recorded Jul 27, 2010
From: FUJITSU MICROELECTRONICS LIMITED
To: FUJITSU SEMICONDUCTOR LIMITED
Reel/Frame 024794/0500 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 24, 2008
From: WATANABE, MANABU
To: FUJITSU MICROELECTRONICS LIMITED
Reel/Frame 022047/0362 →