| P | |
| pack | |
| pack_bytes | |
| pack_field | |
| pack_field_int | |
| pack_ints | |
| pack_object | |
| pack_real | |
| pack_string | |
| pack_time | |
| Packing | |
| pair_ap | |
| Parameters | |
| peek | |
| phase_timeout | |
| Phasing Interface | |
| physical | |
| policy | |
| Policy Classes | |
| pop_back | |
| pop_front | |
| Port Type | |
| Ports ovm_algorithmic_comparator#(BEFORE,AFTER,TRANSFORMER)ovm_driver#(REQ,RSP)ovm_in_order_comparator#(T,comp_type,convert,pair_type)ovm_push_driver#(REQ,RSP)ovm_push_sequencer#(REQ,RSP)ovm_random_stimulus#(T)ovm_sequencer_param_base#(REQ,RSP)ovm_subscribertlm_analysis_fifo#(T)tlm_fifo_base#(T)tlm_req_rsp_channel#(REQ,RSP)tlm_transport_channel#(REQ,RSP) | |
| Ports,Exports,and Imps | |
| post_body | |
| POST_BODY | |
| post_do | |
| post_trigger | |
| pound_zero_count | |
| pre_body | |
| PRE_BODY | |
| pre_do | |
| pre_trigger | |
| Predefined Component Classes | |
| prefix | |
| prev | |
| print_array_footer | |
| print_array_header | |
| print_array_range | |
| print_config_matches | |
| print_config_settings | |
| print_enabled | |
| print_field | |
| print_footer | |
| print_header | |
| print_id | |
| print_msg | |
| print_newline | |
| print_object | |
| print_object_header | |
| print_override_info | |
| print_size | |
| print_string | |
| print_time | |
| print_type_name | |
| print_value | |
| print_value_array | |
| print_value_object | |
| print_value_string | |
| Printing | |
| process_report | |
| push_back | |
| push_front | |
| put | |
| Put | |
| put_ap | |
| put_export | |
| put_request_export | |
| put_response_export | |
| Q | |
| qualify | |
| R | |
| raise_objection | |
| raised | |
| record | |
| record_error_tr | |
| record_event_tr | |
| record_field | |
| record_field_real | |
| record_generic | |
| record_object | |
| record_string | |
| record_time | |
| Recording | |
| Recording Interface | |
| recursion_policy | |
| reference | |
| register | |
| Registering Types | |
| report | |
| Report Macros | |
| report_error_hook | |
| report_fatal_hook | |
| report_header | |
| report_hook | |
| report_info_hook | |
| report_summarize | |
| report_warning_hook | |
| Reporting | |
| Reporting Classes | |
| req_export | |
| req_port | |
| request_ap | |
| reseed | |
| reset | |
| reset_quit_count | |
| reset_report_handler | |
| reset_severity_counts | |
| resolve_bindings | |
| response_ap | |
| response_handler | |
| result | |
| resume | |
| rsp_export | |
| rsp_port | |
| run | |
| run_hooks | |
| run_test | |
| S | |
| Seeding | |
| send_request | |
| separator | |
| seq_item_export | |
| seq_item_port | |
| seq_kind | |
| Sequence Action Macros | |
| Sequence and Do Action Macros | |
| Sequence Classes | |
| Sequence on Sequencer Action Macros | |
| Sequence Registration Macros | |
| Sequencer Classes | |
| Sequencer Registration Macros | |
| Sequences | |
| set_arbitration | |
| set_auto_reset | |
| set_config_int | |
| set_config_object | |
| set_config_string | |
| set_default_index | |
| set_depth | |
| set_drain_time | |
| set_global_stop_timeout | |
| set_global_timeout | |
| set_id_count | |
| set_id_info | |
| set_initiator | |
| set_inst_override | |
| set_inst_override_by_name | |
| set_inst_override_by_type | |
| set_int_local | |
| set_max_quit_count | |
| set_name | |
| set_num_last_reqs | |
| set_num_last_rsps | |
| set_object_local | |
| set_parent_sequence | |
| set_priority | |
| set_quit_count | |
| set_report_default_file | |
| set_report_default_file_hier | |
| set_report_handler | |
| set_report_id_action | |
| set_report_id_action_hier | |
| set_report_id_file | |
| set_report_id_file_hier | |
| set_report_max_quit_count | |
| set_report_severity_action | |
| set_report_severity_action_hier | |
| set_report_severity_file | |
| set_report_severity_file_hier | |
| set_report_severity_id_action | |
| set_report_severity_id_action_hier | |
| set_report_severity_id_file | |
| set_report_severity_id_file_hier | |
| set_report_verbosity_level | |
| set_report_verbosity_level_hier | |
| set_response_queue_depth | |
| set_response_queue_error_report_disabled | |
| set_sequencer | |
| set_severity_count | |
| set_string_local | |
| set_threshold | |
| set_transaction_id | |
| set_type_override | |
| set_type_override_by_name | |
| set_type_override_by_type | |
| set_use_sequence_info | |
| Setup | |
| sev | |
| show_max | |
| show_radix | |
| show_root | |
| Simulation Control | |
| size | |
| size_width | |
| slave_export | |
| sprint | |
| sqr_if_base#(REQ,RSP) | |
| start | |
| start_default_sequence | |
| start_item | |
| start_of_simulation | |
| status | |
| stop | |
| stop_request | |
| stop_sequences | |
| stop_stimulus_generation | |
| stop_timeout | |
| STOPPED | |
| summarize | |
| suspend | |
| Synchronization Classes | |
| T | |
| T | |
| TLM Implementation Port Declaration Macros | |
| TLM Interfaces,Ports,and Exports | |
| tlm_analysis_fifo#(T) | |
| tlm_fifo#(T) | |
| tlm_fifo_base#(T) | |
| tlm_if_base#(T1,T2) | |
| tlm_req_rsp_channel#(REQ,RSP) | |
| tlm_transport_channel#(REQ,RSP) | |
| tr_handle | |
| trace_mode | |
| transport | |
| Transport | |
| transport_export | |
| trigger | |
| truncation | |
| try_get | |
| try_next_item | |
| try_peek | |
| try_put | |
| Type&Instance Overrides | |
| type_name | |
| type_width | |
| Types and Enumerations | |
| U | |
| ungrab | |
| Unidirectional Interfaces&Ports | |
| unlock | |
| unpack | |
| unpack_bytes | |
| unpack_field | |
| unpack_field_int | |
| unpack_ints | |
| unpack_object | |
| unpack_real | |
| unpack_string | |
| unpack_time | |
| Unpacking | |
| unsigned_radix | |
| Usage | |
| use_metadata | |
| use_ovm_seeding | |
| use_response_handler | |
| used | |
| user_priority_arbitration | |
| Utility and Field Macros for Components and Objects | |
| Utility Macros | |
| V | |
| value_width | |
| Variables | |
| verbosity | |
| Verbosity is ignored for warnings,errors,and fatals to ensure users |
function int pack ( ref bit bitstream[], input ovm_packer packer = null )
function int pack_bytes ( ref byte unsigned bytestream[], input ovm_packer packer = null )
Packs an integral value (less than or equal to 4096 bits) into the packed array.
virtual function void pack_field ( ovm_bitstream_t value, int size )
Packs the integral value (less than or equal to 64 bits) into the pack array.
virtual function void pack_field_int ( logic[63:0] value, int size )
The pack methods bitwise-concatenate this object’s properties into an array of bits, bytes, or ints.
function int pack_ints ( ref int unsigned intstream[], input ovm_packer packer = null )
Packs an object value into the pack array.
virtual function void pack_object ( ovm_object value )
Packs a real value as 64 bits into the pack array.
virtual function void pack_real ( real value )
Packs a string value into the pack array.
virtual function void pack_string ( string value )
Packs a time value as 64 bits into the pack array.
virtual function void pack_time ( time value )
Returns the current request item if one is in the sequencer fifo.
virtual task peek( output T1 t )
Obtain a new transaction without consuming it.
virtual task peek( output T2 t )
time phase_timeout = `OVM_DEFAULT_TIMEOUT
This bit provides a filtering mechanism for fields.
bit physical = 1
This bit provides a filtering mechanism for fields.
bit physical = 1
This bit provides a filtering mechanism for fields.
bit physical = 1
Determines whether comparison is OVM_DEEP, OVM_REFERENCE, or OVM_SHALLOW.
ovm_recursion_policy_enum policy = OVM_DEFAULT_POLICY
Returns the last element in the queue (index=size()-1), or null if the queue is empty.
virtual function T pop_back()
Returns the first element in the queue (index=0), or null if the queue is empty.
virtual function T pop_front()
This task is a user-definable callback task that is called after the execution of the body, unless the sequence is started with call_pre_post=0.
virtual task post_body()
This function is a user-definable callback function that is called after the driver has indicated that it has completed the item, using either this item_done or put methods.
virtual function void post_do( ovm_sequence_item this_item )
This callback is called after triggering the associated event.
virtual function void post_trigger ( ovm_event e, ovm_object data = null )
Set this variable via set_config_int to set the number of delta cycles to insert in the wait_for_sequences task.
int unsigned pound_zero_count = 6
This task is a user-definable callback task that is called before the execution of the body, unless the sequence is started with call_pre_post=0.
virtual task pre_body()
This task is a user-definable callback task that is called after the sequence has issued a wait_for_grant() call and after the sequencer has selected this sequence, and before the item is randomized.
virtual task pre_do( bit is_item )
This callback is called just before triggering the associated event.
virtual function bit pre_trigger ( ovm_event e, ovm_object data = null )
Specifies the string prepended to each output line
string prefix = ""
Returns the key of the previous item in the pool.
virtual function int prev ( ref KEY key )
Prints the state of the ovm_factory, including registered types, instance overrides, and type overrides.
function void print ( int all_types = 1 )
The print method deep-prints this object’s properties in a format and manner governed by the given printer argument; if the printer argument is not provided, the global ovm_default_printer is used.
function void print ( ovm_printer printer = null )
Prints the header of a footer.
virtual function void print_array_footer ( int size = )
Prints the header of an array.
virtual function void print_array_header( string name, int size, string arraytype = "array", byte scope_separator = "." )
Prints a range using ellipses for values.
virtual function void print_array_range ( int min, int max )
Setting this static variable causes get_config_* to print info about matching configuration settings as they are being applied.
static bit print_config_matches = 0
Called without arguments, print_config_settings prints all configuration information for this component, as set by previous calls to set_config_*.
function void print_config_settings ( string field = "", ovm_component comp = null, bit recurse = 0 )
This bit determines if this component should automatically be printed as a child of its parent object.
bit print_enabled = 1
Prints an integral field.
virtual function void print_field ( string name, ovm_bitstream_t value, int size, ovm_radix_enum radix = OVM_NORADIX, byte scope_separator = ".", string type_name = "" )
Prints footer information.
virtual function void print_footer ()
Prints header information.
virtual function void print_header ()
Prints a field’s name, or id, which is the full instance name.
virtual protected function void print_id ( string id, byte scope_separator = "." )
Causes the error count to be incremented and the message, msg, to be appended to the miscompares string (a newline is used to separate messages).
function void print_msg ( string msg )
Overrides ovm_printer::print_newline to not print a newline, effectively making everything appear on a single line.
virtual function void print_newline ( bit do_global_indent = 1 )
Prints a newline character.
virtual protected function void print_newline ( bit do_global_indent = 1 )
Prints an object.
virtual function void print_object ( string name, ovm_object value, byte scope_separator = "." )
Prints the header of an object.
virtual function void print_object_header ( string name, ovm_object value, byte scope_separator = "." )
This factory debug method performs the same lookup process as create_object and create_component, but instead of creating an object, it prints information about what type of object would be created given the provided arguments.
function void print_override_info( string requested_type_name, string name = "" )
Prints a field’s size.
virtual protected function void print_size ( int size = -1 )
Prints a string field.
virtual function void print_string ( string name, string value, byte scope_separator = "." )
Prints a time value.
virtual function void print_time ( string name, time value, byte scope_separator = "." )
Prints a field’s type name.
virtual protected function void print_type_name ( string name, bit is_object = )
Prints an integral field’s value.
virtual protected function void print_value ( ovm_bitstream_t value, int size, ovm_radix_enum radix = OVM_NORADIX )
Prints an array’s value.
virtual function void print_value_array ( string value = "", int size = 0 )
Prints a unique handle identifier for the given object.
virtual protected function void print_value_object ( ovm_object value )
Prints a string field’s value.
virtual protected function void print_value_string ( string value )
Calls compose_message to construct the actual message to be output.
virtual function void process_report( ovm_severity severity, string name, string id, string message, ovm_action action, OVM_FILE file, string filename, int line, string composed_message, int verbosity_level, ovm_report_object client )
Inserts the given item at the back of the queue.
virtual function void push_back( T item )
Inserts the given item at the front of the queue.
virtual function void push_front( T item )
Sends a response back to the sequence that issued the request.
virtual task put( input T2 t )
Sends a user-defined transaction of type T.
virtual task put( input T1 t )
Checks that the given object is derived from either ovm_component or ovm_sequence_base.
virtual function void qualify( ovm_object obj = null, bit is_raise )
Raises the number of objections for the source object by count, which defaults to 1.
function void raise_objection ( ovm_object obj = null, int count = 1 )
Calls ovm_objection::raise_objection after calling qualify.
virtual function void raise_objection ( ovm_object obj = null, int count = 1 )
The raised callback is called when a decendant of the component instance raises the specfied objection.
virtual function void raised ( ovm_objection objection, ovm_object source_obj, int count )
Objection callback that is called when a raise_objection has reached obj.
virtual function void raised ( ovm_object obj, ovm_object source_obj, int count )
function void ovm_root::raised ( ovm_objection objection, ovm_object source_obj, int count )
The record method deep-records this object’s properties according to an optional recorder policy.
function void record ( ovm_recorder recorder = null )
This function marks an error transaction by a component.
function integer record_error_tr ( string stream_name = "main", ovm_object info = null, string label = "error_tr", string desc = "", time error_time = 0, bit keep_active = 0 )
This function marks an event transaction by a component.
function integer record_event_tr ( string stream_name = "main", ovm_object info = null, string label = "event_tr", string desc = "", time event_time = 0, bit keep_active = 0 )
Records an integral field (less than or equal to 4096 bits).
virtual function void record_field ( string name, ovm_bitstream_t value, int size, ovm_radix_enum radix = OVM_NORADIX )
Records an real field.
virtual function void record_field_real ( string name, real value )
Records the name-value pair, where value has been converted to a string, e.g.
virtual function void record_generic ( string name, string value )
Records an object field.
virtual function void record_object ( string name, ovm_object value )
Records a string field.
virtual function void record_string ( string name, string value )
Records a time value.
virtual function void record_time ( string name, time value )
Sets the recursion policy for recording objects.
ovm_recursion_policy_enum policy = OVM_DEFAULT_POLICY
Controls whether to print a unique reference ID for object handles.
bit reference = 1
Registers the given proxy object, obj, with the factory.
function void register ( ovm_object_wrapper obj )
The report phase callback is the last of several predefined phase methods automatically called during the course of simulation.
virtual function void report ()
This is the common handler method used by the four core reporting methods (e.g., ovm_report_error) in ovm_report_object.
virtual function void report( ovm_severity severity, string name, string id, string message, int verbosity_level, string filename, int line, ovm_report_object client )
virtual function bit report_error_hook( string id, string message, int verbosity, string filename, int line )
virtual function bit report_fatal_hook( string id, string message, int verbosity, string filename, int line )
Prints version and copyright information.
virtual function void report_header( OVM_FILE file = 0 )
These hook methods can be defined in derived classes to perform additional actions when reports are issued.
virtual function bit report_hook( string id, string message, int verbosity, string filename, int line )
virtual function bit report_info_hook( string id, string message, int verbosity, string filename, int line )
Outputs statistical information on the reports issued by the central report server.
virtual function void report_summarize( OVM_FILE file = 0 )
virtual function bit report_warning_hook( string id, string message, int verbosity, string filename, int line )
Calls srandom on the object to reseed the object using the OVM seeding mechanism, which sets the seed based on type name and instance name instead of based on instance position in a thread.
function void reseed ()
Resets the barrier.
virtual function void reset ( bit wakeup = 1 )
Resets the event to its off state.
virtual function void reset ( bit wakeup = )
Resets phase state such that is_done and is_in_progress both return 0.
function void reset ()
Set, get, increment, or reset to 0 the quit count, i.e., the number of COUNT actions issued.
function void reset_quit_count()
Resets the underlying report handler to its default settings.
function void reset_report_handler
Set, get, or increment the counter for the given severity, or reset all severity counters to 0.
function void reset_severity_counts()
Processes all port, export, and imp connections.
virtual function void resolve_bindings ()
This callback is called just before entering the end_of_elaboration phase.
virtual function void resolve_bindings()
When the use_reponse_handler bit is set to 1, this virtual task is called by the sequencer for each response that arrives for this sequence.
virtual function void response_handler( ovm_sequence_item response )
This bit stores the number of miscompares for a given compare operation.
int unsigned result = 0
Resumes the process tree spawned from this component’s currently executing task-based phase, e.g.
virtual task resume ()
The run phase callback is the only predefined phase that is time-consuming, i.e., task-based.
virtual task run ()
The push sequencer continuously selects from its list of available sequences and sends the next item from the selected sequence out its req_port using req_port.put(item).
task run()
The run_hooks method is called if the OVM_CALL_HOOK action is set for a report.
virtual function bit run_hooks( ovm_report_object client, ovm_severity severity, string id, string message, int verbosity, string filename, int line )
Convenience function for ovm_top.run_test().
task run_test ( string test_name = "" )
Phases all components through all registered phases.
virtual task run_test ( string test_name = "" )
This method will send the request item to the sequencer, which will forward it to the driver.
function void send_request( ovm_sequence_item request, bit rerandomize = 0 )
The send_request function may only be called after a wait_for_grant call.
virtual function void send_request( ovm_sequence_item request, bit rerandomize = 0 )
Derived classes implement this function to send a request item to the sequencer, which will forward it to the driver.
virtual function void send_request( ovm_sequence_base sequence_ptr, ovm_sequence_item t, bit rerandomize = 0 )
The send_request function may only be called after a wait_for_grant call.
virtual function void send_request( ovm_sequence_base sequence_ptr, ovm_sequence_item t, bit rerandomize = 0 )
Determines the opening and closing separators used for nested objects.
string separator = "{}"
This export provides access to this sequencer’s implementation of the sequencer interface, sqr_if_base #(REQ,RSP), which defines the following methods:
ovm_seq_item_pull_imp #( REQ, RSP, this_type ) seq_item_export
Used as an identifier in constraints for a specific sequence type.
rand int unsigned seq_kind
Specifies the arbitration mode for the sequencer.
function void set_arbitration( SEQ_ARB_TYPE val )
Determines if the barrier should reset itself after the threshold is reached.
virtual function void set_auto_reset ( bit value = 1 )
This is the global version of set_config_int in ovm_component.
function void set_config_int ( string inst_name, string field_name, ovm_bitstream_t value )
virtual function void set_config_int ( string inst_name, string field_name, ovm_bitstream_t value )
This is the global version of set_config_object in ovm_component.
function void set_config_object ( string inst_name, string field_name, ovm_object value, bit clone = 1 )
Calling set_config_* causes configuration settings to be created and placed in a table internal to this component.
virtual function void set_config_object ( string inst_name, string field_name, ovm_object value, bit clone = 1 )
This is the global version of set_config_string in ovm_component.
function void set_config_string ( string inst_name, string field_name, string value )
virtual function void set_config_string ( string inst_name, string field_name, string value )
Sets the default implementation port to use when calling an interface method.
function void set_default_index ( int index )
The depth of any sequence is calculated automatically.
function void set_depth( int value )
Sets the drain time on the given object to drain.
function void set_drain_time ( ovm_object obj, time drain )
Convenience function for ovm_top.stop_timeout = timeout.
function void set_global_stop_timeout( time timeout )
Convenience function for ovm_top.phase_timeout = timeout.
function void set_global_timeout( time timeout )
function void set_id_count( string id, int count )
Copies the sequence_id and transaction_id from the referenced item into the calling item.
function void set_id_info( ovm_sequence_item item )
Sets initiator as the initiator of this transaction.
function void set_initiator ( ovm_component initiator )
A convenience function for ovm_factory::set_inst_override_by_type, this method registers a factory override for components created at this level of hierarchy or below.
function void set_inst_override( string relative_inst_path, string original_type_name, string override_type_name )
Configures the factory to create a component of the type represented by override_type whenever a request is made to create an object of the type, T, represented by this proxy, with matching instance paths.
static function void set_inst_override( ovm_object_wrapper override_type, string inst_path, ovm_component parent = null )
Configures the factory to create an object of the type represented by override_type whenever a request is made to create an object of the type represented by this proxy, with matching instance paths.
static function void set_inst_override( ovm_object_wrapper override_type, string inst_path, ovm_component parent = null )
Configures the factory to create an object of the override’s type whenever a request is made to create an object of the original type using a context that matches full_inst_path.
function void set_inst_override_by_name ( string original_type_name, string override_type_name, string full_inst_path )
A convenience function for ovm_factory::set_inst_override_by_type, this method registers a factory override for components and objects created at this level of hierarchy or below.
function void set_inst_override_by_type( string relative_inst_path, ovm_object_wrapper original_type, ovm_object_wrapper override_type )
function void set_inst_override_by_type ( ovm_object_wrapper original_type, ovm_object_wrapper override_type, string full_inst_path )
virtual function void set_int_local ( string field_name, ovm_bitstream_t value, bit recurse = 1 )
function void set_max_quit_count( int count )
Renames this component to name and recalculates all descendants’ full names.
virtual function void set_name ( string name )
Sets the instance name of this object, overwriting any previously given name.
virtual function void set_name ( string name )
Sets the size of the last_requests buffer.
function void set_num_last_reqs( int unsigned max )
Sets the size of the last_responses buffer.
function void set_num_last_rsps( int unsigned max )
These methods provide write access to integral, string, and ovm_object-based properties indexed by a field_name string.
virtual function void set_object_local ( string field_name, ovm_object value, bit clone = 1, bit recurse = 1 )
Sets the parent sequence of this sequence_item.
function void set_parent_sequence( ovm_sequence_base parent )
The priority of a sequence may be changed at any point in time.
function void set_priority ( int value )
function void set_quit_count( int quit_count )
function void set_report_default_file ( OVM_FILE file )
function void set_report_default_file_hier ( OVM_FILE file )
Sets the report handler, overwriting the default instance.
function void set_report_handler( ovm_report_handler handler )
function void set_report_id_action ( string id, ovm_action action )
function void set_report_id_action_hier ( string id, ovm_action action )
function void set_report_id_file ( string id, OVM_FILE file )
function void set_report_id_file_hier ( string id, OVM_FILE file )
Sets the maximum quit count in the report handler to max_count.
function void set_report_max_quit_count( int max_count )
function void set_report_severity_action ( ovm_severity severity, ovm_action action )
function void set_report_severity_action_hier ( ovm_severity severity, ovm_action action )
function void set_report_severity_file ( ovm_severity severity, OVM_FILE file )
function void set_report_severity_file_hier ( ovm_severity severity, OVM_FILE file )
These methods associate the specified action or actions with reports of the given severity, id, or severity-id pair.
function void set_report_severity_id_action ( ovm_severity severity, string id, ovm_action action )
These methods recursively associate the specified action with reports of the given severity, id, or severity-id pair.
function void set_report_severity_id_action_hier( ovm_severity severity, string id, ovm_action action )
These methods configure the report handler to direct some or all of its output to the given file descriptor.
function void set_report_severity_id_file ( ovm_severity severity, string id, OVM_FILE file )
These methods recursively associate the specified FILE descriptor with reports of the given severity, id, or severity-id pair.
function void set_report_severity_id_file_hier( ovm_severity severity, string id, OVM_FILE file )
This method sets the maximum verbosity level for reports for this component.
function void set_report_verbosity_level ( int verbosity_level )
This method recursively sets the maximum verbosity level for reports for this component and all those below it.
function void set_report_verbosity_level_hier ( int verbosity )
The default maximum depth of the response queue is 8.
function void set_response_queue_depth( int value )
By default, if the response_queue overflows, an error is reported.
function void set_response_queue_error_report_disabled( bit value )
Sets the default sequencer for the sequence to sequencer.
virtual function void set_sequencer( ovm_sequencer_base sequencer )
Sets the default sequencer for the sequence to run on.
virtual function void set_sequencer( ovm_sequencer_base sequencer )
function void set_sequencer( ovm_sequencer_base sequencer )
function void set_severity_count( ovm_severity severity, int count )
virtual function void set_string_local ( string field_name, string value, bit recurse = 1 )
Sets the process threshold.
virtual function void set_threshold ( int threshold )
Sets this transaction’s numeric identifier to id.
function void set_transaction_id( integer id )
A convenience function for ovm_factory::set_type_override_by_name, this method configures the factory to create an object of type override_type_name whenever the factory is asked to produce a type represented by original_type_name.
static function void set_type_override( string original_type_name, string override_type_name, bit replace = 1 )
Configures the factory to create an object of the type represented by override_type whenever a request is made to create an object of the type, T, represented by this proxy, provided no instance override applies.
static function void set_type_override ( ovm_object_wrapper override_type, bit replace = 1 )
Configures the factory to create an object of the type represented by override_type whenever a request is made to create an object of the type represented by this proxy, provided no instance override applies.
static function void set_type_override ( ovm_object_wrapper override_type, bit replace = 1 )
Configures the factory to create an object of the override’s type whenever a request is made to create an object of the original type, provided no instance override applies.
function void set_type_override_by_name ( string original_type_name, string override_type_name, bit replace = 1 )
A convenience function for ovm_factory::set_type_override_by_type, this method registers a factory override for components and objects created at this level of hierarchy or below.
static function void set_type_override_by_type ( ovm_object_wrapper original_type, ovm_object_wrapper override_type, bit replace = 1 )
function void set_type_override_by_type ( ovm_object_wrapper original_type, ovm_object_wrapper override_type, bit replace = 1 )
function void set_use_sequence_info( bit value )
Sets the severity for printed messages.
ovm_severity sev = OVM_INFO
Sets the maximum number of messages to send to the messager for miscompares of an object.
int unsigned show_max = 1
Indicates whether the radix string (‘h, and so on) should be prepended to an integral value when one is printed.
bit show_radix = 1
This setting indicates whether or not the initial object that is printed (when current depth is 0) prints the full path name.
bit show_root = 0
Gets the number of implementation ports connected to this port.
function int size ()
Controls whether to print a field’s size.
bit size = 1
Returns the number of items stored in the queue.
virtual function int size ()
Returns the capacity of the FIFO-- that is, the number of entries the FIFO is capable of holding.
virtual function int size()
Sets the width of the size column.
int size_width = 5
The sprint method works just like the print method, except the output is returned in a string rather than displayed.
function string sprint ( ovm_printer printer = null )
This class defines an interface for sequence drivers to communicate with sequencers.
virtual class sqr_if_base #( type T1 = ovm_object, T2 = T1 )
The start task is called to begin execution of a sequence.
virtual task start ( ovm_sequencer_base sequencer, ovm_sequence_base parent_sequence = null, integer this_priority = 100, bit call_pre_post = 1 )
The start task is called to begin execution of a sequence
virtual task start ( ovm_sequencer_base sequencer, ovm_sequence_base parent_sequence = null, integer this_priority = 100, bit call_pre_post = 1 )
Sequencers provide the start_default_sequence task to execute the default sequence in the run phase.
virtual task start_default_sequence()
Called when the run phase begins, this method starts the default sequence, as specified by the default_sequence member variable.
virtual task start_default_sequence()
start_item and finish_item together will initiate operation of either a sequence_item or sequence object.
virtual task start_item( ovm_sequence_item item, int set_priority = -1 )
The start_of_simulation phase callback is one of several methods automatically called during the course of simulation.
virtual function void start_of_simulation ()
Returns the status of the parent process associated with the currently running task-based phase, e.g., run.
function string status ()
The stop task is called when this component’s enable_stop_interrupt bit is set and global_stop_request is called during a task-based phase, e.g., run.
virtual task stop ( string ph_name )
Calling this function triggers the process of shutting down the currently running task-based phase.
function void stop_request()
Tells the sequencer to kill all sequences and child sequences currently operating on the sequencer, and remove all requests, locks and responses that are currently queued.
virtual function void stop_sequences()
Tells the sequencer to kill all sequences and child sequences currently operating on the sequencer, and remove all requests, locks and responses that are currently queued.
virtual function void stop_sequences()
Stops the generation of stimulus.
virtual function void stop_stimulus_generation
These set watchdog timers for task-based phases and stop tasks.
time stop_timeout = `OVM_DEFAULT_TIMEOUT
See ovm_report_object::report_summarize method.
virtual function void summarize( OVM_FILE file = )
Suspends the process tree spawned from this component’s currently executing task-based phase, e.g.
virtual task suspend ()
An analysis_fifo is a tlm_fifo with an unbounded size and a write interface.
class tlm_analysis_fifo #( type T = int ) extends tlm_fifo #(T)
This class provides storage of transactions between two independently running processes.
class tlm_fifo #( type T = int ) extends tlm_fifo_base #(T)
This class is the base for tlm_fifo #(T).
virtual class tlm_fifo_base #( type T = int ) extends ovm_component
This class declares all of the methods of the TLM API.
virtual class tlm_if_base #( type T1 = int, type T2 = int )
The tlm_req_rsp_channel contains a request FIFO of type REQ and a response FIFO of type RSP.
class tlm_req_rsp_channel #( type REQ = int, type RSP = REQ ) extends ovm_component
A tlm_transport_channel is a tlm_req_rsp_channel #(REQ,RSP) that implements the transport interface.
class tlm_transport_channel #( type REQ = int, type RSP = REQ ) extends tlm_req_rsp_channel #(REQ, RSP)
This is an integral handle to a transaction object.
integer tr_handle = 0
This function takes a single argument to turn on (1) or off (0) tracing.
function void trace_mode( bit mode )
Executes the given request and returns the response in the given output argument.
virtual task transport( input T1 req , output T2 rsp )
Triggers the event, resuming all waiting processes.
virtual function void trigger ( ovm_object data = null )
Specifies the character to use to indicate a field was truncated.
string truncation = "+"
Provides a new transaction of type T.
virtual function bit try_get( output T2 t )
Retrieves the next available item from a sequence if one is available.
virtual task try_next_item( output T1 t )
Provides a new transaction without consuming it.
virtual function bit try_peek( output T2 t )
Sends a transaction of type T, if possible.
virtual function bit try_put( input T1 t )
Controls whether to print a field’s type name.
bit type_name = 1
Sets the width of the type column.
int type_width = 20
Removes any locks or grabs obtained by this sequence on the specified sequencer.
function void ungrab( ovm_sequencer_base sequencer = null )
Removes any locks and grabs obtained by the specified sequence_ptr.
virtual function void ungrab( ovm_sequence_base sequence_ptr )
Removes any locks or grabs obtained by this sequence on the specified sequencer.
function void unlock( ovm_sequencer_base sequencer = null )
Removes any locks and grabs obtained by the specified sequence_ptr.
virtual function void unlock( ovm_sequence_base sequence_ptr )
function int unpack ( ref bit bitstream[], input ovm_packer packer = null )
function int unpack_bytes ( ref byte unsigned bytestream[], input ovm_packer packer = null )
Unpacks bits from the pack array and returns the bit-stream that was unpacked.
virtual function ovm_bitstream_t unpack_field ( int size )
Unpacks bits from the pack array and returns the bit-stream that was unpacked.
virtual function logic[63:0] unpack_field_int ( int size )
The unpack methods extract property values from an array of bits, bytes, or ints.
function int unpack_ints ( ref int unsigned intstream[], input ovm_packer packer = null )
Unpacks an object and stores the result into value.
virtual function void unpack_object ( ovm_object value )
Unpacks the next 64 bits of the pack array and places them into a real variable.
virtual function real unpack_real ()
Unpacks a string.
virtual function string unpack_string ( int num_chars = -1 )
Unpacks the next 64 bits of the pack array and places them into a time variable.
virtual function time unpack_time ()
This is the string which should be prepended to the value of an integral type when a radix of OVM_UNSIGNED is used for the radix of the integral object.
string unsigned_radix = "'d"
This flag indicates whether to encode metadata when packing dynamic data, or to decode metadata when unpacking.
bit use_metadata = 0
This bit enables or disables the OVM seeding mechanism.
static bit use_ovm_seeding = 1
When called with enable set to 1, responses will be sent to the response handler.
function void use_response_handler( bit enable )
Returns the number of entries put into the FIFO.
virtual function int used()
If the sequencer arbitration mode is set to SEQ_ARB_USER (via the set_arbitration method), then the sequencer will call this function each time that it needs to arbitrate among sequences.
virtual function integer user_priority_arbitration( integer avail_sequences[$] )
Sets the width of the value column.
int value_width = 20
Sets the verbosity for printed messages.
int unsigned verbosity = OVM_LOW