Patent ID: 7596792

Claim:
A method for determining an event occurrence for different types of events, the method comprising steps of: (a) determining if an event type is an edge event type or a level event type by evaluating an event type register; (b) monitoring for the event occurrence based on whether the event type is the edge event type or the level event type, comprising: (1) receiving an event signal from an event source, the event signal is a signal type selected from a group consisting of: a first signal type and a second signal type; and (2) evaluating the event signal over a predetermined duration which is defined by using reference lock cycles and monitoring the event occurrence based on the evaluating event signal and based on whether the event type is the edge event type or the level event type by using an event logic to determine if an event occurs, wherein an event occurs if the received event signal changes from the first signal type to the second signal type and back to the first signal type, and wherein the received event signal of the second signal type is received for the predetermined duration, otherwise no event occurs; and (3) repeating the receiving step (1) and the evaluating step (2); (c) if the event occurs, communicating the event occurrence to an agent by using an output port, wherein said method is implemented by a computer, and wherein the determining step (a) uses a configuration table stored in a memory to identify the event type as the edge event type or the level event type.