# Uvm\_analysis\_imp\_decl write function ordering

**URL:** <https://verificationacademy.com/forums/t/uvm-analysis-imp-decl-write-function-ordering/37110>\
**Category:** UVM\
**Tags:** UVM, analysis-export, Declaration-of-uvm\_\_imp\_decl-macro\
**Created:** [January 31, 2020, 3:39pm UTC](https://verificationacademy.com/forums/t/uvm-analysis-imp-decl-write-function-ordering/37110 "2020-01-31T15:39:36Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![chr\_sue](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/chr_sue/32/1199_2.png) [@chr\_sue](https://verificationacademy.com/forums/u/chr_sue)\
**Post date:** [February 6, 2020, 4:17pm UTC](https://verificationacademy.com/forums/t/uvm-analysis-imp-decl-write-function-ordering/37110/6 "2020-02-06T16:17:44Z")

</div>

_In reply to [Cmdr\_Vimes](https://verificationacademy.com/forums/t/uvm-analysis-imp-decl-write-function-ordering/37110/5):_

It is unclear to me what you are explaining here and it is definitely a bad idea to change the write functions to tasks.  
And I do not understand what kind of race conditions you have on the transaction level. Race conditions are limited to RTL or gate level.  
Transactions have no timing they have only a determined order. You have to make sutre you do not loose any transaction and you do not change the order of your transactions. Using uvm\_analysis\_fifo helps you to meet these 2 requirements.

---

_[View the full topic](https://verificationacademy.com/forums/t/uvm-analysis-imp-decl-write-function-ordering/37110)._
