# uvm_env

The base class for hierarchical containers of other components that together comprise a complete environment. The environment may initially consist of the entire testbench. Later, it can be reused as a sub-environment in even larger system-level environments.

Summary

uvm_env
The base class for hierarchical containers of other components that together comprise a complete environment.
Class Hierarchy
uvm_void
uvm_object
uvm_report_object
uvm_component
uvm_env
Class Declaration
> virtual class uvm_env extends uvm_component
Methods |
new | 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.

### Methods

### new

> function new (
> | string | name | = | "env",
> | uvm_component | parent | = | null
> )

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.

> virtual class uvm_void

The uvm_void class is the base class for all UVM classes.

> virtual class uvm_object extends uvm_void

The uvm_object class is the base class for all UVM data and hierarchical classes.

> class uvm_report_object extends uvm_object

The uvm_report_object provides an interface to the UVM reporting facility.

> virtual class uvm_component extends uvm_report_object

The uvm_component class is the root base class for UVM components.

> virtual class uvm_env extends uvm_component

The base class for hierarchical containers of other components that together comprise a complete environment.

> function new (
> | string | name | = | "env",
> | uvm_component | parent | = | null
> )

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.