# How to know about which seed is running and getting randomize when my seed is processed randomly?

**URL:** <https://verificationacademy.com/forums/t/how-to-know-about-which-seed-is-running-and-getting-randomize-when-my-seed-is-processed-randomly/42388>\
**Category:** Coverage\
**Tags:** run\_test4-clean-lib-cmp-vsim-VSIMBATCH4-coverage-vopt-sva-sv\_seed-random, Coverage, SEED, code-coverage\
**Created:** [September 12, 2023, 9:00am UTC](https://verificationacademy.com/forums/t/how-to-know-about-which-seed-is-running-and-getting-randomize-when-my-seed-is-processed-randomly/42388 "2023-09-12T09:00:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chirag.hadiya](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/c/779978/32.png) [@chirag.hadiya](https://verificationacademy.com/forums/u/chirag.hadiya)\
**Post date:** [September 12, 2023, 9:00am UTC](https://verificationacademy.com/forums/t/how-to-know-about-which-seed-is-running-and-getting-randomize-when-my-seed-is-processed-randomly/42388/1 "2023-09-12T09:00:09Z")

</div>

run\_test4: clean lib cmp  
vsim $(VSIMBATCH4) -coverage -vopt -sva -sv\_seed random -l test4\_sim.log work.top +UVM\_TESTNAME=err\_test  
vcover report -html cov4  
This is my command where my seed is rondom so how can i get to know about specific seed number ?

---

<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:** [September 12, 2023, 12:38pm UTC](https://verificationacademy.com/forums/t/how-to-know-about-which-seed-is-running-and-getting-randomize-when-my-seed-is-processed-randomly/42388/2 "2023-09-12T12:38:38Z")

</div>

_In reply to [chirag.hadiya](https://verificationacademy.com/forums/t/how-to-know-about-which-seed-is-running-and-getting-randomize-when-my-seed-is-processed-randomly/42388):_

There are simulator specific commands you can use to get the seed. Please refer to your tool documentation or contact your vendor support team for additional assistance.

---

<div class="post-metadata">

**Author:** ![chirag.hadiya](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/c/779978/32.png) [@chirag.hadiya](https://verificationacademy.com/forums/u/chirag.hadiya)\
**Post date:** [September 12, 2023, 12:55pm UTC](https://verificationacademy.com/forums/t/how-to-know-about-which-seed-is-running-and-getting-randomize-when-my-seed-is-processed-randomly/42388/3 "2023-09-12T12:55:28Z")

</div>

_In reply to [cgales](https://verificationacademy.com/forums/t/how-to-know-about-which-seed-is-running-and-getting-randomize-when-my-seed-is-processed-randomly/42388/2):_  
i have mentor questa for simulation.

---

<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:** [September 12, 2023, 1:09pm UTC](https://verificationacademy.com/forums/t/how-to-know-about-which-seed-is-running-and-getting-randomize-when-my-seed-is-processed-randomly/42388/4 "2023-09-12T13:09:01Z")

</div>

_In reply to [chirag.hadiya](https://verificationacademy.com/forums/t/how-to-know-about-which-seed-is-running-and-getting-randomize-when-my-seed-is-processed-randomly/42388/3):_

This Mentor/Siemens EDA forum is not for tool related issues. Please refer to your tool documentation or contact your vendor support team for additional assistance.

---

<div class="post-metadata">

**Author:** ![chirag.hadiya](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/c/779978/32.png) [@chirag.hadiya](https://verificationacademy.com/forums/u/chirag.hadiya)\
**Post date:** [April 26, 2024, 11:56am UTC](https://verificationacademy.com/forums/t/how-to-know-about-which-seed-is-running-and-getting-randomize-when-my-seed-is-processed-randomly/42388/5 "2024-04-26T11:56:11Z")

</div>

Okay Cgales, Thanks for the response.

---

<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:** [April 26, 2024, 1:41pm UTC](https://verificationacademy.com/forums/t/how-to-know-about-which-seed-is-running-and-getting-randomize-when-my-seed-is-processed-randomly/42388/6 "2024-04-26T13:41:37Z")

</div>

The simulator switch -sv\_seed random is not really useful, because it uses a random seed. This does not allow to debug any issue in your simulation. My recommendation is taht you do not set any seed. Then the simulator is calculating its own seed, which is repeatible. Or you can set a specific seed. Then the question is what is a good seed? Is it smal nummber like 1 or 2 or should you use a big number like 1234567.
