UVM Tutorial for Candy Lovers – 2. Recipe
While the last post clarified the verification components of the jelly-bean taster, this post will provide a focus for the jelly-bean recipe.
The jelly-bean recipe is passed as a transaction from the jelly_bean_sequencer
to the jelly_bean_driver
. The transaction is referred to as the jelly_bean_transaction
. The transaction defines the jelly bean, based on its flavor, color, and other characteristics. The similar jelly_bean_transaction
is passed from the jelly_bean_monitor
to every subscriber as well.
The jelly_bean_sequencer
does not only produce the recipe of the individual jelly bean – rather it is able to produce a similar flavor of multiple jelly beans, as a sequence of transactions, and a collection of multiple-flavored jelly beans in the form of a gift box, as a sequence of sequences .
The class diagram of the transaction and sequence is shown below. The colors of this diagram correspond to the colors listed in the previous post. The light blue boxes refer to the classes in the UVM basic class library, while the darker boxes indicate the classes created in this tutorial.
Class Diagram of Verification Objects
Verification Components
Though this post ends on this note, the next will provide a focus on the SystemVerilog code itself.