Core Service

UVMkit » 1800.2-2020
Contents
Core Service
uvm_coreservice_tThe library implements the following public API in addition to what is documented in IEEE 1800.2.
uvm_default_coreservice_tImplementation of the uvm_default_coreservice_t as defined in section F.4.2.1 of 1800.2-2020.

uvm_coreservice_t

The library implements the following public API in addition to what is documented in IEEE 1800.2.

Summary
uvm_coreservice_t
The library implements the following public API in addition to what is documented in IEEE 1800.2.
Class Declaration
virtual class uvm_coreservice_t

uvm_default_coreservice_t

Implementation of the uvm_default_coreservice_t as defined in section F.4.2.1 of 1800.2-2020.

class uvm_default_coreservice_t extends uvm_coreservice_t
Summary
uvm_default_coreservice_t
Implementation of the uvm_default_coreservice_t as defined in section F.4.2.1 of 1800.2-2020.
Class Hierarchy
uvm_default_coreservice_t
Class Declaration
class uvm_default_coreservice_t extends uvm_coreservice_t
Methods
get_factoryReturns the currently enabled uvm factory.
set_factorySets the current uvm factory.
get_default_tr_databasereturns the current default record database
set_default_tr_databaseSets the current default record database to db
get_report_serverreturns the current global report_server if no report server has been set before, returns an instance of uvm_default_report_server
set_report_serversets the central report server to server
set_component_visitorsets the component visitor to v (this visitor is being used for the traversal at end_of_elaboration_phase for instance for name checking)
get_component_visitorretrieves the current component visitor if unset(or null) returns a uvm_component_name_check_visitor instance
get_default_printerImplementation of the get_default_printer method, as defined in section F.4.1.4.13 of 1800.2-2020.

get_factory

virtual function uvm_factory get_factory()

Returns the currently enabled uvm factory.  When no factory has been set before, instantiates a uvm_default_factory

set_factory

virtual function void set_factory( uvm_factory  f )

Sets the current uvm factory.  Please note: it is up to the user to preserve the contents of the original factory or delegate calls to the original factory

get_default_tr_database

virtual function uvm_tr_database get_default_tr_database()

returns the current default record database

If no default record database has been set before this method is called, returns an instance of uvm_text_tr_database

set_default_tr_database

virtual function void set_default_tr_database( uvm_tr_database  db )

Sets the current default record database to db

get_report_server

virtual function uvm_report_server get_report_server()

returns the current global report_server if no report server has been set before, returns an instance of uvm_default_report_server

set_report_server

virtual function void set_report_server( uvm_report_server  server )

sets the central report server to server

set_component_visitor

virtual function void set_component_visitor( uvm_visitor#(uvm_component)  v )

sets the component visitor to v (this visitor is being used for the traversal at end_of_elaboration_phase for instance for name checking)

get_component_visitor

virtual function uvm_visitor#( uvm_component ) get_component_visitor()

retrieves the current component visitor if unset(or null) returns a uvm_component_name_check_visitor instance

get_default_printer

virtual function uvm_printer get_default_printer()

Implementation of the get_default_printer method, as defined in section F.4.1.4.13 of 1800.2-2020.

The default printer type returned by this function is a uvm_table_printer, unless the default printer has been set to another printer type

@uvm-accellera The details of this API are specific to the Accellera implementation, and are not being considered for contribution to 1800.2

virtual class uvm_coreservice_t
The library implements the following public API in addition to what is documented in IEEE 1800.2.
class uvm_default_coreservice_t extends uvm_coreservice_t
Implementation of the uvm_default_coreservice_t as defined in section F.4.2.1 of 1800.2-2020.
virtual function uvm_factory get_factory()
Returns the currently enabled uvm factory.
virtual function void set_factory( uvm_factory  f )
Sets the current uvm factory.
virtual function uvm_tr_database get_default_tr_database()
returns the current default record database
virtual function void set_default_tr_database( uvm_tr_database  db )
Sets the current default record database to db
virtual function uvm_report_server get_report_server()
returns the current global report_server if no report server has been set before, returns an instance of uvm_default_report_server
virtual function void set_report_server( uvm_report_server  server )
sets the central report server to server
virtual function void set_component_visitor( uvm_visitor#(uvm_component)  v )
sets the component visitor to v (this visitor is being used for the traversal at end_of_elaboration_phase for instance for name checking)
virtual function uvm_visitor#( uvm_component ) get_component_visitor()
retrieves the current component visitor if unset(or null) returns a uvm_component_name_check_visitor instance
class uvm_component_name_check_visitor extends uvm_visitor#( uvm_component )
This specialized visitor analyze the naming of the current component.
virtual function uvm_printer get_default_printer()
Implementation of the get_default_printer method, as defined in section F.4.1.4.13 of 1800.2-2020.
class uvm_text_tr_database extends uvm_tr_database
The uvm_text_tr_database is the default implementation for the uvm_tr_database.