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

APB Register Adapter

Beginner~75 min

Problem statement

How do you implement an APB-to-RAL uvm_reg_adapter and translate register operations into actual bus transactions?

Learning objective

Implement reg2bus() and bus2reg() for APB so that every register operation becomes a correct APB transfer and every APB response returns a correct status and data.

Prerequisite concepts

  • APB transfer phases and PSLVERR
  • UVM sequence items
  • uvm_reg_bus_op fields

Concepts covered

  • uvm_reg_adapter
  • reg2bus()
  • bus2reg()
  • uvm_reg_bus_op
  • APB
This lab is part of UVM RAL Verification Labs

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

Back to all labs