# Getting multiply-driven warnings from vsim with passive agent

**URL:** <https://verificationacademy.com/forums/t/getting-multiply-driven-warnings-from-vsim-with-passive-agent/32536>\
**Category:** UVM\
**Tags:** multiply-driven, SystemVerilog, UVM, vsim\
**Created:** [November 12, 2016, 1:58am UTC](https://verificationacademy.com/forums/t/getting-multiply-driven-warnings-from-vsim-with-passive-agent/32536 "2016-11-12T01:58:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [November 13, 2016, 2:50pm UTC](https://verificationacademy.com/forums/t/getting-multiply-driven-warnings-from-vsim-with-passive-agent/32536/3 "2016-11-13T14:50:31Z")

</div>

_In reply to [drogoff](https://verificationacademy.com/forums/t/getting-multiply-driven-warnings-from-vsim-with-passive-agent/32536/2):_  
The warning you are getting is from the compiler before the   
is\_active flag gets set during simulation. When it comes to procedural code the compiler does not know what source code will or will not get executed. It has to generate the machine code to execute everything.

without seeing the actual code, the only thing I can suggest to change the code to make it work in for any setting of   
is\_active. That might mean changing the interface signal to a wire.

---

_[View the full topic](https://verificationacademy.com/forums/t/getting-multiply-driven-warnings-from-vsim-with-passive-agent/32536)._
