# \#count

**URL:** https://verificationacademy.com/forums/tag/count/6086.md

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

---

## [Convert uvm\_packer attributes from UVM 1.1d, 1.2 to UVM 1800](https://verificationacademy.com/forums/t/convert-uvm-packer-attributes-from-uvm-1-1d-1-2-to-uvm-1800/39908)

<div class="topic-metadata">

**Author:** [@mukul1996](https://verificationacademy.com/forums/u/mukul1996)\
**Replies:** 0\
**Last updated:** [December 22, 2021, 2:09pm UTC](https://verificationacademy.com/forums/t/convert-uvm-packer-attributes-from-uvm-1-1d-1-2-to-uvm-1800/39908 "2021-12-22T14:09:52Z")

</div>

Can someone tell me what is the corresponding attribute of “m\_packed\_size” in UVM 1800. I need to convert this line packer.m\_packed\_size = packer.count; to UVM 1800. For count, I know I can call packer.get\_packed\_siz…

---

## [SVA: Counting and Comparing](https://verificationacademy.com/forums/t/sva-counting-and-comparing/33009)

<div class="topic-metadata">

**Author:** [@sonofthesand](https://verificationacademy.com/forums/u/sonofthesand)\
**Replies:** 4\
**Last updated:** [April 4, 2017, 6:44pm UTC](https://verificationacademy.com/forums/t/sva-counting-and-comparing/33009 "2017-04-04T18:44:38Z")

</div>

Hi, I have a signal “A” that has random pulses and another signal “B” that has random pulses. I need to count the number of pulses that “A” has and “B” has in a certain period. After that, compare them e.g. A has 30% …
