[source]

Class uvm_pkg::uvm_utils

CLASS

uvm_utils #(TYPE,FIELD)

This class contains useful template functions.

Parameters

Name

Default value

Description

TYPE

int

FIELD

"config"

Typedefs

Name

Actual Type

Description

types_t

TYPE

Functions

find_all(uvm_component start)

Function

find_all

Recursively finds all component instances of the parameter type TYPE , starting with the component given by start . Uses uvm_root::find_all.

Parameters:

start (uvm_component)

Return type:

types_t

find(uvm_component start)
Parameters:

start (uvm_component)

create_type_by_name(string type_name, string contxt)
Parameters:
  • type_name (string)

  • contxt (string)

get_config(uvm_component comp, bit is_fatal)

Function

get_config

This method gets the object config of type TYPE associated with component comp . We check for the two kinds of error which may occur with this kind of operation.

Parameters: