Feature Status

Status of the UVM features in IVL_UVM. Works means a regression test covers it; the test numbers are listed on the Regression page.

Feature

Status

Notes

Messaging: uvm_info, uvm_warning, uvm_error, uvm_fatal

Works

Verbosity control, severity counts and the final summary. Test t0. Messages do not show the name of the component that reports them.

Command-line options

Works

+UVM_VERBOSITY, +UVM_TIMEOUT, +UVM_MAX_QUIT_COUNT, +UVM_TESTNAME. Tests t0, t3, t36.

uvm_object

Works

create, get_type_name, print and sprint (table format), copy, clone, compare, pack and unpack. Tests t11 to t14. Recording is not available, and reseed has no effect because Icarus does not support random seeding of a class.

Field automation macros

Partial

uvm_field_int, uvm_field_string, uvm_field_enum, uvm_field_real and uvm_field_object. Test t15. The array, queue and associative-array macros are not ported yet; do not use them.

uvm_transaction, uvm_sequence_item

Works

Tests t16, t17, t19. An item sent through a sequencer knows its sequencer and its sequence ID (t43).

uvm_object_utils, *_begin / *_end, type_id::create, get_type, get_object_type

Works

For objects. Tests t18, t19.

uvm_component: name, parent, full name, children, depth

Works

get_parent, get_full_name, get_child, get_first_child / get_next_child, get_num_children, has_child, get_depth. A duplicate child name is a fatal error. Test t20. The children are listed in name order.

uvm_component_utils, type_id::create(name, parent)

Works

For components, with get_type and get_object_type. Test t22.

run_test and +UVM_TESTNAME

Works

Pick the test at run time. Tests t0 to t6, t21, t31, t32.

Phases build to final over the whole component tree

Works

The phases are run one after another over every component: the test, its children and the components created with parent = null, in the order of standard UVM. Tests t21, t23, t24, t28. See Phasing: How run_test Runs the Phases.

Parallel run_phase

Works

The run_phase tasks of all components start together and run in parallel. The run phase ends when the objections are dropped, and the tasks still running (for example a forever loop) are stopped. Tests t26, t27. See Phasing: How run_test Runs the Phases.

Objections: raise_objection, drop_objection, get_objection_total

Partial

One total for the run phase. Tests t25, t26, t27. The object you pass is not recorded, and there is no hierarchy, drain time or callbacks yet.

Factory

Partial

create_component_by_name, create_component_by_type, create_object_by_name, create_object_by_type, is_type_name_registered, print. No overrides yet.

Supporting classes

Works

uvm_scope_stack, uvm_copy_map, uvm_status_container, uvm_comparer, uvm_packer and uvm_printer. Tests t8 to t12, t14.

Mailbox (ivl_uvm_mbx)

Works

Integer and class payloads. Tests t5, t6.

Typed mailbox (ivl_uvm_tlm_mbx #(T))

Works

A first-in first-out mailbox for any payload type, with an optional bound. put, get and peek wait; try_put, try_get and try_peek do not. Test t46. It is the sequencer’s one-item request mailbox. When several processes wait for the same mailbox, which one is served first is not defined.

Sequencer-driver ports: uvm_seq_item_pull_port, uvm_seq_item_pull_imp

Partial

A driver’s seq_item_port connects to a sequencer’s seq_item_export with connect, and offers get_next_item, try_next_item, item_done, get, peek and has_do_available. Both show in print_topology. Using an unconnected port is a fatal error. No put_response, rsp_port, uvm_seq_item_pull_export or hierarchical connections. Tests t43 to t45, t47, t49.

Analysis ports: uvm_analysis_port, uvm_analysis_export, uvm_analysis_imp

Partial

write reaches every connection, in the order of the full names of the imps, through exports to the imp of a uvm_subscriber. A port with no connection does nothing. Test t48. The connection is a direct call, as in standard UVM, so write never waits. There are no uvm_tlm_fifo or uvm_tlm_analysis_fifo classes. An export must reach an imp, checked at the end of elaboration; a late connect is ignored with a warning.

Simple TLM pull port and export (ivl_uvm_tlm_pull_port)

Partial

Placeholders used by the module-based APB example (t7) only. Use the TLM ports above.

APB master example

Partial

Module-based master and slave DUT, test t7. It ends on the global timeout, and the regression records that as the expected result.

uvm_root (uvm_top)

Partial

uvm_root::get, run_test, find, find_all, print_topology and set_timeout. Tests t28, t30, t33 to t36, t39. See Differences from Standard UVM.

uvm_config_db, factory overrides

Not yet

Planned.

Sequences (uvm_sequence)

Partial

start with the pre_start, pre_body, pre_do, mid_do, post_do, post_body and post_start hooks, body, start_item, finish_item, create_item, child sequences, state and priority. No responses, uvm_do, kill, lock or grab. Tests t44, t45. See Writing Tests.

uvm_sequencer

Partial

Hands one item at a time to a driver through its seq_item_export. Also get, peek, try_next_item, has_do_available and execute_item. No arbitration, lock, grab or responses. Tests t43 to t45, t47. See Differences from Standard UVM.

uvm_env

Works

Base class for environments, with the standard constructor defaults and type name. Test t37.

uvm_agent

Partial

is_active (default UVM_ACTIVE) and get_is_active. build_phase does not read is_active from the configuration settings; set it by assignment. Test t38. See Differences from Standard UVM.

uvm_monitor

Works

Base class for monitors. Test t40. A monitor cannot reach DUT signals through a virtual interface; see Differences from Standard UVM.

uvm_scoreboard

Works

Base class for scoreboards. Test t41.

uvm_subscriber

Partial

Base class with write, for int or class transactions, and an analysis_export an analysis port connects to. Tests t42, t48. See Differences from Standard UVM.

uvm_driver

Partial

seq_item_port (a uvm_seq_item_pull_port) and req. No rsp_port. Tests t43 to t45, t47. See Writing Tests.

Virtual interfaces

Not yet

Icarus does not support virtual interfaces today, so a driver cannot reach DUT signals as it does in standard UVM. See Differences from Standard UVM.