# How else we can use pre\_body method and post\_body method in a sequence apart from raising and dropping objections?

**URL:** <https://verificationacademy.com/forums/t/how-else-we-can-use-pre-body-method-and-post-body-method-in-a-sequence-apart-from-raising-and-dropping-objections/32791>\
**Category:** UVM\
**Tags:** UVM, raise\_objection-in-pre\_body, drop\_objection-in-post\_body, sequence-body\
**Created:** [January 30, 2017, 6:43am UTC](https://verificationacademy.com/forums/t/how-else-we-can-use-pre-body-method-and-post-body-method-in-a-sequence-apart-from-raising-and-dropping-objections/32791 "2017-01-30T06:43:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cgales](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/c/ccd318/32.png) [@cgales](https://verificationacademy.com/forums/u/cgales)\
**Post date:** [January 30, 2017, 12:29pm UTC](https://verificationacademy.com/forums/t/how-else-we-can-use-pre-body-method-and-post-body-method-in-a-sequence-apart-from-raising-and-dropping-objections/32791/2 "2017-01-30T12:29:00Z")

</div>

_In reply to [8Blades](https://verificationacademy.com/forums/t/how-else-we-can-use-pre-body-method-and-post-body-method-in-a-sequence-apart-from-raising-and-dropping-objections/32791):_

Never raise objections in pre\_body() or drop objections in post\_body(). Doing this will have a significant detrimental impact on your simulation performance. Instead, only raise and lower objections at the test level.

You can use pre\_body() to do any data initialization that might be necessary for your sequence item. You can use post\_body() to do any calculations on the randomized data such as checksum and parity fields.

---

_[View the full topic](https://verificationacademy.com/forums/t/how-else-we-can-use-pre-body-method-and-post-body-method-in-a-sequence-apart-from-raising-and-dropping-objections/32791)._
