[source]

Class uvm_utils

uvm_pkg::uvm_utils <TYPE> + create_type_by_name(): TYPE + find(): TYPE + find_all(): types_t + get_config(): TYPE

Inheritance Diagram of 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

static function types_t find_all ( uvm_component start ) [source]

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

static function TYPE find ( uvm_component start ) [source]

static function TYPE create_type_by_name ( string type_name, string contxt ) [source]

static function TYPE get_config ( uvm_component comp, bit is_fatal ) [source]

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.