Method of simulating operation of logical unit, and computer-readable recording medium retaining program for simulating operation of logical unit
First Claim
1. A method of simulating an operation of a logical unit, comprising:
- a resource requesting step in which a thread manager, which controls threads each forming an execution unit of a program, makes a request for a hardware resource needed for execution of each of threads representative of a series of functions required until the operation of said logical unit reaches completion according to a design specification of said logical unit, to a resource manager which manages said hardware resource;
are source allocating step in which said resource manager allocates said hardware resource meeting said request to said thread in accordance with a rule prescribed in advance; and
a thread control step in which said thread manager controls an execution state of said thread in accordance with a result of the allocation made by said resource manager, said thread manager and said resource manager executing said steps repeatedly in cooperation with each other until the execution of said thread reaches completion, for simulating the operation of said logical unit to be conducted up to the completion.
1 Assignment
0 Petitions
Accused Products
Abstract
A thread manager makes a request to a resource manager for a hardware resource needed for execution of a thread representative of a function of a logical unit, the resource manager allocates the resource in response to the request, and the thread manager controls an execution state of the thread in accordance with a result of the allocation. The thread and resource managers conduct the request, the allocation and the control repeatedly in cooperation with each other until the execution of the thread reaches completion, thus achieving a simulation of the operation of the logical unit. Accordingly, through the operation simulation, it is possible to make the confirmation of the function and the evaluation of an architecture at an initial stage of the design of the logical unit, and further to cope flexibly with an alteration of the architecture by means of a minimum change of description.
-
Citations
41 Claims
-
1. A method of simulating an operation of a logical unit, comprising:
-
a resource requesting step in which a thread manager, which controls threads each forming an execution unit of a program, makes a request for a hardware resource needed for execution of each of threads representative of a series of functions required until the operation of said logical unit reaches completion according to a design specification of said logical unit, to a resource manager which manages said hardware resource;
are source allocating step in which said resource manager allocates said hardware resource meeting said request to said thread in accordance with a rule prescribed in advance; and
a thread control step in which said thread manager controls an execution state of said thread in accordance with a result of the allocation made by said resource manager, said thread manager and said resource manager executing said steps repeatedly in cooperation with each other until the execution of said thread reaches completion, for simulating the operation of said logical unit to be conducted up to the completion. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40)
-
-
12. A method of simulating an operation of a logical unit, comprising:
-
a resource requesting step in which a thread manager, which controls threads each forming an execution unit of a program, makes a request for a hardware resource needed for execution of each of a series of threads representative of functions required until the operation of said logical unit reaches completion according to a design specification of said logical unit, to a resource manager which manages said hardware resource;
a resource allocating step in which said resource manager allocates said hardware resource meeting said request to said thread in accordance with a rule prescribed in advance;
a thread control step in which said thread manager controls an execution state of said thread in accordance with a result of the allocation made by said resource manager, with said thread manager and said resource manager executing said steps repeatedly in cooperation with each other until the execution of said thread reaches completion, for simulating the operation of said logical unit to be conducted up to the completion, said method further comprising;
a comparison step of comparing a result of the simulation with an estimated value on said operation of said logical unit; and
an output step of outputting a result of the comparison in said comparison step to an external unit.
-
-
13. An apparatus for simulating an operation of a logical unit, comprising:
-
a thread manager for controlling a thread forming an execution unit of a program; and
a resource manager for managing a hardware resource needed for execution of said thread, said thread manager including;
resource requesting means for making a request for a hardware resource needed for execution of a thread representative of functions required until the operation of said logical unit reaches completion according to a design specification of said logical unit, to said resource manager; and
thread control means for controlling an execution state of said thread in accordance with a result of a resource allocation made by said resource manager in response to the request from said resource requesting means, said resource manager including;
resource allocating means for allocating a hardware resource meeting the request to said thread in accordance with a rule prescribed in advance, said thread manager and said resource manager conducting the resource request and the control of the thread execution state repeatedly in cooperation with each other until the execution of said thread reaches completion, for simulating the operation of said logical unit to be conducted up to the completion.
-
-
14. A computer readable recording medium retaining a program for simulation of an operation of a logical unit,
said simulation program making a computer function as a thread manager for controlling threads each forming an execution unit of said program and as a resource manager for managing a hardware resource needed for execution of each of threads, and said simulation program executing: -
a resource requesting step in which said thread manager makes a request for a hardware resource needed for execution of threads representative of a series of functions required until the operation of said logical unit reaches completion according to a design specification of said logical unit, to said resource manager;
a resource allocating step in which said resource manager allocates said hardware resource meeting the request to said thread in accordance with a rule prescribed in advance; and
a thread control step in which said thread manager controls an execution state of said thread in accordance with a result of the allocation made by said resource manager, said thread manager and said resource manager executing said steps repeatedly in cooperation with each other until the execution of said thread reaches completion, for simulating the operation of said logical unit to be conducted up to the completion.
-
-
41. A computer readable recording medium retaining a program for simulation of an operation of a logical unit,
said simulation program making a computer execute: -
a resource requesting step in which a thread manager, which controls threads each forming an execution unit of a program, makes a request for a hardware resource needed for execution of each of threads representative of functions required until the operation of said logical unit reaches completion according to a design specification of said logical unit, to a resource manager which manages said hardware resource;
a resource allocating step in which said resource manager allocates said hardware resource meeting said request to said thread in accordance with a rule prescribed in advance;
a thread control step in which said thread manager controls an execution state of said thread in accordance with a result of the allocation made by said resource manager, said thread manager and said resource manager executing said steps repeatedly in cooperation with each other until the execution of said thread reaches completion, for simulating the operation of said logical unit to be conducted up to the completion, and said method further comprising;
a comparison step of comparing a result of the simulation with an estimated value on said operation of said logical unit; and
an output step of outputting a result of the comparison in said comparison step to an external unit.
-
Specification