| A | |
| accept_tr | |
| add | |
| add_callback | |
| add_cb | |
| add_sequence | |
| all_dropped | |
| apply_config_settings | |
| B | |
| begin_child_tr | |
| begin_tr | |
| body | |
| build | |
| C | |
| call_func | |
| call_task | |
| callback_mode | |
| can_get | |
| can_peek | |
| can_put | |
| cancel | |
| check | |
| check_config_usage | |
| clear_response_queue | |
| clone | |
| compare | |
| compare_field | |
| compare_field_int | |
| compare_field_real | |
| compare_object | |
| compare_string | |
| compose_message | |
| connect | |
| convert2string | |
| copy | |
| create | |
| create_component | |
| create_component_by_name | |
| create_component_by_type | |
| create_item | |
| create_object | |
| create_object_by_name | |
| create_object_by_type | |
| current_grabber | |
| D | |
| debug_connected_to | |
| debug_create_by_name | |
| debug_create_by_type | |
| debug_provided_to | |
| delete | |
| delete_callback | |
| delete_cb | |
| die | |
| disable_recording | |
| display_cbs | |
| display_objections | |
| do_accept_tr | |
| do_begin_tr | |
| do_compare | |
| do_copy | |
| do_end_tr | |
| do_kill_all | |
| do_pack | |
| do_print | |
| do_record | |
| do_sequence_kind | |
| do_unpack | |
| drop | |
| drop_objection | |
| dropped | |
| dump_report_state | |
| dump_server_state | |
| E | |
| enable_recording | |
| end_of_elaboration | |
| end_tr | |
| execute_item | |
| exists | |
| extract | |
| F | |
| find | |
| find_all | |
| find_override_by_name | |
| find_override_by_type | |
| finish_item | |
| first | |
| flush | |
| force_stop | |
| format_action | |
| G | |
| generate_stimulus | |
| get | |
| get_accept_time | |
| get_action | |
| get_begin_time | |
| get_child | |
| get_comp | |
| get_config_int | |
| get_config_object | |
| get_config_string | |
| get_count | |
| get_current_item | |
| get_current_phase | |
| get_depth | |
| get_drain_time | |
| get_end_time | |
| get_event_pool | |
| get_file_handle | |
| get_first_child | |
| get_full_name | |
| get_global | |
| get_global_cbs | |
| get_global_pool | |
| get_global_queue | |
| get_id_count | |
| get_if | |
| get_initiator | |
| get_inst_count | |
| get_inst_id | |
| get_max_quit_count | |
| get_name | |
| get_next_child | |
| get_next_item | |
| get_num_children | |
| get_num_last_reqs | |
| get_num_last_rsps | |
| get_num_reqs_sent | |
| get_num_rsps_received | |
| get_num_waiters | |
| get_object_type | |
| get_objection_count | |
| get_objection_total | |
| get_packed_size | |
| get_parent | |
| get_parent_sequence | |
| get_phase_by_name | |
| get_priority | |
| get_quit_count | |
| get_radix_str | |
| get_report_action | |
| get_report_file_handle | |
| get_report_handler | |
| get_report_server | |
| get_report_verbosity_level | |
| get_response | |
| get_response_queue_depth | |
| get_response_queue_error_report_disabled | |
| get_root_sequence | |
| get_root_sequence_name | |
| get_seq_kind | |
| get_sequence | |
| get_sequence_by_name | |
| get_sequence_id | |
| get_sequence_path | |
| get_sequence_state | |
| get_sequencer | |
| get_server | |
| get_severity_count | |
| get_threshold | |
| get_tr_handle | |
| get_transaction_id | |
| get_trigger_data | |
| get_trigger_time | |
| get_type | |
| get_type_name | |
| get_use_response_handler | |
| get_use_sequence_info | |
| get_verbosity_level | |
| global_stop_request | |
| grab | |
| H | |
| has_child | |
| has_do_available | |
| has_lock | |
| I | |
| in_stop_request | |
| incr_id_count | |
| incr_quit_count | |
| incr_severity_count | |
| insert | |
| insert_phase | |
| is_active | |
| is_blocked | |
| is_child | |
| is_done | |
| is_empty | |
| is_enabled | |
| is_export | |
| is_full | |
| is_grabbed | |
| is_imp | |
| is_in_progress | |
| is_item | |
| is_null | |
| is_off | |
| is_on | |
| is_port | |
| is_quit_count_reached | |
| is_recording_enabled | |
| is_relevant | |
| is_task | |
| is_top_down | |
| is_unbounded | |
| item_done | |
| K | |
| kill | |
| L | |
| last | |
| last_req | |
| last_rsp | |
| lock | |
| lookup | |
| M | |
| max_size | |
| mid_do | |
| min_size | |
| N | |
| nb_transport | |
| new ovm_*_export#(REQ,RSP)ovm_*_export#(T)ovm_*_imp#(REQ,RSP,IMP,REQ_IMP,RSP_IMP)ovm_*_imp#(T,IMP)ovm_*_port#(REQ,RSP)ovm_*_port#(T)ovm_agentovm_algorithmic_comparator#(BEFORE,AFTER,TRANSFORMER)ovm_barrierovm_built_in_pair#(T1,T2)ovm_callbackovm_callbacks#(T,CB)ovm_componentovm_driver#(REQ,RSP)ovm_envovm_eventovm_event_callbackovm_monitorovm_objectovm_object_string_pool#(T)ovm_objectionovm_pair#(T1,T2)ovm_phaseovm_pool#(KEY,T)ovm_port_base#(IF)ovm_push_driver#(REQ,RSP)ovm_push_sequencer#(REQ,RSP)ovm_queue#(T)ovm_random_stimulus#(T)ovm_report_handlerovm_report_objectovm_report_serverovm_scoreboardovm_sequence#(REQ,RSP)ovm_sequence_baseovm_sequence_itemovm_sequencer#(REQ,RSP)ovm_sequencer_baseovm_sequencer_param_base#(REQ,RSP)ovm_subscriberovm_testovm_transactiontlm_analysis_fifo#(T)tlm_fifo#(T)tlm_fifo_base#(T)tlm_req_rsp_channel#(REQ,RSP)tlm_transport_channel#(REQ,RSP) | |
| next | |
| num | |
| num_sequences |
This function marks the acceptance of a transaction, tr, by this component.
function void accept_tr ( ovm_transaction tr, time accept_time = )
Calling accept_tr indicates that the transaction has been accepted for processing by a consumer component, such as an ovm_driver.
function void accept_tr ( time accept_time = )
Adds the given (key, item) pair to the pool.
virtual function void add ( KEY key, T item )
Registers a callback object, cb, with this event.
virtual function void add_callback ( ovm_event_callback cb, bit append = 1 )
Registers the given callback object, cb, with the given obj handle.
virtual function void add_cb( T obj, CB cb, bit append = 1 )
Adds a sequence of type specified in the type_name paramter to the sequencer’s sequence library.
function void add_sequence( string type_name )
The all_dropped callback is called when a decendant of the component instance raises the specfied objection.
virtual task all_dropped ( ovm_objection objection, ovm_object source_obj, int count )
Objection callback that is called when a drop_objection has reached obj, and the total count for obj goes to zero.
virtual task all_dropped ( ovm_object obj, ovm_object source_obj, int count )
task ovm_root::all_dropped ( ovm_objection objection, ovm_object source_obj, int count )
This callback is called when the given object’s objection count reaches zero; if the object is the implicit top-level, ovm_top then it means there are no more objections raised for the ovm_test_done objection.
virtual task all_dropped ( ovm_object obj, ovm_object source_obj, int count )
Searches for all config settings matching this component’s instance path.
virtual function void apply_config_settings ( bit verbose = )
This function marks the start of a child transaction, tr, by this component.
function integer begin_child_tr ( ovm_transaction tr, integer parent_handle = 0, string stream_name = "main", string label = "", string desc = "", time begin_time = 0 )
This function indicates that the transaction has been started as a child of a parent transaction given by parent_handle.
function integer begin_child_tr ( time begin_time = 0, integer parent_handle = 0 )
This function marks the start of a transaction, tr, by this component.
function integer begin_tr ( ovm_transaction tr, string stream_name = "main", string label = "", string desc = "", time begin_time = 0 )
This function indicates that the transaction has been started and is not the child of another transaction.
function integer begin_tr ( time begin_time = )
This is the user-defined task where the main sequence code resides.
virtual task body()
The build phase callback is the first of several methods automatically called during the course of simulation.
virtual function void build ()
Calls the function-based phase of the component given by parent.
virtual function void call_func ( ovm_component parent )
Calls the task-based phase of the component given by parent, which must be derived from ovm_component.
virtual task call_task ( ovm_component parent )
Enable/disable callbacks (modeled like rand_mode and constraint_mode).
function void callback_mode( bit on )
Returns 1 if a new transaction can be provided immediately upon request, 0 otherwise.
virtual function bit can_get()
Returns 1 if a new transaction is available; 0 otherwise.
virtual function bit can_peek()
Returns 1 if the component is ready to accept the transaction; 0 otherwise.
virtual function bit can_put()
Decrements the waiter count by one.
virtual function void cancel ()
Decrements the number of waiters on the event.
virtual function void cancel ()
The check phase callback is one of several methods automatically called during the course of simulation.
virtual function void check ()
Check all configuration settings in a components configuration table to determine if the setting has been used, overridden or not used.
function void check_config_usage ( bit recurse = 1 )
Empties the response queue for this sequence.
virtual function void clear_response_queue()
The clone method creates and returns an exact copy of this object.
virtual function ovm_object clone ()
The compare method deep compares this data object with the object provided in the rhs (right-hand side) argument.
function bit compare ( ovm_object rhs, ovm_comparer comparer = null )
Compares two integral values.
virtual function bit compare_field ( string name, ovm_bitstream_t lhs, ovm_bitstream_t rhs, int size, ovm_radix_enum radix = OVM_NORADIX )
This method is the same as compare_field except that the arguments are small integers, less than or equal to 64 bits.
virtual function bit compare_field_int ( string name, logic[63:0] lhs, logic[63:0] rhs, int size, ovm_radix_enum radix = OVM_NORADIX )
This method is the same as compare_field except that the arguments are real numbers.
virtual function bit compare_field_real ( string name, real lhs, real rhs )
Compares two class objects using the policy knob to determine whether the comparison should be deep, shallow, or reference.
virtual function bit compare_object ( string name, ovm_object lhs, ovm_object rhs )
Compares two string variables.
virtual function bit compare_string ( string name, string lhs, string rhs )
Constructs the actual string sent to the file or command line from the severity, component name, report id, and the message itself.
virtual function string compose_message( ovm_severity severity, string name, string id, string message, string filename, int line )
The connect phase callback is one of several methods automatically called during the course of simulation.
virtual function void connect ()
Connects this port to the given provider port.
virtual function void connect ( this_type provider )
The copy method returns a deep copy of this object.
function void copy ( ovm_object rhs )
Returns an instance of the component type, T, represented by this proxy, subject to any factory overrides based on the context provided by the parent’s full name.
static function T create( string name, ovm_component parent, string contxt = "" )
The create method allocates a new object of the same type as this object and returns it via a base ovm_object handle.
virtual function ovm_object create ( string name = "" )
Returns an instance of the object type, T, represented by this proxy, subject to any factory overrides based on the context provided by the parent’s full name.
static function T create ( string name = "", ovm_component parent = null, string contxt = "" )
A convenience function for ovm_factory::create_component_by_name, this method calls upon the factory to create a new child component whose type corresponds to the preregistered type name, requested_type_name, and instance name, name.
function ovm_component create_component ( string requested_type_name, string name )
Creates a component of type T having the provided name and parent.
virtual function ovm_component create_component ( string name, ovm_component parent )
Creates a new component, passing to its constructor the given name and parent.
virtual function ovm_component create_component ( string name, ovm_component parent )
Creates and returns a component or object of the requested type, which may be specified by type or by name.
function ovm_component create_component_by_name ( string requested_type_name, string parent_inst_path = "", string name, ovm_component parent )
function ovm_component create_component_by_type ( ovm_object_wrapper requested_type, string parent_inst_path = "", string name, ovm_component parent )
Create_item will create and initialize a sequence_item or sequence using the factory.
protected function ovm_sequence_item create_item( ovm_object_wrapper type_var, ovm_sequencer_base l_sequencer, string name )
A convenience function for ovm_factory::create_object_by_name, this method calls upon the factory to create a new object whose type corresponds to the preregistered type name, requested_type_name, and instance name, name.
function ovm_object create_object ( string requested_type_name, string name = "" )
Creates an object of type T and returns it as a handle to an ovm_object.
virtual function ovm_object create_object( string name = "" )
Creates a new object with the optional name.
virtual function ovm_object create_object ( string name = "" )
function ovm_object create_object_by_name ( string requested_type_name, string parent_inst_path = "", string name = "" )
function ovm_object create_object_by_type ( ovm_object_wrapper requested_type, string parent_inst_path = "", string name = "" )
Returns a reference to the sequence that currently has a lock or grab on the sequence.
virtual function ovm_sequence_base current_grabber()
The debug_connected_to method outputs a visual text display of the port/export/imp network to which this port connects (i.e., the port’s fanout).
function void debug_connected_to ( int level = 0, int max_level = -1 )
These methods perform the same search algorithm as the create_* methods, but they do not create new objects.
function void debug_create_by_name ( string requested_type_name, string parent_inst_path = "", string name = "" )
function void debug_create_by_type ( ovm_object_wrapper requested_type, string parent_inst_path = "", string name = "" )
The debug_provided_to method outputs a visual display of the port/export network that ultimately connect to this port (i.e., the port’s fanin).
function void debug_provided_to ( int level = 0, int max_level = -1 )
Removes the item with the given string key from the pool.
virtual function void delete ( string key )
Removes the item with the given key from the pool.
virtual function void delete ( KEY key )
Removes the item at the given index from the queue; if index is not provided, the entire contents of the queue are deleted.
virtual function void delete ( int index = -1 )
Unregisters the given callback, cb, from this event.
virtual function void delete_callback ( ovm_event_callback cb )
Removes a previously registered callback, cb, for the given object, obj.
virtual function void delete_cb( T obj, CB cb )
This method is called by the report server if a report reaches the maximum quit count or has an OVM_EXIT action associated with it, e.g., as with fatal errors.
virtual function void die()
Turns off recording for the transaction stream.
function void disable_recording ()
Displays information about all registered callbacks for the given obj handle.
function void display_cbs( T obj = null )
Displays objection information about the given object.
protected function string m_display_objections( ovm_object obj = null, bit show_header = 1 )
The accept_tr method calls this function to accommodate any user-defined post-accept action.
virtual protected function void do_accept_tr ( ovm_transaction tr )
This user-definable callback is called by accept_tr just before the accept event is triggered.
virtual protected function void do_accept_tr ()
The begin_tr and begin_child_tr methods call this function to accommodate any user-defined post-begin action.
virtual protected function void do_begin_tr ( ovm_transaction tr, string stream_name, integer tr_handle )
This user-definable callback is called by begin_tr and begin_child_tr just before the begin event is triggered.
virtual protected function void do_begin_tr ()
The do_compare method is the user-definable hook called by the compare method.
virtual function bit do_compare ( ovm_object rhs, ovm_comparer comparer )
The do_copy method is the user-definable hook called by the copy method.
virtual function void do_copy ( ovm_object rhs )
The end_tr method calls this function to accommodate any user-defined post-end action.
virtual protected function void do_end_tr ( ovm_transaction tr, integer tr_handle )
This user-definable callback is called by end_tr just before the end event is triggered.
virtual protected function void do_end_tr ()
Recursively calls kill on this component and all its descendants, which abruptly ends the currently running task-based phase, e.g., run.
virtual function void do_kill_all ()
The do_pack method is the user-definable hook called by the pack methods.
virtual function void do_pack ( ovm_packer packer )
The do_print method is the user-definable hook called by print and sprint that allows users to customize what gets printed or sprinted beyond the field information provided by the `ovm_field_* macros.
virtual function void do_print ( ovm_printer printer )
The do_record method is the user-definable hook called by the record method.
virtual function void do_record ( ovm_recorder recorder )
This task will start a sequence of kind specified by req_kind, which can be obtained using the get_seq_kind method.
task do_sequence_kind( int unsigned req_kind )
The do_unpack method is the user-definable hook called by the unpack method.
virtual function void do_unpack ( ovm_packer packer )
Calls ovm_objection::drop_objection after calling qualify.
virtual function void drop_objection ( ovm_object obj = null, int count = 1 )
Drops the number of objections for the source object by count, which defaults to 1.
function void drop_objection ( ovm_object obj = null, int count = 1 )
The dropped callback is called when a decendant of the component instance raises the specfied objection.
virtual function void dropped ( ovm_objection objection, ovm_object source_obj, int count )
Objection callback that is called when a drop_objection has reached obj.
virtual function void dropped ( ovm_object obj, ovm_object source_obj, int count )
This method dumps the internal state of the report handler.
function void dump_report_state()
Dumps server state information.
function void dump_server_state()
Turns on recording to the stream specified by stream, whose interpretation is implementation specific.
function void enable_recording ( string stream )
The end_of_elaboration phase callback is one of several methods automatically called during the course of simulation.
virtual function void end_of_elaboration ()
This function marks the end of a transaction, tr, by this component.
function void end_tr ( ovm_transaction tr, time end_time = 0, bit free_handle = 1 )
This function indicates that the transaction execution has ended.
function void end_tr ( time end_time = 0, bit free_handle = 1 )
This task allows the user to supply an item or sequence to the sequencer and have it be executed procedurally.
virtual task execute_item( ovm_sequence_item item )
Returns 1 if a item with the given key exists in the pool, 0 otherwise.
virtual function int exists ( KEY key )
The extract phase callback is one of several methods automatically called during the course of simulation.
virtual function void extract ()
function ovm_component find ( string comp_match )
Returns the component handle (find) or list of components handles (find_all) matching a given string.
function void find_all ( string comp_match, ref ovm_component comps[$], input ovm_component comp = null )
These methods return the proxy to the object that would be created given the arguments.
function ovm_object_wrapper find_override_by_name ( string requested_type_name, string full_inst_path )
function ovm_object_wrapper find_override_by_type ( ovm_object_wrapper requested_type, string full_inst_path )
finish_item, together with start_item together will initiate operation of either a sequence_item or sequence object.
virtual task finish_item( ovm_sequence_item item, int set_priority = -1 )
Returns the key of the first item stored in the pool.
virtual function int first ( ref KEY key )
This method sets m_matches and m_mismatches back to zero.
virtual function void flush()
Removes all entries from the FIFO, after which used returns 0 and is_empty returns 1.
virtual function void flush()
virtual task force_stop( ovm_object obj = null )
Returns a string representation of the action, e.g., “DISPLAY”.
function string format_action( ovm_action action )
Generate up to max_count transactions of type T.
virtual task generate_stimulus( T t = null, int max_count = 0 )
Returns the singleton instance of this type.
static function this_type get()
Returns the singleton instance of this type.
static function this_type get()
Returns the object item at the given string key.
virtual function T get ( string key )
Returns the item with the given key.
virtual function T get ( KEY key )
Returns the item at the given index.
virtual function T get ( int index )
Retrieves the next available item from a sequence.
virtual task get( output T1 t )
Provides a new transaction of type T.
virtual task get( output T2 t )
function time get_accept_time ()
Returns the action associated with the given severity and id.
function ovm_action get_action( ovm_severity severity, string id )
function time get_begin_time ()
function ovm_component get_child ( string name )
Returns a handle to the internal proxy component representing this port.
virtual function ovm_port_component_base get_comp()
virtual function bit get_config_int ( string field_name, inout ovm_bitstream_t value )
These methods retrieve configuration settings made by previous calls to their set_config_* counterparts.
virtual function bit get_config_object ( string field_name, inout ovm_object value, input bit clone = 1 )
virtual function bit get_config_string ( string field_name, inout string value )
Returns the count of the number of sub-sequences which are randomly generated.
function int unsigned get_count()
Returns the request item currently being executed by the sequencer.
function REQ get_current_item()
Returns the request_item currently being executed by the sequencer.
function REQ get_current_item()
Returns the handle of the currently executing phase.
function ovm_phase get_current_phase ()
Returns the depth of a sequence from it’s parent.
function int get_depth()
Returns the current drain time set for the given object (default: 0 ns).
function time get_drain_time ( ovm_object obj )
Returns the time at which this transaction was accepted, begun, or ended, as by a previous call to accept_tr, begin_tr, begin_child_tr, or end_tr.
function time get_end_time ()
Returns the event pool associated with this transaction.
function ovm_event_pool get_event_pool ()
Returns the file descriptor associated with the given severity and id.
function OVM_FILE get_file_handle( ovm_severity severity, string id )
These methods are used to iterate through this component’s children, if any.
function int get_first_child ( ref string name )
Returns the full hierarchical name of this object.
virtual function string get_full_name ()
Returns the full hierarchical name of this object.
virtual function string get_full_name ()
Returns the full hierarchical name of this port.
virtual function string get_full_name()
Returns the specified item instance from the global item pool.
static function T get_global ( string key )
Returns the specified item instance from the global item pool.
static function T get_global ( KEY key )
Returns the specified item instance from the global item queue.
static function T get_global ( int index )
Returns the singleton global pool for the item type, T.
static function this_type get_global_pool ()
Returns the singleton global pool for the item type, T.
static function this_type get_global_pool ()
Returns the singleton global queue for the item type, T.
static function this_type get_global_queue ()
function int get_id_count( string id )
Returns the implementation (imp) port at the given index from the array of imps this port is connected to.
function ovm_port_base #( IF ) get_if(int index=0)
Returns the component that produced or started the transaction, as set by a previous call to set_initiator.
function ovm_component get_initiator ()
Returns the current value of the instance counter, which represents the total number of ovm_object-based objects that have been allocated in simulation.
static function int get_inst_count()
Returns the object’s unique, numeric instance identifier.
virtual function int get_inst_id ()
Get or set the maximum number of COUNT actions that can be tolerated before an OVM_EXIT action is taken.
function int get_max_quit_count()
Returns the name of the object, as provided by the name argument in the new constructor or set_name method.
virtual function string get_name ()
Returns the name of the phase object as supplied in the constructor.
function string get_name ()
Returns the leaf name of this port.
function string get_name()
function int get_next_child ( ref string name )
Retrieves the next available item from a sequence.
virtual task get_next_item( output T1 t )
Returns the number of this component’s children.
function int get_num_children ()
Returns the size of the last requests buffer, as set by set_num_last_reqs.
function int unsigned get_num_last_reqs()
Returns the max size of the last responses buffer, as set by set_num_last_rsps.
function int unsigned get_num_last_rsps()
Returns the number of requests that have been sent by this sequencer.
function int get_num_reqs_sent()
Returns the number of responses received thus far by this sequencer.
function int get_num_rsps_received()
Returns the number of processes currently waiting at the barrier.
virtual function int get_num_waiters ()
Returns the number of processes waiting on the event.
virtual function int get_num_waiters ()
Returns the type-proxy (wrapper) for this object.
virtual function ovm_object_wrapper get_object_type ()
Returns the current number of objections raised by the given object.
function int get_objection_count ( ovm_object obj )
Returns the current number of objections raised by the given object and all descendants.
function int get_objection_total ( ovm_object obj = null )
Returns the number of bits that were packed.
virtual function int get_packed_size()
Returns a handle to this component’s parent, or null if it has no parent.
virtual function ovm_component get_parent ()
Returns the handle to this port’s parent, or null if it has no parent.
virtual function ovm_component get_parent()
Returns a reference to the parent sequence of any sequence on which this method was called.
function ovm_sequence_base get_parent_sequence()
Returns the handle of the phase having the given name.
function ovm_phase get_phase_by_name ( string name )
This function returns the current priority of the sequence.
function int get_priority()
function int get_quit_count()
Converts the radix from an enumerated to a printable radix according to the radix printing knobs (bin_radix, and so on).
function string get_radix_str ( ovm_radix_enum radix )
Gets the action associated with reports having the given severity and id.
function int get_report_action( ovm_severity severity, string id )
Gets the file descriptor associated with reports having the given severity and id.
function int get_report_file_handle( ovm_severity severity, string id )
Returns the underlying report handler to which most reporting tasks are delegated.
function ovm_report_handler get_report_handler()
Returns the ovm_report_server instance associated with this report object.
function ovm_report_server get_report_server()
Gets the verbosity level in effect for this object.
function int get_report_verbosity_level()
By default, sequences must retrieve responses by calling get_response.
task get_response( output RSP response, input int transaction_id = -1 )
Returns the current depth setting for the response queue.
function int get_response_queue_depth()
When this bit is 0 (default value), error reports are generated when the response queue overflows.
function bit get_response_queue_error_report_disabled()
Provides a reference to the root sequence (the top-most parent sequence).
function ovm_sequence_base get_root_sequence()
Provides the name of the root sequence (the top-most parent sequence).
function string get_root_sequence_name()
This function returns an int representing the sequence kind that has been registerd with the sequencer.
function int get_seq_kind( string type_name )
Returns an int seq_kind correlating to the sequence of type type_name in the sequencer¿s sequence library.
function int get_seq_kind( string type_name )
This function returns a reference to a sequence specified by req_kind, which can be obtained using the get_seq_kind method.
function ovm_sequence_base get_sequence( int unsigned req_kind )
Returns a reference to a sequence specified by the seq_kind int.
function ovm_sequence_base get_sequence( int req_kind )
Internal method.
function ovm_sequence_base get_sequence_by_name( string seq_name )
private
function int get_sequence_id()
Provides a string of names of each sequence in the full hierarchical path.
function string get_sequence_path()
Returns the sequence state as an enumerated value.
function ovm_sequence_state_enum get_sequence_state()
Returns a reference to the current default sequencer of the sequence.
virtual function ovm_sequencer_base get_sequencer()
These routines set and get the reference to the sequencer to which this sequence_item communicates.
function ovm_sequencer_base get_sequencer()
Returns a handle to the central report server.
function ovm_report_server get_server()
function int get_severity_count( ovm_severity severity )
Gets the current threshold setting for the barrier.
virtual function int get_threshold ()
Returns the handle associated with the transaction, as set by a previous call to begin_child_tr or begin_tr with transaction recording enabled.
function integer get_tr_handle ()
Returns this transaction’s numeric identifier, which is -1 if not set explicitly by set_transaction_id.
function integer get_transaction_id()
Gets the data, if any, provided by the last call to trigger.
virtual function ovm_object get_trigger_data ()
Gets the time that this event was last triggered.
virtual function time get_trigger_time ()
Returns the type-proxy (wrapper) for this object.
static function ovm_object_wrapper get_type ()
Returns the type name of this callback object.
virtual function string get_type_name()
Returns the value given by the string parameter, Tname.
virtual function string get_type_name()
This function returns the type name of the object, which is typically the type identifier enclosed in quotes.
virtual function string get_type_name ()
Returns the value given by the string parameter, Tname.
virtual function string get_type_name()
Returns the type name of this object.
virtual function string get_type_name()
Derived classes implement this method to return the type name of the object created by create_component or create_object.
pure virtual function string get_type_name()
Derived classes should override this method to return the phase type name.
virtual function string get_type_name()
Returns the type name to this port.
virtual function string get_type_name()
Returns the state of the use_response_handler bit.
function bit get_use_response_handler()
These methods are used to set and get the status of the use_sequence_info bit.
function bit get_use_sequence_info()
Returns the configured maximum verbosity level.
function int get_verbosity_level()
Convenience function for ovm_top.stop_request().
function void global_stop_request()
Requests a lock on the specified sequencer.
task grab( ovm_sequencer_base sequencer = null )
Requests a lock for the sequence specified by sequence_ptr.
virtual task grab( ovm_sequence_base sequence_ptr )
Returns 1 if this component has a child with the given name, 0 otherwise.
function int has_child ( string name )
Determines if a sequence is ready to supply a transaction.
virtual function bit has_do_available()
Indicates whether a sequence item is available for immediate processing.
virtual function bit has_do_available()
Returns 1 if this sequence has a lock, 0 otherwise.
function bit has_lock()
Returns 1 if the sequence refered to in the parameter currently has a lock on this sequencer, 0 otherwise.
function bit has_lock( ovm_sequence_base sequence_ptr )
This function returns 1 if a stop request is currently active, and 0 otherwise.
function bit in_stop_request()
Set, get, or increment the counter for reports with the given id.
function void incr_id_count( string id )
function void incr_quit_count()
function void incr_severity_count( ovm_severity severity )
Inserts the item at the given index in the queue.
virtual function void insert ( int index, T item )
Inserts a new phase given by new_phase after the existing phase given by exist_phase.
function void insert_phase ( ovm_phase new_phase, ovm_phase exist_phase )
Returns 1 if the transaction has been started but has not yet been ended.
function bit is_active ()
Returns a bit indicating whether this sequence is currently prevented from running due to another lock or grab.
function bit is_blocked()
Returns 1 if the sequence referred to by sequence_ptr is currently locked out of the sequencer.
function bit is_blocked( ovm_sequence_base sequence_ptr )
Returns 1 if the child sequence is a child of the parent sequence, 0 otherwise.
function bit is_child ( ovm_sequence_base parent, ovm_sequence_base child )
Returns 1 if the phase has completed, 0 otherwise.
function bit is_done ()
Returns 1 when there are no entries in the FIFO, 0 otherwise.
virtual function bit is_empty()
Returns 1 if the callback is enabled, 0 otherwise.
function bit is_enabled()
function bit is_export ()
Returns 1 when the number of entries in the FIFO is equal to its size, 0 otherwise.
virtual function bit is_full()
Returns 1 if any sequence currently has a lock or grab on this sequencer, 0 otherwise.
virtual function bit is_grabbed()
Returns 1 if this port is of the type given by the method name, 0 otherwise.
function bit is_imp ()
Returns 1 if the phase is currently in progress (active), 0 otherwise.
function bit is_in_progress ()
This function may be called on any sequence_item or sequence object.
virtual function bit is_item()
This function may be called on any sequence_item or sequence.
virtual function bit is_item()
This method is used during unpack operations to peek at the next 4-bit chunk of the pack data and determine if it is 0.
virtual function bit is_null ()
Indicates whether the event has been triggered or been reset.
virtual function bit is_off ()
Indicates whether the event has been triggered since it was last reset.
virtual function bit is_on ()
function bit is_port ()
If is_quit_count_reached returns 1, then the quit counter has reached the maximum.
function bit is_quit_count_reached()
Returns 1 if recording is currently on, 0 otherwise.
function bit is_recording_enabled()
The default is_relevant implementation returns 1, indicating that the sequence is always relevant.
virtual function bit is_relevant()
Returns 1 if the phase is time consuming and 0 if not.
function bit is_task ()
Returns 1 if the phase executes top-down (executes the parent¿s phase callback before executing the children¿s callback) and 0 otherwise.
function bit is_top_down ()
Returns 1 if this port has no maximum on the number of implementation (imp) ports this port can connect to.
function bit is_unbounded ()
Indicates that the request is completed to the sequencer.
virtual function void item_done( input T2 t = null )
Kills the process tree associated with this component’s currently running task-based phase, e.g., run.
virtual function void kill ()
This function will kill the sequence, and cause all current locks and requests in the sequence’s default sequencer to be removed.
function void kill()
Returns the key of the last item stored in the pool.
virtual function int last ( ref KEY key )
Returns the last request item by default.
function REQ last_req( int unsigned n = 0 )
Returns the last response item by default.
function RSP last_rsp( int unsigned n = 0 )
Requests a lock on the specified sequencer.
task lock( ovm_sequencer_base sequencer = null )
Requests a lock for the sequence specified by sequence_ptr.
virtual task lock( ovm_sequence_base sequence_ptr )
Looks for a component with the given hierarchical name relative to this component.
function ovm_component lookup ( string name )
This function is a user-definable callback function that is called after the sequence item has been randomized, and just before the item is sent to the driver.
virtual function void mid_do( ovm_sequence_item this_item )
Executes the given request and returns the response in the given output argument.
virtual function bit nb_transport( input T1 req, output T2 rsp )
Creates and initializes an instance of this class using the normal constructor arguments for ovm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, ovm_component parent )
Creates an instance of a specialization of this class.
function new( TRANSFORMER transformer, string name , ovm_component parent )
Creates a new barrier object.
function new ( string name = "", int threshold = 0 )
Creates an instance of ovm_pair that holds a handle to two elements, as provided by the first two arguments.
function new ( T1 f, T2 s, string name = "" )
Creates a new ovm_callback object, giving it an optional name.
function new( string name = "ovm_callback" )
Creates a new ovm_callbacks object, giving it an optional name.
function new( string name = "ovm_callback" )
Creates a new component with the given leaf instance name and handle to to its parent.
function new ( string name, ovm_component parent )
Creates and initializes an instance of this class using the normal constructor arguments for ovm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, ovm_component parent )
Creates and initializes an instance of this class using the normal constructor arguments for ovm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name = "env", ovm_component parent = null )
Creates a new event object.
function new ( string name = "" )
Creates a new callback object.
function new ( string name = "" )
Creates and initializes an instance of this class using the normal constructor arguments for ovm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, ovm_component parent )
Creates a new ovm_object with the given instance name.
function new ( string name = "" )
Creates a new pool with the given name.
function new ( string name = "" )
Creates a new objection instance.
function new( string name = "" )
Creates an instance of ovm_pair that holds a handle to two objects, as provided by the first two arguments.
function new ( T1 f = null, T2 s = null, string name = "" )
Creates a phase object.
function new ( string name, bit is_top_down, bit is_task )
Creates a new pool with the given name.
function new ( string name = "" )
The first two arguments are the normal ovm_component constructor arguments.
function new ( string name, ovm_component parent, ovm_port_type_e port_type, int min_size = 0, int max_size = 1 )
Creates and initializes an instance of this class using the normal constructor arguments for ovm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, ovm_component parent )
Creates and initializes an instance of this class using the normal constructor arguments for ovm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, ovm_component parent )
Creates a new queue with the given name.
function new ( string name = "" )
Creates a new instance of a specialization of this class.
function new( string name, ovm_component parent )
Creates and initializes a new ovm_report_handler object.
function new()
Creates a new report object with the given name.
function new( string name = "" )
Creates the central report server, if not already created.
function new()
Creates and initializes an instance of this class using the normal constructor arguments for ovm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, ovm_component parent )
Creates and initializes a new sequence object.
function new ( string name = "ovm_sequence", ovm_sequencer_base sequencer_ptr = null, ovm_sequence_base parent_seq = null )
The constructor for ovm_sequence_base.
function new ( string name = "ovm_sequence", ovm_sequencer_base sequencer_ptr = null, ovm_sequence_base parent_seq = null )
The constructor method for ovm_sequence_item.
function new ( string name = "ovm_sequence_item", ovm_sequencer_base sequencer = null, ovm_sequence_base parent_sequence = null )
Creates and initializes an instance of this class using the normal constructor arguments for ovm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, ovm_component parent )
Creates and initializes an instance of this class using the normal constructor arguments for ovm_component: name is the name of the instance, and parent is the handle to the hierarchical parent.
function new ( string name, ovm_component parent )
Creates and initializes an instance of this class using the normal constructor arguments for ovm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, ovm_component parent )
Creates and initializes an instance of this class using the normal constructor arguments for ovm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, ovm_component parent )
Creates and initializes an instance of this class using the normal constructor arguments for ovm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, ovm_component parent )
Creates a new transaction object.
function new ( string name = "", ovm_component initiator = null )
This is the standard ovm_component constructor.
function new( string name , ovm_component parent = null )
The name and parent are the normal ovm_component constructor arguments.
function new( string name, ovm_component parent = null, int size = 1 )
The name and parent are the normal ovm_component constructor arguments.
function new( string name, ovm_component parent = null )
The name and parent are the standard ovm_component constructor arguments.
function new ( string name, ovm_component parent = null, int request_fifo_size = 1, int response_fifo_size = 1 )
The name and parent are the standard ovm_component constructor arguments.
function new ( string name, ovm_component parent = null )
Returns the key of the next item in the pool.
virtual function int next ( ref KEY key )
Returns the number of uniquely keyed items stored in the pool.
virtual function int num ()
Returns the number of sequences in the sequencer’s sequence library.
function int num_sequences()
Returns the number of sequences in the sequencer¿s sequence library.
function int num_sequences()