svt_triggered_timer Class Reference

Inheritance diagram for class svt_triggered_timer:

List of all members.


Detailed Description

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, ovm_report_object reporter = null )
function void  start_timer ( real positive_fuse_value, string reason = "", bit zero_is_infinite = 1, bit allow_restart = 0 )

Public Attributes


Member Function Documentation

  function void
 svt_triggered_timer::kill_timer

 (   ) 


Function to kill the timer. Insures that all of the internal processes are stopped.

  function void
 svt_triggered_timer::new

 (  string suite_name , string inst , svt_err_check check = null, ovm_report_object reporter = null  ) 


Creates a new instance of this class.

inst - The name of the timer instance, for its logger.

check - Provides access to a checker package to track the success/failure of the timer.

reporter - An component through which messages are routed


 Superseded functions 
 svt_timer :: new 

  function void
 svt_triggered_timer::start_timer

 (  real positive_fuse_value , string reason = "", bit zero_is_infinite = 1, bit allow_restart = 0  ) 


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.


 Superseded functions 
 svt_timer :: start_timer 


Member Attribute Documentation