Changelog¶
2026-12¶
APB example and report summary¶
New
ivl_uvm_examples: an APB requester UVC with a directed test and a small APB completer (Examples).make vwapbruns it, and it is part ofmake check.The UVM report summary is now printed at the end of
run_test, as the BCL does. Before, it was printed only when the moduleivl_uvm_cmdline_processorwas elaborated, so a test that did not name it with-sended without it. A testbench that prints afterrun_testreturns shows those lines below the summary, and the summary does not count them.The phase messages of a component and the message of
uvm_testuse the name of the component as the message ID. They were counted twice in theUVM_INFOtotal and now count once.The closing line of the summary (
Thanks for using IVL_UVM Package) has the IDIVL_UVM.
TLM ports¶
ivl_uvm_tlm_mbx #(T), a typed first-in first-out mailbox that waits on an event, with an optional bound (t46). It replaces theivl_uvm_seq_item_channelclass, which is removed.uvm_seq_item_pull_portanduvm_seq_item_pull_imptake the place of the stand-in port: a driver now also hastry_next_item,get,peekandhas_do_available(t43tot45,t47,t49).ivl_uvm_seq_item_portstays as a subclass of the new port.uvm_analysis_port,uvm_analysis_exportanduvm_analysis_imp, and theanalysis_exportofuvm_subscriber(t42,t48).uvm_analysis_imp_declhas an IVL_UVM version (t51). Misuse of a connection (null, itself, twice, a secondconnectof a pull port, other item types) is an error (t50).item_donewith a response reports one error (the response path is not ported).Second review round, analysis side: an analysis port, export or imp now has a kind. An export cannot connect to a port, and an imp takes no connection (
Connection Error). A connection made twice is accepted once without a message. A connection made afterend_of_elaborationis aLate Connectionwarning and is ignored. Anuvm_analysis_exportthat reaches no imp is an error atend_of_elaboration.writewalks the connections (a loop of ports ends), reaches each imp once, even through two paths, and goes in the order of the imp full names, as the BCL does.size()is the number of imps reached.uvm_analysis_export::newtakes a null parent by default (t50).try_next_itemwaits for a granted sequence for a bounded number of delta cycles and then reportsTRY_NEXT_BLOCKEDand returns null, instead of waiting for ever (t51).The ports are components, so they show in
print_topology; the golden logs oft42tot45changed only by their lines and object IDs.
2026-11¶
Sequences¶
uvm_sequenceanduvm_sequence_base:startand its hooks,body,start_item,finish_item,create_item, child sequences, state and priority (t44,t45).uvm_sequencer:get,peek,execute_item,is_childanduvm_virtual_sequencer(t45). See Differences from Standard UVM.
Sequencer and driver¶
uvm_driveranduvm_sequencer: a driver takes items withseq_item_port.get_next_itemanditem_done(t43).A one-item mailbox stands in for the TLM ports. There is no arbitration or response yet. See Differences from Standard UVM.
Monitor, scoreboard and subscriber base classes¶
uvm_monitor(t40) anduvm_scoreboard(t41).uvm_subscriberwithwrite(t42). It has noanalysis_exportyet, andwriteis notpure virtual. See Differences from Standard UVM.
Environment and agent base classes¶
uvm_env, the base class for environments (t37).uvm_agentwithis_activeandget_is_active(t38). Unlike standard UVM, itsbuild_phasedoes not readis_activefrom the configuration settings; set it by assignment. See Differences from Standard UVM.A topology example: a test, an env and two agents with dummy drivers and monitors, printed with
uvm_top.print_topology(t39).
Root component¶
uvm_rootanduvm_top. A component created withparent = nullis a child ofuvm_topand is phased (t28,t30).Children are visited and listed in name order, as in standard UVM; before, it was the order of creation.
uvm_top.find,find_all,print_topologyanduvm_is_match(t33).uvm_top.set_timeoutand+UVM_TIMEOUT=<n>,NO(t34tot36).run_testfollows standard UVM:+UVM_TESTNAMEoverrides the argument, with no test name the existing components are run, andNOCOMPandTTINSTare fatal errors (t31,t32).
Parallel run phase and objections¶
The
run_phasetasks of all components now start together and run in parallel.run_testwaits until the objections of the run phase are dropped and then stops the tasks that are still running (t26,t27). See Phasing: How run_test Runs the Phases.uvm_objectioncounts the objections of a phase:raise_objection,drop_objectionandget_objection_total, with one total per phase (t25).uvm_phasehasget_objection()and itsraise_objectionanddrop_objectionuse it. An objection raised after a nonblocking assignment in the first time step is honoured, as in standard UVM (t27).
Component hierarchy and phasing¶
uvm_componentwith parent, children,get_full_name,get_depth,get_childand the other child functions (testst20).uvm_component_utilsandmy_comp::type_id::create(name, parent)for components (t22).run_testruns the phasesbuildtofinalover the whole component tree, not only the test:build,runandfinaltop-down, the others bottom-up, oldest child first (t21,t23,t24). See Phasing: How run_test Runs the Phases.The old
ivl_uvm_run_all_phasescall is gone;run_teststarts the phases.
Objects, transactions and the registry¶
uvm_object:printandsprint(table format),copy,clone,compare,packandunpack, withuvm_printer,uvm_compareranduvm_packer(t11tot14).Field macros
uvm_field_int,uvm_field_string,uvm_field_enum,uvm_field_realanduvm_field_object, withuvm_object_utilsand the*_begin/*_endform (t15).uvm_transactionanduvm_sequence_item(t16,t17,t19).type_id,get_typeandget_object_typefor objects (t18).uvm_scope_stack,uvm_copy_mapanduvm_status_container(t8tot10).
Factory and test selection¶
Factory with
create_component_by_name,create_object_by_name,create_component_by_type,create_object_by_type,is_type_name_registeredandprint.Run-time test selection with
run_test("name")and+UVM_TESTNAME.uvm_testis abstract, as in standard UVM.
Regression¶
Tests
t0tot27;make checkandmake goldcompare runs with golden logs.make checknow fails on an unknown test number, a failingmake, or a missing log, and an expected failure (the APB example) is listed inexpected_fail.list. A self-test of the runner,ivl_uvm_check_selftest.sh, was added. See Regression.