# \#LRM-Size-Casting

**URL:** https://verificationacademy.com/forums/tag/lrm-size-casting/7591.md

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

---

## [Expression bit-length and Associativity](https://verificationacademy.com/forums/t/expression-bit-length-and-associativity/51613)

<div class="topic-metadata">

**Author:** [@TC\_2017](https://verificationacademy.com/forums/u/TC_2017)\
**Replies:** 5\
**Last updated:** [May 11, 2026, 3:59pm UTC](https://verificationacademy.com/forums/t/expression-bit-length-and-associativity/51613 "2026-05-11T15:59:28Z")

</div>

Hi Forum, ( A) I was trying the following code to calculate the bit length of an expression The 1st initial block i1 has 6 $display statements where the intended output is observed in the last 4 $display statements. (…

---

## [LRM Size Casting](https://verificationacademy.com/forums/t/lrm-size-casting/38354)

<div class="topic-metadata">

**Author:** [@Have\_A\_Doubt](https://verificationacademy.com/forums/u/Have_A_Doubt)\
**Replies:** 1\
**Last updated:** [November 18, 2020, 7:04am UTC](https://verificationacademy.com/forums/t/lrm-size-casting/38354 "2020-11-18T07:04:25Z")

</div>

Hi all , LRM 6.24.1 says "When changing the size, the cast shall return the value that a packed array type with a single \[n-1:0\] dimension would hold after being assigned the expression, where n is the cast size. The …
