×

Method and apparatus for logic simulation

  • US 5,053,980 A
  • Filed: 03/06/1989
  • Issued: 10/01/1991
  • Est. Priority Date: 03/10/1988
  • Status: Expired due to Term
First Claim
Patent Images

1. A logic simulation method of a parallel processing type for calculating an operation of a logic circuit to be simulated by using an algorithm of an event driven type, wherein a value calculated as a current simulation time, denominated as current time, is used, and a change of a signal state occurring at an input terminal and an output terminal of an element included in said logic circuit is represented by data denominated as events, said events includinga value, denominated as an event time, representing a time when the change of the signal state has occurred,a value representing to what state the signal state has changed, anda value representing the input terminal or the output terminal of the element where the signal state has changed, andin which algorithm,an event having an event time equal to the current time is decided to be processible,the signal state of the output terminal of the element is calculated anew only with respect to the element which is represented by the processible event and the signal state of whose input terminal has changed, andonly when the signal state of the output terminal has changed is an event representing the change of the signal state of the output terminal generated anew, andwherein each of the events has an identifier for classifying the events into a plurality of groups,said logic simulation method comprising the steps of:

  • (a) storing data representing changes of the states of signals applied to the input terminal of said logic circuit as unprocessed event groups;

    (b) taking out, from the stored unprocessed event groups, an event having an event time equal to the current time and erasing the event which has been stored;

    (c) setting a value to an identifier of the taken-out event;

    (d) processing the event, to whose identifier a value has been set, by using the algorithm of the event driven type and storing, as a new unprocessed event, a newly calculated event by the processing using the algorithm of the event driven type;

    (e) deciding whether or not an event having an event time equal to the current time is present in the stored unprocessed event groups;

    (f) selecting one of values which can be assumed by the identifiers for classifying the events into a plurality of groups;

    (g) deciding whether or not an event, to whose identifier a value equal to the selected value has been set, is present in the other stored unprocessed event groups; and

    (h) updating the current time when it is decided that an event having the event time equal to the current time is not present in the stored unprocessed event groups, and when it is decided that an event, to whose identifier a value equal to the selected value has been set, is not present in the other stored unprocessed event groups;

    said steps (a)-(h) being processible in parallel with one another.

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