Inheritance diagram for class svt_triggered_timer:
This class implements a timer which can be shared between processes, and which does not need to be started or stopped from within permanent processes. This timer is extended from svt_timer and otherwise implements the same basic feature set as the svt_timer.
Public Member Functions | |
| function void | kill_timer ( ) |
| function void | new ( string suite_name, string inst, svt_err_check check = null, vmm_log log = null ) |
| function void | start_timer ( real positive_fuse_value, string reason = "", bit zero_is_infinite = 1, bit allow_restart = 0 ) |
Public Attributes | |
|
||
Function to kill the timer. Insures that all of the internal processes are stopped.
|
|
||||
|
|
||||
Start the timer, setting up a timeout based on positive_fuse_value. If timer is already active and allow_restart is 1 then the positive_fuse_value and zero_is_infinite fields are used to update the state of the timer and then a restart is initiated. If timer is already active and allow_restart is 0 then a warning is generated and the timer is not restarted. positive_fuse_value - The timeout time, interpreted by the do_delay method. reason - String that describes the reason for the start, and which is used to indicate the start reason in the start messages. zero_is_infinite - Indicates whether a positive_fuse_value of zero should be interpreted as an immediate (0) or infinite (1) timeout request. allow_restart - When set to 1, allow a restart if the timer is already active. | ||||
|