Skip to content
VLSI Mentor
All UVM RAL labs
Lab 02RAL Foundations and Register ModelingPublished

Register Field Modeling

Beginner~60 min

Problem statement

How do you model multiple register fields with different access policies, reset values, and bit positions using uvm_reg_field?

Learning objective

Model a multi-field register in which every uvm_reg_field's LSB position, width, access policy and reset value matches the RTL bit map.

Prerequisite concepts

  • A single-field uvm_reg model (Lab 01)
  • Bit slicing and field packing in RTL

Concepts covered

  • uvm_reg_field
  • Field configure()
  • Access policy
  • Bit position
This lab is part of UVM RAL Verification Labs

Unlock the complete lab with the UVM RAL Verification Labs collection.

Back to all labs