# \#uvm\_reg

**URL:** https://verificationacademy.com/forums/tag/uvm-reg/4939.md

[Latest](https://verificationacademy.com/forums/latest.md) · [Categories](https://verificationacademy.com/forums/categories.md) · [Tags](https://verificationacademy.com/forums/tags.md)

---

## [How are registers supposed to deal with resets in UVM 2020?](https://verificationacademy.com/forums/t/how-are-registers-supposed-to-deal-with-resets-in-uvm-2020/51540)

<div class="topic-metadata">

**Author:** [@rswarbrick](https://verificationacademy.com/forums/u/rswarbrick)\
**Replies:** 6\
**Last updated:** [February 3, 2026, 11:56am UTC](https://verificationacademy.com/forums/t/how-are-registers-supposed-to-deal-with-resets-in-uvm-2020/51540 "2026-02-03T11:56:11Z")

</div>

I’m struggling with writing a reset test. In it, I see the following behaviour: I start writing a register R. The uvm\_reg::write task calls XatomicX(1), which gets a token from the semaphore and sets the m\_process clas…

---

## [Has anyone implemented a Write 1 only self-clearing policy for a uvm\_reg\_field?](https://verificationacademy.com/forums/t/has-anyone-implemented-a-write-1-only-self-clearing-policy-for-a-uvm-reg-field/48828)

<div class="topic-metadata">

**Author:** [@cropty](https://verificationacademy.com/forums/u/cropty)\
**Replies:** 2\
**Last updated:** [October 30, 2024, 5:11pm UTC](https://verificationacademy.com/forums/t/has-anyone-implemented-a-write-1-only-self-clearing-policy-for-a-uvm-reg-field/48828 "2024-10-30T17:11:53Z")

</div>

Hi, I am trying to implement a policy for W10, but in our case the bit is supposed to self-clear. I am using W1S currently but since that remains set , it does not update for a consequent write? any ideas?

---

## [UVM RAL: Check on read issue](https://verificationacademy.com/forums/t/uvm-ral-check-on-read-issue/48544)

<div class="topic-metadata">

**Author:** [@Asraful\_21](https://verificationacademy.com/forums/u/Asraful_21)\
**Replies:** 0\
**Last updated:** [September 23, 2024, 5:42pm UTC](https://verificationacademy.com/forums/t/uvm-ral-check-on-read-issue/48544 "2024-09-23T17:42:42Z")

</div>

Following is the snippet of uvm\_reg source code. task uvm\_reg::do\_read(uvm\_reg\_item rw) ... UVM\_FRONTDOOR: begin ... if (rw.local\_map.get\_check\_on\_read()) exp = get(); ... if (system\_m…

---

## [How to check the register is implemented in UVM RAL with the address](https://verificationacademy.com/forums/t/how-to-check-the-register-is-implemented-in-uvm-ral-with-the-address/48403)

<div class="topic-metadata">

**Author:** [@bunny](https://verificationacademy.com/forums/u/bunny)\
**Replies:** 1\
**Last updated:** [September 3, 2024, 6:23am UTC](https://verificationacademy.com/forums/t/how-to-check-the-register-is-implemented-in-uvm-ral-with-the-address/48403 "2024-09-03T06:23:54Z")

</div>

Hi Everyone, I want to identify a reg is present just by giving input any address , and it should give true or false. one work around is to read the register using address. if we are able to read the register, and get…

---

## [\[UVM/REG/DUPLROOT\] There are 2 root register models named "reg\_model". The names of the root register models have to be unique](https://verificationacademy.com/forums/t/uvm-reg-duplroot-there-are-2-root-register-models-named-reg-model-the-names-of-the-root-register-models-have-to-be-unique/40335)

<div class="topic-metadata">

**Author:** [@thadoe](https://verificationacademy.com/forums/u/thadoe)\
**Replies:** 1\
**Last updated:** [April 16, 2024, 12:36pm UTC](https://verificationacademy.com/forums/t/uvm-reg-duplroot-there-are-2-root-register-models-named-reg-model-the-names-of-the-root-register-models-have-to-be-unique/40335 "2024-04-16T12:36:08Z")

</div>

Hello, I created a register layer within an env as below. reg\_model = \`RAL\_MODEL::type\_id::create("reg\_model"); reg\_model.build(); reg\_model.set\_hdl\_path\_root(hdl\_path); reg\_model.set\_coverage(UVM\_NO\_COVERAGE…

---

## [Mirrored Value is not getting updated for second reg model's write/read calls](https://verificationacademy.com/forums/t/mirrored-value-is-not-getting-updated-for-second-reg-models-write-read-calls/42275)

<div class="topic-metadata">

**Author:** [@ArunSaiMamidala](https://verificationacademy.com/forums/u/ArunSaiMamidala)\
**Replies:** 0\
**Last updated:** [September 4, 2023, 8:06am UTC](https://verificationacademy.com/forums/t/mirrored-value-is-not-getting-updated-for-second-reg-models-write-read-calls/42275 "2023-09-04T08:06:14Z")

</div>

My design demands two reg models, and I cannot update the mirrored value for uvm\_reg::write() calls ONLY for the second reg model. I see that the design is working as expected, and the original register values are getti…

---

## [Write access to RO register updates mirror value to 0](https://verificationacademy.com/forums/t/write-access-to-ro-register-updates-mirror-value-to-0/41475)

<div class="topic-metadata">

**Author:** [@sharmamadhuri010](https://verificationacademy.com/forums/u/sharmamadhuri010)\
**Replies:** 0\
**Last updated:** [April 6, 2023, 9:06am UTC](https://verificationacademy.com/forums/t/write-access-to-ro-register-updates-mirror-value-to-0/41475 "2023-04-06T09:06:38Z")

</div>

Hi, I have a register which has all Read-Only fields with non-zero reset value. I expect the write access to this register should not affect its value. But, when a write access happens to this Read-only register with s…

---

## [Issue when using uvm\_reg update method: "Accessing non-static members of a null object is not allowed"](https://verificationacademy.com/forums/t/issue-when-using-uvm-reg-update-method-accessing-non-static-members-of-a-null-object-is-not-allowed/41205)

<div class="topic-metadata">

**Author:** [@flo\_gwt](https://verificationacademy.com/forums/u/flo_gwt)\
**Replies:** 2\
**Last updated:** [January 26, 2023, 9:34am UTC](https://verificationacademy.com/forums/t/issue-when-using-uvm-reg-update-method-accessing-non-static-members-of-a-null-object-is-not-allowed/41205 "2023-01-26T09:34:03Z")

</div>

Hi, Running ubm\_tb\_build\_bl\_tb example on SPI interface provided in cookbook code examples (https://verificationacademy.com/cookbook/download?file=https://s3.amazonaws.com/courses.verification.academy/Uvm\_tb\_build\_bl\_tb…

---

## [Is there a way I can disable checking for a specific register in a register map defined using uvm\_reg?](https://verificationacademy.com/forums/t/is-there-a-way-i-can-disable-checking-for-a-specific-register-in-a-register-map-defined-using-uvm-reg/40892)

<div class="topic-metadata">

**Author:** [@spicy\_dice](https://verificationacademy.com/forums/u/spicy_dice)\
**Replies:** 2\
**Last updated:** [October 5, 2022, 4:50pm UTC](https://verificationacademy.com/forums/t/is-there-a-way-i-can-disable-checking-for-a-specific-register-in-a-register-map-defined-using-uvm-reg/40892 "2022-10-05T16:50:43Z")

</div>

Hi, I’m looking to selectively turn off checking on read for certain registers belonging to a register map I have defined using uvm\_reg\_map. I see there is a function called set\_check\_on\_read() but looks like this will d…

---

## [Problem with constructing UART reg model](https://verificationacademy.com/forums/t/problem-with-constructing-uart-reg-model/40514)

<div class="topic-metadata">

**Author:** [@kim\_lee](https://verificationacademy.com/forums/u/kim_lee)\
**Replies:** 0\
**Last updated:** [June 11, 2022, 7:06am UTC](https://verificationacademy.com/forums/t/problem-with-constructing-uart-reg-model/40514 "2022-06-11T07:06:42Z")

</div>

Hi. I have a question about Uart register model In spec, The uart registers THR, RBR and Divisor-Latch(LSB) share the same address in device. THR is write-only, RBR is read-only and Divisor latch is RW. The access bet…

---

## [RAL back door access](https://verificationacademy.com/forums/t/ral-back-door-access/40447)

<div class="topic-metadata">

**Author:** [@Harsha\_vardhan](https://verificationacademy.com/forums/u/Harsha_vardhan)\
**Replies:** 2\
**Last updated:** [May 25, 2022, 11:54am UTC](https://verificationacademy.com/forums/t/ral-back-door-access/40447 "2022-05-25T11:54:07Z")

</div>

Hi, I created Register Model for DMA(direct memory access) and added HDL paths using add\_hdl\_path\_slice for registers and add\_hdl\_path for the entire register model The code is compiled free and when I do front door ac…

---

## [Have you ever used the Factory to override by type/name a uvm\_reg/uvm\_field?](https://verificationacademy.com/forums/t/have-you-ever-used-the-factory-to-override-by-type-name-a-uvm-reg-uvm-field/40283)

<div class="topic-metadata">

**Author:** [@MichaelP](https://verificationacademy.com/forums/u/MichaelP)\
**Replies:** 2\
**Last updated:** [April 17, 2022, 11:17am UTC](https://verificationacademy.com/forums/t/have-you-ever-used-the-factory-to-override-by-type-name-a-uvm-reg-uvm-field/40283 "2022-04-17T11:17:04Z")

</div>

Hello VA, Looking to hear from your experience and wisdom, did you ever had to override using the Factory a uvm\_reg/uvm\_field? Ready to hear all the interesting cases? Just wondering, if I have shadow registers how wo…

---

## [How to access fields in encrypted UVM reg model](https://verificationacademy.com/forums/t/how-to-access-fields-in-encrypted-uvm-reg-model/40053)

<div class="topic-metadata">

**Author:** [@verific\_engi](https://verificationacademy.com/forums/u/verific_engi)\
**Replies:** 2\
**Last updated:** [February 11, 2022, 11:27pm UTC](https://verificationacademy.com/forums/t/how-to-access-fields-in-encrypted-uvm-reg-model/40053 "2022-02-11T23:27:06Z")

</div>

Hello all I have been given an encrypted reg model of design and was asked to go around and try to access fields. Is there any way or method in UVM to access the fields inside the reg model for env setup?

---

## [How to know backdoor access can't use or not?](https://verificationacademy.com/forums/t/how-to-know-backdoor-access-cant-use-or-not/39965)

<div class="topic-metadata">

**Author:** [@UVM\_LOVE](https://verificationacademy.com/forums/u/UVM_LOVE)\
**Replies:** 8\
**Last updated:** [January 19, 2022, 9:23am UTC](https://verificationacademy.com/forums/t/how-to-know-backdoor-access-cant-use-or-not/39965 "2022-01-19T09:23:50Z")

</div>

DearAll I’m trying to understanding UVM REG Model ACCESSING. https://www.edaplayground.com/x/hbg4 Firstly, to understanding .update() functionality, I add the .mirror() method as the below. then I add regmodel.update…

---

## [Using uvm\_reg instead of uvm\_mem to create memory in ral model, but it's consume too much tool memory and causing the error?](https://verificationacademy.com/forums/t/using-uvm-reg-instead-of-uvm-mem-to-create-memory-in-ral-model-but-its-consume-too-much-tool-memory-and-causing-the-error/39958)

<div class="topic-metadata">

**Author:** [@LEECUNGUAN](https://verificationacademy.com/forums/u/LEECUNGUAN)\
**Replies:** 2\
**Last updated:** [January 13, 2022, 12:59am UTC](https://verificationacademy.com/forums/t/using-uvm-reg-instead-of-uvm-mem-to-create-memory-in-ral-model-but-its-consume-too-much-tool-memory-and-causing-the-error/39958 "2022-01-13T00:59:31Z")

</div>

Using uvm\_reg instead of uvm\_mem to create memory in ral model, is that uvm\_reg will consume much more too memory compare to uvm\_mem ? i need the explanation guys thanks

---

## [Uvm\_reg\_field Individual Byte Access Works in UVM 1.2 but not in UVM IEEE 1800.2-2017](https://verificationacademy.com/forums/t/uvm-reg-field-individual-byte-access-works-in-uvm-1-2-but-not-in-uvm-ieee-1800-2-2017/38558)

<div class="topic-metadata">

**Author:** [@William\_Moore](https://verificationacademy.com/forums/u/William_Moore)\
**Replies:** 2\
**Last updated:** [January 8, 2021, 6:40pm UTC](https://verificationacademy.com/forums/t/uvm-reg-field-individual-byte-access-works-in-uvm-1-2-but-not-in-uvm-ieee-1800-2-2017/38558 "2021-01-08T18:40:54Z")

</div>

Hi, I have 32-bit uvm\_regs that contains uvm\_reg\_fields that are the only fields in their byte lane. I configure the uvm\_reg\_field instances with individually\_accessible=1. In my uvm\_reg\_adapter I set supports\_byte\_enab…

---

## [Uvm\_reg protocol level error/pio hole err injection](https://verificationacademy.com/forums/t/uvm-reg-protocol-level-error-pio-hole-err-injection/37396)

<div class="topic-metadata">

**Author:** [@waver123](https://verificationacademy.com/forums/u/waver123)\
**Replies:** 0\
**Last updated:** [April 3, 2020, 11:38pm UTC](https://verificationacademy.com/forums/t/uvm-reg-protocol-level-error-pio-hole-err-injection/37396 "2020-04-03T23:38:18Z")

</div>

I’ve some questions on how exactly to inject error scenario cases using uvm\_reg infrastructure, specifically (1. protocol level and 2. pio holes accesses). for protocol level let’s say the underlying pio intf is an ax…

---

## [Uvm\_reg\_file](https://verificationacademy.com/forums/t/uvm-reg-file/37179)

<div class="topic-metadata">

**Author:** [@Eranr](https://verificationacademy.com/forums/u/Eranr)\
**Replies:** 1\
**Last updated:** [February 13, 2020, 10:34am UTC](https://verificationacademy.com/forums/t/uvm-reg-file/37179 "2020-02-13T10:34:35Z")

</div>

Hi, What are the usages of uvm\_reg\_file?

---

## [Get\_mirrored\_value() mismatch](https://verificationacademy.com/forums/t/get-mirrored-value-mismatch/36994)

<div class="topic-metadata">

**Author:** [@Bahaa\_Osman](https://verificationacademy.com/forums/u/Bahaa_Osman)\
**Replies:** 4\
**Last updated:** [January 9, 2020, 6:15pm UTC](https://verificationacademy.com/forums/t/get-mirrored-value-mismatch/36994 "2020-01-09T18:15:43Z")

</div>

According to the documentation, the mirrored value of a register is updated by the predictor at the end of a transaction. But what about before any register accesses? Here is the full scenario: I have a register regA wi…

---

## [UVM RAL implementation methodology for large designs](https://verificationacademy.com/forums/t/uvm-ral-implementation-methodology-for-large-designs/36510)

<div class="topic-metadata">

**Author:** [@rgarcia07](https://verificationacademy.com/forums/u/rgarcia07)\
**Replies:** 0\
**Last updated:** [September 6, 2019, 6:11pm UTC](https://verificationacademy.com/forums/t/uvm-ral-implementation-methodology-for-large-designs/36510 "2019-09-06T18:11:37Z")

</div>

Hello, I was wondering if are there any resources (papers, blogs, posts) about methodologies to implement UVM RAL for “large” designs (\>100K registers and 500K rams)? I tried to do some research online but most of the r…

---

## [X in uvm\_reg transactions](https://verificationacademy.com/forums/t/x-in-uvm-reg-transactions/36204)

<div class="topic-metadata">

**Author:** [@vigneshr95](https://verificationacademy.com/forums/u/vigneshr95)\
**Replies:** 7\
**Last updated:** [July 4, 2019, 5:06pm UTC](https://verificationacademy.com/forums/t/x-in-uvm-reg-transactions/36204 "2019-07-04T17:06:47Z")

</div>

Hi, I have an issue where teh DUT returns an X for register read but the reg2bus still sees it as a 0. When I was going over the uvm\_reg\_bus\_op struct the type for data is uvm\_reg\_data\_t which is only 2-state. Is ther…

---

## [UVM reg field access via name](https://verificationacademy.com/forums/t/uvm-reg-field-access-via-name/33253)

<div class="topic-metadata">

**Author:** [@mayurverf](https://verificationacademy.com/forums/u/mayurverf)\
**Replies:** 5\
**Last updated:** [June 19, 2019, 9:43am UTC](https://verificationacademy.com/forums/t/uvm-reg-field-access-via-name/33253 "2019-06-19T09:43:07Z")

</div>

Is anyone aware as to how we get the details of all the parent registers for a given bit field via name especially if the bit filed is spread over multiple registers … ? In our register map … we have a bit field\[ BIT\_FI…

---

## [Multiple agents accessing a single uvm\_reg\_block](https://verificationacademy.com/forums/t/multiple-agents-accessing-a-single-uvm-reg-block/35269)

<div class="topic-metadata">

**Author:** [@mpattaje](https://verificationacademy.com/forums/u/mpattaje)\
**Replies:** 2\
**Last updated:** [November 3, 2018, 2:09pm UTC](https://verificationacademy.com/forums/t/multiple-agents-accessing-a-single-uvm-reg-block/35269 "2018-11-03T14:09:25Z")

</div>

Hi, We have a scenario, where the complete system has one uvm\_reg\_block. The sytem has two masters driving and accessing any registers at any point of time, but only sequentially. How to connect sequencers to a single …

---

## [Uvm reg predict issue](https://verificationacademy.com/forums/t/uvm-reg-predict-issue/30409)

<div class="topic-metadata">

**Author:** [@chitlesh](https://verificationacademy.com/forums/u/chitlesh)\
**Replies:** 7\
**Last updated:** [October 15, 2018, 7:05am UTC](https://verificationacademy.com/forums/t/uvm-reg-predict-issue/30409 "2018-10-15T07:05:26Z")

</div>

Hi there, I have a scenario where there are only two registers e.g 0xA and 0xB registers 0xA are readonly and one of its bit is set when I write to 0xB. that bit is cleared upon read access. registers 0xB allows re…

---

## [UVM Reg with indirect address map?](https://verificationacademy.com/forums/t/uvm-reg-with-indirect-address-map/34619)

<div class="topic-metadata">

**Author:** [@davidrogoff](https://verificationacademy.com/forums/u/davidrogoff)\
**Replies:** 1\
**Last updated:** [July 13, 2018, 12:04am UTC](https://verificationacademy.com/forums/t/uvm-reg-with-indirect-address-map/34619 "2018-07-13T00:04:19Z")

</div>

Hi. I’ve been using UVM for a few years and UVM Reg for the last few months. I have set up a working verification environment using a generated register block RTL and generated UVM Reg model. I have working tests usin…

---

## [UVM\_REG\_BLOCK from UVM\_REG](https://verificationacademy.com/forums/t/uvm-reg-block-from-uvm-reg/34476)

<div class="topic-metadata">

**Author:** [@nikhilsingla4u](https://verificationacademy.com/forums/u/nikhilsingla4u)\
**Replies:** 1\
**Last updated:** [May 22, 2018, 3:14am UTC](https://verificationacademy.com/forums/t/uvm-reg-block-from-uvm-reg/34476 "2018-05-22T03:14:22Z")

</div>

I want a handle of uvm\_reg\_block in uvm\_reg as I want to write some different register from this reg\_block . I am providing the exact scenario below . Reg\_block and Register declaration : class ral\_reg\_1 extends overr…

---

## [How to do uvm built in bit-bash sequence /read-write on Indirect addressed registers?](https://verificationacademy.com/forums/t/how-to-do-uvm-built-in-bit-bash-sequence-read-write-on-indirect-addressed-registers/33119)

<div class="topic-metadata">

**Author:** [@aditgupta100](https://verificationacademy.com/forums/u/aditgupta100)\
**Replies:** 0\
**Last updated:** [May 14, 2017, 9:46am UTC](https://verificationacademy.com/forums/t/how-to-do-uvm-built-in-bit-bash-sequence-read-write-on-indirect-addressed-registers/33119 "2017-05-14T09:46:02Z")

</div>

I have design environment in which there’s indirect addressed registers say X(address : 32’h200), Y(address : 32’h204), Z(address : 32’h208). Now, there’re 2 more registers Addr(address : 32’h0), Data(address : 32’h4). …

---

## [How to print variable of type uvm\_reg?](https://verificationacademy.com/forums/t/how-to-print-variable-of-type-uvm-reg/32569)

<div class="topic-metadata">

**Author:** [@sudhirss77](https://verificationacademy.com/forums/u/sudhirss77)\
**Replies:** 2\
**Last updated:** [November 23, 2016, 6:18pm UTC](https://verificationacademy.com/forums/t/how-to-print-variable-of-type-uvm-reg/32569 "2016-11-23T18:18:20Z")

</div>

I want to parse a text file and extract a register name and store it in a variable of type uvm\_reg. How can I print the variable of type uvm\_reg?. If I use %s, I get compile error. Also, it’s considering variable ‘rgstr’…

---

## [UVM RAL Related](https://verificationacademy.com/forums/t/uvm-ral-related/32510)

<div class="topic-metadata">

**Author:** [@anirban\_pande](https://verificationacademy.com/forums/u/anirban_pande)\
**Replies:** 1\
**Last updated:** [November 8, 2016, 3:51am UTC](https://verificationacademy.com/forums/t/uvm-ral-related/32510 "2016-11-08T03:51:31Z")

</div>

HI All, I have a general idea about the UVM RAL. But cannot figure out below things … Could you please let me know what is significance difference the uvm\_reg\_predictor & uvm\_reg\_adapter ? Please also focus on why bot…

---

## [How to support multiple register maps in a SOC system for a block with only one register map?](https://verificationacademy.com/forums/t/how-to-support-multiple-register-maps-in-a-soc-system-for-a-block-with-only-one-register-map/30934)

<div class="topic-metadata">

**Author:** [@pinegreen](https://verificationacademy.com/forums/u/pinegreen)\
**Replies:** 6\
**Last updated:** [November 1, 2016, 2:55pm UTC](https://verificationacademy.com/forums/t/how-to-support-multiple-register-maps-in-a-soc-system-for-a-block-with-only-one-register-map/30934 "2016-11-01T14:55:33Z")

</div>

I have a question of how to reuse a block reg\_block to a multi-processor SOC system level. Usually a block has only one configuration interface(AHB, for example), so in the block level environment, it will instantiate i…

[Next page](https://verificationacademy.com/forums/tag/uvm-reg/4939.md?match_all_tags=true&page=1&tags%5B%5D=uvm_reg)
