Nova Patents
EP0332362A2

Logic simulation method and apparatus.

Abstract

Determining the operation of a logic circuit through calculation is generally called logic simulation. Especially, in event driven type logic simulation, signal status changes at input and output terminals of an element of the logic circuit are deemed as events and only for an element in which an event occurs at its input terminal, the signal status at its output terminal is calculated. In the event driven type logic simulation, a series of signal status changes externally applied to the logic circuit is stored, as injection events, in a memory of a logic simulation apparatus. If injection events are all stored in the memory before execution of the simulation or injection events are stored in the memory by temporarily stopping the simulation after start thereof, most of memory capacity is consumed by the injection events or simulation speed is degraded. To solve this problem, an identifier (called color) is added to an event and when an injection event is injected, the injected event is associated with auxiliary time representing a minimum of values of event times of injection events expected to be injected after injection of that injected event. Color and auxiliary time are used to permit execution of the simulation in parallel with injection of injection events.

EP0332362A2, drawing sheet 1
Sheet 1 of 12

Term

Term ended

Projected expiry passed 6 March 2009, 17.6 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

4 claims: 4 independent, 0 dependent

  1. 1
    A logic simulation method using a logic simulation processor (4, 5) for receiving an event and calculating a signal status change in a logic circuit to be simulated through the use of event driven type algorithm, an event injection unit (2) for delivering an event representative of a signal status change externally applied to said logic circuit, a current time output unit (1) for delivering current time and a time storage unit (6) for storing time, wherein an event is added with an identifier for discriminating an event delivered out of said event injection unit from the other events, storage of events is effected by said logic simulation processor, one of stored events having event time coincident with the current time is processed, auxiliary time is delivered out of said event injection unit when said event injection unit delivers an event, said auxiliary time representing a minimum of values of event times of events expected to be delivered out of said event injection unit after delivery of that delivered event, said auxiliary time is stored in said time storage unit when said logic simulation processor stores said delivered event from said event injection unit, and the current time is updated by said current time output unit within a range of values stored in said time storage unit when an event relating to the current time disappears in said logic simulation processor.
  2. 2
    A logic simulation method using a logic simula­tion processor (4, 5) for receiving an event and calculating a signal status change in a logic circuit to be simulated through the use of event driven type algorithm, an event injection unit (2) for delivering an event representative of a signal status change externally applied to said logic circuit and current time output unit (1) for delivering current time, wherein an event is added with an identifier for discriminating an event delivered out of said event injection unit from the other events, the present time is updated by said current time output unit when an event relating to the current time disappears in said logic simulation processor, and an event to be processed preferentially is determined by means of said logic simulation processor by using said identifier.
  3. 3
    A logic simulation apparatus comprising:a logic simulation processor (4, 5) for receiving an event and calculating a signal status change in a logic circuit to be simulated through the use of event driven type algorithm, an event injection unit (2) for delivering an event representative of a signal status change externally applied to said logic circuit, a current time output unit (1) for delivering present time and a time storage unit (6) for storing time, said event injection unit being operable to add to an event an identifier for discrimi­nating an event delivered out of said event injection unit from the other events, said logic simulation processor including an event storage unit (7, 8) for storing events, means for taking out an event having event time coincident with the current time from said event storage unit, means for processing the event taken out of said event storage unit, and means for deciding whether an event relating to the current time exists in said logic simulation processor, said event injection unit delivering, when delivering an event, auxiliary time representative of a minimum of values of event times of events expected to be delivered out of said event injection unit after delivery of that delivered event, said time storage unit storing said auxiliary time when said event storage unit stores said delivered event from said event injection unit, said current time output unit having means for comparing a value stored in said time storage unit with the current time so that the current time may be updated within a range of values stored in said time storage unit when an event relating to the current time disappears in said logic simulation processor.
  4. 4
    A logic simulation apparatus comprising a logic simulation processor (4, 5) for receiving an event and calculating a signal status change in a logic circuit to be simulated through the use of event driven type algorithm, an event injection unit (2) for delivering an event representative of a signal status change externally applied to said logic circuit and a present time output unit (1) for delivering present time, said event injection unit being operable to add to an event an identifier for discriminating an event delivered out of said event injection unit from the other events, said current time output unit updating the present time when an event relating to the current time disappears in said logic simulation processor, said logic simulation processor including means for deciding whether an event relating to the current time exists in said logic simulation processor, buffer memories (11, 12) for storing events in accordance with the kind of identifier and means for taking out events from said buffer memories, said event take-out means being operable to preferentially take out an event having a specified identifier from said buffer memories.