Returns the last valid (enabled) callback of the callback type (or a derivative) that is in the queue of the context object.
function CB last()
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 )
Number of addresses required
int unsigned len
The file name from where this transaction originated, if provided at the call site.
int lineno
The local map used to obtain addresses.
uvm_reg_map local_map
Region location mode
rand uvm_mem_mam::locality_e locality
Requests a lock on the specified sequencer.
task lock( uvm_sequencer_base sequencer = null )
Locks the data value
function void lock()
Lock a model and build the address map.
virtual function void lock_model()
Looks for a component with the given hierarchical name relative to this component.
function uvm_component lookup ( string name )
Lookup resources by name.
function uvm_resource_types::rsrc_q_t lookup_name( string scope = "", string name, uvm_resource_base type_handle = null, bit rpterr = 1 )
Looks for all the resources whose name matches the regular expression argument and whose scope matches the current scope.
function uvm_resource_types::rsrc_q_t lookup_regex( string re, scope )
This utility function answers the question, for a given name, scope, and type_handle, what are all of the resources with requested name, a matching scope (where the resource scope may be a regular expression), and a matching type?
function uvm_resource_types::rsrc_q_t lookup_regex_names( string scope, string name, uvm_resource_base type_handle = null )
This is a utility function that answers the question: For a given scope, what resources are visible to it?
function uvm_resource_types::rsrc_q_t lookup_scope( string scope )
Lookup resources by type.
function uvm_resource_types::rsrc_q_t lookup_type( string scope = "", uvm_resource_base type_handle )
Address for the bus operation.
rand bit [63:0] m_address
Indicates valid m_data array elements.
rand byte unsigned m_byte_enable[]
The number of elements in the m_byte_enable array.
rand int unsigned m_byte_enable_length
Bus operation type.
rand uvm_tlm_command_e m_command
Data read or to be written.
rand byte unsigned m_data[]
DMI mode is not yet supported in the UVM TLM2 subset.
bit m_dmi
The number of bytes to be copied to or from the m_data array, inclusive of any bytes disabled by the m_byte_enable attribute.
rand int unsigned m_length
Status of the bus operation.
rand uvm_tlm_response_status_e m_response_status
Number of bytes transferred on each beat.
rand int unsigned m_streaming_width
The m_uvm_printer_knobs class defines the printer settings available to all printer subtypes.
class m_uvm_printer_knobs
The uvm_main_phase phase implementation method.
virtual task main_phase( uvm_phase phase )
Memory allocation manager
uvm_mem_mam mam
The original map specified for the operation.
uvm_reg_map map
The map used to convert a bus address to the corresponding register or memory handle.
uvm_reg_map map
Using the regular expression facility, determine if this resource is visible in a scope.
function bit match_scope( string s )
Maximum address offset in the managed address space
bit [63:0] max_offset
Sets the maximum number of items to execute.
int unsigned max_random_count=10
This is a file descriptor, or multi-channel descriptor, that specifies where the print output should be directed.
int mcd = UVM_STDOUT
The memory to be tested
uvm_mem mem
The memory to be tested
uvm_mem mem
The memory to test; must be assigned prior to starting sequence.
uvm_mem mem
The sequence used to test one memory
protected uvm_mem_single_access_seq mem_seq
The sequence used to test one memory
protected uvm_mem_single_walk_seq mem_seq
The sequence used to test one memory
protected uvm_mem_shared_access_seq mem_seq
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( uvm_sequence_item this_item )
Minimum address offset in the managed address space
bit [63:0] min_offset
Sets the minimum number of items to execute.
int unsigned min_random_count=10
Update the mirrored values
virtual task mirror( output uvm_status_e status, input uvm_check_e check = UVM_NO_CHECK, input uvm_door_e path = UVM_DEFAULT_DOOR, input uvm_sequence_base parent = null, input int prior = -1, input uvm_object extension = null, input string fname = "", input int lineno = 0 )
This string is reset to an empty string when a comparison is started.
`ifdef UVM_ENABLE_DEPRECATED_API string miscompares = ""
Region allocation mode
rand uvm_mem_mam::alloc_mode_e mode
Block abstraction this sequence executes on, defined only when this sequence is a user-defined test sequence.
uvm_reg_block model
Number of bytes in each memory location
rand int unsigned n_bytes
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()
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 )
Creates a new instance of uvm_line_printer.
function new( string name = "" )
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 instance and type-specific configuration
function new( string name = "", int has_coverage = UVM_NO_COVERAGE )
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.
`ifdef UVM_ENABLE_DEPRECATED_API function new( string name = "", string s = "*" )
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.
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_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 instance of uvm_tree_printer.
function new( string name = "" )
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 ()
This string should be prepended to the value of an integral type when a radix of UVM_OCT is used for the radix of the integral object.
string oct_radix = "'o"
For memory accesses, the offset address.
rand uvm_reg_addr_t offset
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 )
The sequence from which the operation originated.
rand uvm_sequence_base parent
Set this member in extensions of this class if the bus driver requires bus items be executed via a particular sequence base type.
uvm_sequence_base parent_sequence
The path being used: UVM_FRONTDOOR or UVM_BACKDOOR.
uvm_door_e path
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 )
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 UVM_DEEP, UVM_REFERENCE, or UVM_SHALLOW.
`ifdef UVM_ENABLE_DEPRECATED_API uvm_recursion_policy_enum policy = UVM_DEFAULT_POLICY
Determines whether comparison is UVM_DEEP, UVM_REFERENCE, or UVM_SHALLOW.
uvm_recursion_policy_enum policy = UVM_DEFAULT_POLICY
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 )
This variable is used to associate a precedence that a resource has with respect to other resources which match the same scope and name.
int unsigned precedence
Specifies the string prepended to each output line
string prefix = ""
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 )
Setting this static variable causes uvm_config_db::get() to print info about matching configuration settings as they are being applied.
static bit print_config_matches
Called without arguments, print_config_settings prints all configuration information for this component, as set by previous calls to uvm_config_db::set().
function void print_config_settings ( string field = "", uvm_component comp = null, bit recurse = 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 )
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 (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 )
The priority requested of this transfer, as defined by uvm_sequence_base::start_item.
int prior = -1
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 )
Set this bit in extensions of this class if the bus driver provides separate response items.
bit provides_responses
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 )