# Working Example of UPF

**URL:** <https://verificationacademy.com/forums/t/working-example-of-upf/32819>\
**Category:** SystemVerilog\
**Tags:** Low-Power--UPF, SystemVerilog\
**Created:** [February 7, 2017, 2:27pm UTC](https://verificationacademy.com/forums/t/working-example-of-upf/32819 "2017-02-07T14:27:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Reuben](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/reuben/32/1409_2.png) [@Reuben](https://verificationacademy.com/forums/u/Reuben)\
**Post date:** [February 7, 2017, 2:27pm UTC](https://verificationacademy.com/forums/t/working-example-of-upf/32819/1 "2017-02-07T14:27:57Z")

</div>

Do you have any working example of UPF so that we can better understand it? I have watched some of the videos of Power-Aware Verification but I think I will better understand it if there’s a working example.

I would also like to ask if this UPF doesn’t require any other tool? I mean I can just write the UPF codes and compile it with my testbench and that’s it?

Regards,  
Reuben

---

<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:** [February 7, 2017, 3:01pm UTC](https://verificationacademy.com/forums/t/working-example-of-upf/32819/2 "2017-02-07T15:01:16Z")

</div>

_In reply to [Reuben](https://verificationacademy.com/forums/t/working-example-of-upf/32819):_

Have you watched the Verification Academy course on [Power Aware Verification](https://verificationacademy.com/courses/power-aware-verification)? It will walk you through all the basics what you are asking.

---

<div class="post-metadata">

**Author:** ![sbellock](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/s/f4b2a3/32.png) [@sbellock](https://verificationacademy.com/forums/u/sbellock)\
**Post date:** [February 7, 2017, 4:57pm UTC](https://verificationacademy.com/forums/t/working-example-of-upf/32819/3 "2017-02-07T16:57:53Z")

</div>

_In reply to [Reuben](https://verificationacademy.com/forums/t/working-example-of-upf/32819/2):_

> I would also like to ask if this UPF doesn’t require any other tool? I mean I can just write the UPF codes and compile it with my testbench and that’s it?

Yes (to the second question), but many simulators require a separate license for power-aware simulation.

---

<div class="post-metadata">

**Author:** ![Reuben](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/reuben/32/1409_2.png) [@Reuben](https://verificationacademy.com/forums/u/Reuben)\
**Post date:** [February 8, 2017, 12:07am UTC](https://verificationacademy.com/forums/t/working-example-of-upf/32819/4 "2017-02-08T00:07:02Z")

</div>

_In reply to [cgales](https://verificationacademy.com/forums/t/working-example-of-upf/32819/3):_

Hi cgales. Yes, I have watched some of the videos. I see how the code works but I just want to realize it by looking into a working example.

---

<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:** [February 8, 2017, 1:09pm UTC](https://verificationacademy.com/forums/t/working-example-of-upf/32819/5 "2017-02-08T13:09:06Z")

</div>

_In reply to [Reuben](https://verificationacademy.com/forums/t/working-example-of-upf/32819/4):_

Most simulators that support Power Aware simulation will have examples that you can look at. Questasim has several in the ‘examples/pa\_sim’ directory. I’m not aware of other sources of examples.
