×

CONTROLLING SIMULATION SYSTEMS

  • US 20120101791A1
  • Filed: 09/27/2011
  • Published: 04/26/2012
  • Est. Priority Date: 10/20/2010
  • Status: Abandoned Application
First Claim
Patent Images

1. A method for controlling a simulation system including a plant simulator, an instruction set simulator, a peripheral simulator, and a scheduler that run on a computer, wherein an interrupt signal is input to the instruction set simulator, the instruction set simulator inputs an I/O instruction to the peripheral simulator, the peripheral simulator inputs a pulse signal to the plant simulator, and the scheduler provides an instruction to advance operations of the plant simulator, the instruction set simulator, and the peripheral simulator, the method comprising:

  • storing, in a storage device of the computer, a first-stage table in which a value of a predicted time until arrival of an I/O instruction and a type of the I/O instruction are included as entries for each program counter of the instruction set simulator;

    storing, in the storage device of the computer, a second-stage table in which a value of an earliest time until an output event from the peripheral simulator is included as an entry for each type of I/O instruction;

    the scheduler querying the plant simulator, the instruction set simulator, and the peripheral simulator for a next event time;

    the plant simulator returning a pre-calculated next event time in response to the query from the scheduler;

    the peripheral simulator returning a pre-calculated next event time in response to the query from the scheduler;

    the instruction set simulator, in response to the query from the scheduler, looking up the first-stage table with reference to a value of the program counter to obtain the type of the I/O instruction and the value of the predicted time until arrival of the I/O instruction, looking up the second-stage table with reference to the obtained type of the I/O instruction to obtain the value of the earliest time until the output event from the peripheral simulator, and returning a sum of the value of the predicted time until arrival of the I/O instruction and the value of the earliest time until the output event from the peripheral simulator as a next event time; and

    the scheduler advancing a simulation to an earliest event time among the next event times returned from the plant simulator, the instruction set simulator, and the peripheral simulator.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×