# Example code for multiple agents

**URL:** <https://verificationacademy.com/forums/t/example-code-for-multiple-agents/36177>\
**Category:** UVM\
**Tags:** UVM, multiple-agents, sample-code-for-array-agent\
**Created:** [June 13, 2019, 10:27am UTC](https://verificationacademy.com/forums/t/example-code-for-multiple-agents/36177 "2019-06-13T10:27:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [June 13, 2019, 2:45pm UTC](https://verificationacademy.com/forums/t/example-code-for-multiple-agents/36177/2 "2019-06-13T14:45:08Z")

</div>

_In reply to [@VlsiYJ](https://verificationacademy.com/forums/t/example-code-for-multiple-agents/36177):_

Unfortunately you do not explain what kind of interfaces you have. If you have different interfaces you need agents with different content.  
In your case it is highly recommended to use a UVM Framework Generator.  
You’ll find such an generator at the Doulos webpage:  
[https://www.doulos.com/knowhow/sysverilog/uvm/easier/](https://www.doulos.com/knowhow/sysverilog/uvm/easier/)  
After setting up the generator it creates you a complete UVM environment.

---

_[View the full topic](https://verificationacademy.com/forums/t/example-code-for-multiple-agents/36177)._
