Executes the given request and returns the response in the given output argument.
virtual function bit nb_transport( input T1 req, output T2 rsp )
Implementation of the backward path.
virtual function uvm_tlm_sync_e nb_transport_bw( T t, ref P p, input uvm_tlm_time delay )
Forward path call.
virtual function uvm_tlm_sync_e nb_transport_fw( T t, ref P p, input uvm_tlm_time delay )
Check if DUT registers need to be written
virtual function bit needs_update()
Create a new instance and type-specific configuration
function new( string name = "", int has_coverage = UVM_NO_COVERAGE )
Creates and initializes an instance of this class using the normal constructor arguments for uvm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, uvm_component parent )
Creates an instance of a specialization of this class.
function new( string name, uvm_component parent = null, TRANSFORMER transformer = null )
Creates a new barrier object.
function new ( string name = "", int threshold = 0 )
Creates an instance that holds two built-in type values.
function new ( string name = "" )
Creates a new uvm_callback object, giving it an optional name.
function new( string name = "uvm_callback" )
Creates a new callback iterator object.
function new( T obj )
Creates an instance that holds a handle to two objects.
function new ( string name = "", T1 f = null, T2 s = null )
Creates a new component with the given leaf instance name and handle to its parent.
function new ( string name, uvm_component parent )
Creates an instance of the class.
function new( string name = "uvm_report_server" )
Creates and initializes an instance of this class using the normal constructor arguments for uvm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, uvm_component parent )
Creates and initializes an instance of this class using the normal constructor arguments for uvm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name = "env", uvm_component parent = null )
Creates a new event object.
function new ( string name = "" )
Creates a new event object.
function new ( string name = "" )
Creates a new callback object.
function new ( string name = "" )
Constructor
function new( string name = "unnamed-uvm_get_to_lock_dap#(T)" )
Creates a new heartbeat instance associated with cntxt.
function new( string name, uvm_component cntxt, uvm_objection objection = null )
Create a new manager instance
function new( string name, uvm_mem_mam_cfg cfg, uvm_mem mem = null )
Creates a new instance of the class with the given name.
function new( string name = "uvm_mem_walk_seq" )
Creates and initializes an instance of this class using the normal constructor arguments for uvm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, uvm_component parent )
Creates a new uvm_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 a policy with the specified instance name.
function new ( string name = "" )
Creates a new pool with the given name.
function new ( string name = "" )
The first two arguments are the normal uvm_component constructor arguments.
function new ( string name, uvm_component parent, uvm_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 uvm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, uvm_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, uvm_component parent )
Create a new instance of this type, giving it the optional name.
function new( string name = "" )
Create a new report catcher.
function new( string name = "uvm_report_catcher" )
Creates and initializes a new uvm_report_handler object.
function new( string name = "uvm_report_handler" )
Creates a new uvm_report_message object.
function new( string name = "uvm_report_message" )
Create a new uvm_report_message_element_container object
function new( string name = "element_container" )
Creates a new report object with the given name.
function new( string name = "" )
constructor for uvm_resource_base.
function new( string name = "" )
Creates and initializes an instance of this class using the normal constructor arguments for uvm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, uvm_component parent )
Creates and initializes a new sequence object.
function new ( string name = "uvm_sequence" )
The constructor method for uvm_sequence_item.
function new ( string name = "uvm_sequence_item" )
Creates and initializes an instance of this class using the normal constructor arguments for uvm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, uvm_component parent )
Constructor
function new( string name = "unnamed-uvm_set_before_get_dap#(T)" )
Constructor
function new( string name = "unnamed-uvm_set_get_dap_base#(T)" )
Constructor
function new( string name = "unnamed-uvm_simple_lock_dap#(T)" )
Creates and initializes an instance of this class using the normal constructor arguments for uvm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, uvm_component parent )
Creates and initializes an instance of this class using the normal constructor arguments for uvm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, uvm_component parent )
Constructor
function new( string name = "unnamed-uvm_text_recorder" )
Constructor
function new( string name = "unnamed-uvm_text_tr_database" )
Constructor
function new( string name = "unnamed-uvm_text_tr_stream" )
This is the standard uvm_component constructor.
function new( string name , uvm_component parent = null )
creates a new extension object.
function new( string name = "" )
The name and parent are the normal uvm_component constructor arguments.
function new( string name, uvm_component parent = null, int size = 1 )
The name and parent are the normal uvm_component constructor arguments.
function new( string name, uvm_component parent = null )
Create a new instance of the generic payload.
function new( string name = "" )
The name and parent are the standard uvm_component constructor arguments.
function new ( string name, uvm_component parent = null, int request_fifo_size = 1, int response_fifo_size = 1 )
Create a new canonical time value.
function new( string name = "uvm_tlm_time", real res = 0 )
The name and parent are the standard uvm_component constructor arguments.
function new ( string name, uvm_component parent = null )
Creates a new transaction object.
function new ( string name = "", uvm_component initiator = null )
Creates a new uvm_report_message object.
static function uvm_report_message new_report_message( string name = "uvm_report_message" )
Returns the next valid (enabled) callback of the callback type (or a derivative) that is in the queue of the context object.
function CB next()
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 ()
the order() function may reorder the sequence of bus transactions produced by a single uvm_reg transaction (read/write).
pure virtual function void order( ref uvm_reg_bus_op q[$] )
function int pack ( ref bit bitstream[], input uvm_packer packer = null )
function int pack_bytes ( ref byte unsigned bytestream[], input uvm_packer packer = null )
Packs an integral value (less than or equal to 4096 bits) into the packed array.
virtual function void pack_field ( uvm_bitstream_t 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 uvm_packer packer = null )
Packs an object value into the pack array.
virtual function void pack_object ( uvm_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 FIFO.
task peek ( output REQ t )
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 )
Invoked at the end of each phase.
virtual function void phase_ended ( uvm_phase phase )
Invoked when all objections to ending the given phase and all sibling phases have been dropped, thus indicating that phase is ready to begin a clean exit.
virtual function void phase_ready_to_end ( uvm_phase phase )
Invoked at the start of each phase.
virtual function void phase_started ( uvm_phase phase )
Pops the current active object off of the internal object stack for this policy and returns the popped off value.
virtual function uvm_object pop_active_object()
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 body only when the sequence is started with start.
virtual task post_body()
The uvm_post_configure_phase phase implementation method.
virtual task post_configure_phase( uvm_phase phase )
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( uvm_sequence_item this_item )
The uvm_post_main_phase phase implementation method.
virtual task post_main_phase( uvm_phase phase )
Clean-up this class instance after randomization
function void post_randomize()
The uvm_post_reset_phase phase implementation method.
virtual task post_reset_phase( uvm_phase phase )
The uvm_post_shutdown_phase phase implementation method.
virtual task post_shutdown_phase( uvm_phase phase )
This task is a user-definable callback that is called after the optional execution of post_body.
virtual task post_start()
This callback is called after triggering the associated event.
virtual function void post_trigger ( uvm_event#(T) e, T data )
This callback is executed when the message system is executing a UVM_EXIT action.
virtual function void pre_abort
This task is a user-definable callback that is called before the execution of body only when the sequence is started with start.
virtual task pre_body()
The uvm_pre_configure_phase phase implementation method.
virtual task pre_configure_phase( uvm_phase phase )
This task is a user-definable callback task that is called on the parent sequence, if any 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 )
The uvm_pre_main_phase phase implementation method.
virtual task pre_main_phase( uvm_phase phase )
Prepare this class instance for randomization
function void pre_randomize()
Special post-processing for a write() or update().
virtual task pre_read( uvm_reg_item rw )
The uvm_pre_reset_phase phase implementation method.
virtual task pre_reset_phase( uvm_phase phase )
The uvm_pre_shutdown_phase phase implementation method.
virtual task pre_shutdown_phase( uvm_phase phase )
This task is a user-definable callback that is called before the optional execution of pre_body.
virtual task pre_start()
This callback is called just before triggering the associated event.
virtual function bit pre_trigger ( uvm_event#(T) e, T data )
Special pre-processing for a write() or update().
virtual task pre_write( uvm_reg_item rw )
Returns the previous valid (enabled) callback of the callback type (or a derivative) that is in the queue of the context object.
function CB prev()
Returns the key of the previous item in the pool.
virtual function int prev ( ref KEY key )
Prints the state of the uvm_factory, including registered types, instance overrides, and type overrides.
virtual function void print ( int all_types = 1 )
Prints the state of the uvm_factory, including registered types, instance overrides, and type overrides.
pure virtual 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 uvm_default_printer is used.
function void print ( uvm_printer printer = null )
The uvm_report_handler implements the uvm_object::do_print() such that print method provides UVM printer formatted output of the current configuration.
virtual function void do_print ( uvm_printer printer )
The uvm_report_message implements uvm_object::do_print() such that print method provides UVM printer formatted output of the message.
virtual function void do_print( uvm_printer printer )
Print the read/write access history of the resource, using the accessor argument accessor which is passed to the uvm_resource#(T)::read and uvm_resource#(T)::write
virtual function void print_accessors()
Prints the header of a footer.
virtual function void print_array_footer ( int size = 0 )
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 )
Prints debug information about all of the typewide report catchers that are registered.
static function void print_catcher( UVM_FILE file = 0 )
Print_config prints all configuration information for this component, as set by previous calls to uvm_config_db::set() and exports to the resources pool.
function void print_config( bit recurse = 0, bit audit = 0 )
Operates the same as print_config except that the audit bit is forced to 1.
function void print_config_with_audit( bit recurse = 0 )
Prints an integral field (up to 4096 bits).
virtual function void print_field ( string name, uvm_bitstream_t value, int size, uvm_radix_enum radix = UVM_NORADIX, byte scope_separator = ".", string type_name = "" )
Prints a field having the given name, type_name, size, and value.
virtual function void print_generic ( string name, string type_name, int size, string value, 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 )
Prints an object.
virtual function void print_object ( string name, uvm_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 real field.
virtual function void print_real ( string name, real value, byte scope_separator = "." )
Print the resources that are in a single queue, rq.
function void print_resources( uvm_resource_types:: rsrc_q_t rq, bit audit = 0 )
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 = "." )
Print the verification environment’s component topology.
function void print_topology ( uvm_printer printer = null )
This is the common handler method used by the four core reporting methods (e.g.
virtual function void process_report_message( uvm_report_message report_message )
Pushes obj on to the internal object stack for this policy, making it the current active object, as retrieved by get_active_object (see 16.1.3.3).
virtual function void push_active_object( uvm_object obj )
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 ( RSP t )
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 )
Sends a response back to the sequence that issued the request.
virtual function void put_response( input T2 t )
Raises the number of objections for the source object by count, which defaults to 1.
virtual function void raise_objection ( uvm_object obj = null, string description = "", int count = 1 )
The raised callback is called when this or a descendant of this component instance raises the specified objection.
virtual function void raised ( uvm_objection objection, uvm_object source_obj, string description, int count )
Objection callback that is called when a raise_objection has reached obj.
virtual function void raised ( uvm_object obj, uvm_object source_obj, string description, int count )
Objection raised callback function.
virtual function void raised ( uvm_objection objection, uvm_object obj, uvm_object source_obj, string description, int count )
function T read( uvm_object accessor = null )
Read the named memory
virtual task read_mem_by_name( output uvm_status_e status, input string name, input uvm_reg_addr_t offset, output uvm_reg_data_t data, input uvm_door_e path = UVM_DEFAULT_DOOR, input uvm_reg_map map = null, input uvm_sequence_base parent = null, input int prior = -1, input uvm_object extension = null, input string fname = "", input int lineno = 0 )
Read the named register
virtual task read_reg_by_name( output uvm_status_e status, input string name, output uvm_reg_data_t data, input uvm_door_e path = UVM_DEFAULT_DOOR, input uvm_reg_map map = null, input uvm_sequence_base parent = null, input int prior = -1, input uvm_object extension = null, input string fname = "", input int lineno = 0 )
Reconfigure the manager
function uvm_mem_mam_cfg reconfigure( uvm_mem_mam_cfg cfg = null )
The record method deep-records this object’s properties according to an optional recorder policy.
function void record ( uvm_recorder recorder = null )
This function marks an error transaction by a component.
function int record_error_tr ( string stream_name = "main", uvm_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 int record_event_tr ( string stream_name = "main", uvm_object info = null, string label = "event_tr", string desc = "", time event_time = 0, bit keep_active = 0 )
Record the read access information for this resource for debug purposes.
function void record_read_access( uvm_object accessor = null )
Record the write access information for this resource for debug purposes.
function void record_write_access( uvm_object accessor = null )
Extensions of this class must implement this method to convert the specified uvm_reg_bus_op to a corresponding uvm_sequence_item subtype that defines the bus transaction.
pure virtual function uvm_sequence_item reg2bus( const ref uvm_reg_bus_op rw )
Converts a uvm_reg_bus_op struct to a uvm_tlm_gp item.
virtual function uvm_sequence_item reg2bus( const ref uvm_reg_bus_op rw )
Registers the given proxy object, obj, with the factory.
virtual function void register ( uvm_object_wrapper obj )
Registers the given proxy object, obj, with the factory.
pure virtual function void register ( uvm_object_wrapper obj )
Forcibly release all allocated memory regions.
function void release_all_regions()
Release the specified region
function void release_region( uvm_mem_region region )
Remove a single component to the set of components being monitored.
function void remove ( uvm_component comp )
The uvm_report_phase phase implementation method.
virtual function void report_phase( uvm_phase phase )
Outputs statistical information on the reports issued by this central report server.
virtual function void report_summarize( UVM_FILE file = UVM_STDOUT )
Outputs statistical information on the reports issued by this central report server.
pure virtual function void report_summarize( UVM_FILE file = UVM_STDOUT )
Request and reserve a memory region
function uvm_mem_region request_region( int unsigned n_bytes, uvm_mem_mam_policy alloc = null, string fname = "", int lineno = 0 )
Calls srandom on the object to reseed the object using the UVM 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 ()
Reserve a specific memory region
function uvm_mem_region reserve_region( uvm_reg_addr_t start_offset, int unsigned n_bytes, string fname = "", int lineno = 0 )
Reset the mirror for this block.
virtual function void reset( string kind = "HARD" )
Resets the barrier.
virtual function void reset ( bit wakeup = 1 )
Resets the event to its off state and clears trigger data to its default state.
virtual function void reset ( bit wakeup = 0 )
Resets the event to its off state.
virtual function void reset ( bit wakeup = 0 )
Reset the value to 0
function void reset()
Reset the DUT that corresponds to the specified block abstraction class.
virtual task reset_blk( uvm_reg_block blk )
Reset the DUT that corresponds to the specified block abstraction class.
virtual task reset_blk( uvm_reg_block blk )
Reset the DUT that corresponds to the specified block abstraction class.
virtual task reset_blk( uvm_reg_block blk )
Reset the DUT that corresponds to the specified block abstraction class.
virtual task reset_blk( uvm_reg_block blk )
Reset the DUT that corresponds to the specified block abstraction class.
virtual task reset_blk( uvm_reg_block blk )
Reset the DUT that corresponds to the specified block abstraction class.
virtual task reset_blk( uvm_reg_block blk )
The uvm_reset_phase phase implementation method.
virtual task reset_phase( uvm_phase phase )
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_response_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( uvm_sequence_item response )
Resume this component.
virtual task resume ()
The uvm_run_phase phase implementation method.
virtual task run_phase( uvm_phase phase )
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_phase( uvm_phase phase )
Convenience function for uvm_top.run_test().
task run_test ( string test_name = "" )
Phases all components through all registered phases.
virtual task run_test ( string test_name = "" )