# UVVM and MicroBlaze simulation

**URL:** <https://forum.uvvm.org/t/uvvm-and-microblaze-simulation/289>\
**Category:** General questions\
**Created:** [May 18, 2022, 9:09am UTC](https://forum.uvvm.org/t/uvvm-and-microblaze-simulation/289 "2022-05-18T09:09:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PierreN](https://avatars.discourse-cdn.com/v4/letter/p/f475e1/32.png) [@PierreN](https://forum.uvvm.org/u/PierreN)\
**Post date:** [May 18, 2022, 9:09am UTC](https://forum.uvvm.org/t/uvvm-and-microblaze-simulation/289/1 "2022-05-18T09:09:24Z")

</div>

Hi,

I am designing an UVVM testbench for which the DUT should include a MicroBlaze softcore processor.

First, is it possible? Do you have any guidelines on how to do so? I am using Modelsim.

Many thanks in advance,

Pierre

---

<div class="post-metadata">

**Author:** ![EspenTa](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.uvvm.org/espenta/32/52_2.png) [@EspenTa](https://forum.uvvm.org/u/EspenTa)\
**Post date:** [May 23, 2022, 1:58pm UTC](https://forum.uvvm.org/t/uvvm-and-microblaze-simulation/289/2 "2022-05-23T13:58:50Z")

</div>

Hi,

You can simulate a testbench with any processor as long as you have a model for it, and doing this with UVVM is no problem.  
We don’t have any guidelines for this, as the challenge here is more how you integrate the processor with a running program, rather than puttng it all into a UVVM testbench. Check the processor information for how to integrate it.  
The challenge with this approach is the synchronization between the two masters here - the testbench in VHDL/UVVM and the SW of the microprocessor. Running these together is a good test case for trying out the FPGA/SW interface, but for most FPGA projects it is (in my opinion) a major advantage to run mosts tests without actual SW, but rather having a BFM or VVC to sort of emulate the commands from the microprocessor, as that will allow the complete testbench to be controlled from a single sequencer.

– Espen
