# Top

**URL:** https://verificationacademy.com/forums/top.md?ascending=false&period=all

[Latest](https://verificationacademy.com/forums/latest.md) · [Categories](https://verificationacademy.com/forums/categories.md) · [Tags](https://verificationacademy.com/forums/tags.md)

---

## [\`define macros usage](https://verificationacademy.com/forums/t/define-macros-usage/27530)

<div class="topic-metadata">

**Author:** [@vdadwal](https://verificationacademy.com/forums/u/vdadwal)\
**Replies:** 25\
**Last updated:** [December 16, 2015, 5:34am UTC](https://verificationacademy.com/forums/t/define-macros-usage/27530 "2015-12-16T05:34:01Z")

</div>

Can i use ifdef in a macro defination , ex- define xyz \\ assign x = 1;\\ ifdef SAMPLE\_SWITCH \\ assign z = 0;\\ else assign z= 1; \`endif \\ Thanks Vikram dadwal

---

## [Checking clock period using system verilog assertion](https://verificationacademy.com/forums/t/checking-clock-period-using-system-verilog-assertion/30272)

<div class="topic-metadata">

**Author:** [@raghavkumar](https://verificationacademy.com/forums/u/raghavkumar)\
**Replies:** 30\
**Last updated:** [April 5, 2024, 11:57pm UTC](https://verificationacademy.com/forums/t/checking-clock-period-using-system-verilog-assertion/30272 "2024-04-05T23:57:30Z")

</div>

i have been trying to assert the clock period of clock having frequency 340 MHz using following systemverilog code realtime clk\_period =1000.0/340.0ns; property T\_clk(int clk\_period); time current\_time; disable iff(!RES…

---

## [Generate unique elements in an array](https://verificationacademy.com/forums/t/generate-unique-elements-in-an-array/28350)

<div class="topic-metadata">

**Author:** [@ssingh](https://verificationacademy.com/forums/u/ssingh)\
**Replies:** 46\
**Last updated:** [February 21, 2019, 4:25am UTC](https://verificationacademy.com/forums/t/generate-unique-elements-in-an-array/28350 "2019-02-21T04:25:17Z")

</div>

What would be the constarint to generate unique elements in an array. For ex - bit \[3:0\] data \[15:0\]; I want all the 16 elements of this data aray to be assigned unique values. In other words, this array will contain a…

---

## [Bitwise toggle coverage for a bitvector](https://verificationacademy.com/forums/t/bitwise-toggle-coverage-for-a-bitvector/28007)

<div class="topic-metadata">

**Author:** [@nisreenj](https://verificationacademy.com/forums/u/nisreenj)\
**Replies:** 31\
**Last updated:** [May 10, 2020, 2:42pm UTC](https://verificationacademy.com/forums/t/bitwise-toggle-coverage-for-a-bitvector/28007 "2020-05-10T14:42:13Z")

</div>

Hello, Is there a easier way in SV to define coverpoint to do a toggle coverage on every bit of a 32 bit vector. Meaning If I have a 32-bit interrupt mask vector and I just want to see if each interrupt was either maske…

---

## [What is the difference between uvm\_config\_db and uvm\_resource\_db?](https://verificationacademy.com/forums/t/what-is-the-difference-between-uvm-config-db-and-uvm-resource-db/29373)

<div class="topic-metadata">

**Author:** [@rajasravan](https://verificationacademy.com/forums/u/rajasravan)\
**Replies:** 22\
**Last updated:** [July 21, 2026, 2:52pm UTC](https://verificationacademy.com/forums/t/what-is-the-difference-between-uvm-config-db-and-uvm-resource-db/29373 "2026-07-21T14:52:03Z")

</div>

Hi I would like to know What is the difference between uvm\_config\_db and uvm\_resource\_db ? Please let me know the difference between the the two config\_db’s, when it can be used and how it is used with an example? I w…

---

## [Interview Questions on Assertions](https://verificationacademy.com/forums/t/interview-questions-on-assertions/38346)

<div class="topic-metadata">

**Author:** [@subbireddy](https://verificationacademy.com/forums/u/subbireddy)\
**Replies:** 26\
**Last updated:** [June 18, 2025, 7:10pm UTC](https://verificationacademy.com/forums/t/interview-questions-on-assertions/38346 "2025-06-18T19:10:56Z")

</div>

Please give me solution the below listed Queries: sig\_a and sig\_b are environment signals, which can be given at any time, but should never be given together Every sig\_a must eventually be acknowledged by sig\_b, unless…

---

## [Fork within loop with join ALL](https://verificationacademy.com/forums/t/fork-within-loop-with-join-all/27948)

<div class="topic-metadata">

**Author:** [@Yann\_Oddos](https://verificationacademy.com/forums/u/Yann_Oddos)\
**Replies:** 35\
**Last updated:** [August 10, 2023, 7:24pm UTC](https://verificationacademy.com/forums/t/fork-within-loop-with-join-all/27948 "2023-08-10T19:24:10Z")

</div>

Hello, I’d like to fork threads in a loop. So I use the classical approach: for(int index=0;index\<14;index++)begin automatic int idx=index; fork begin \`ovm\_do\_on(sequence\_inst,p\_sequencer.m…

---

## [Why do we need virtual interfaces in system verilog?](https://verificationacademy.com/forums/t/why-do-we-need-virtual-interfaces-in-system-verilog/28949)

<div class="topic-metadata">

**Author:** [@mseyunni](https://verificationacademy.com/forums/u/mseyunni)\
**Replies:** 24\
**Last updated:** [June 4, 2019, 10:50am UTC](https://verificationacademy.com/forums/t/why-do-we-need-virtual-interfaces-in-system-verilog/28949 "2019-06-04T10:50:49Z")

</div>

Hello, Can someone tell me why do we need virtual interfaces. It is not very clear to me after reading about virtual interfaces in number of places in LRM, books etc. Basically I would like to understand what is that th…

---

## [What is the exact difference between static tasks/functions and automatic tasks/functions ? please explain with a clear example](https://verificationacademy.com/forums/t/what-is-the-exact-difference-between-static-tasks-functions-and-automatic-tasks-functions-please-explain-with-a-clear-example/31014)

<div class="topic-metadata">

**Author:** [@HardikTrivedi](https://verificationacademy.com/forums/u/HardikTrivedi)\
**Replies:** 32\
**Last updated:** [August 8, 2021, 7:14pm UTC](https://verificationacademy.com/forums/t/what-is-the-exact-difference-between-static-tasks-functions-and-automatic-tasks-functions-please-explain-with-a-clear-example/31014 "2021-08-08T19:14:20Z")

</div>

I executes a sample code to analyze the difference between static and automatic task/function but it gives me the same output ? so please explain me the exact difference between them with clear example. Thank you

---

## [Bit slicing in systemVerilog](https://verificationacademy.com/forums/t/bit-slicing-in-systemverilog/27843)

<div class="topic-metadata">

**Author:** [@MdNoorulla](https://verificationacademy.com/forums/u/MdNoorulla)\
**Replies:** 12\
**Last updated:** [January 4, 2019, 11:36am UTC](https://verificationacademy.com/forums/t/bit-slicing-in-systemverilog/27843 "2019-01-04T11:36:42Z")

</div>

Hi, I’m looking for a technique to do bit slicing in systemVerilog. for(int i=0; i\<10; i++) data\[(i8)+7 : (i8)\] = temp\[(i8)+7 : (i8)\]; if i use the above syntax irun tool is giving compilation error. “Illegal operan…

---

## [What is the difference between @(posedge clk) begin end.... and @(posedge clk);?](https://verificationacademy.com/forums/t/what-is-the-difference-between-posedge-clk-begin-end-and-posedge-clk/29402)

<div class="topic-metadata">

**Author:** [@Reuben](https://verificationacademy.com/forums/u/Reuben)\
**Replies:** 15\
**Last updated:** [November 16, 2018, 4:43pm UTC](https://verificationacademy.com/forums/t/what-is-the-difference-between-posedge-clk-begin-end-and-posedge-clk/29402 "2018-11-16T16:43:04Z")

</div>

What is the difference between these 2 codes? Are they just the same? Will both codes execute exactly at the posedge of the clk? // First code @(posedge clk) begin // codes here end // Second code @(posedge clk); /…

---

## [Verification of ASYNCHRONOUS FIFO](https://verificationacademy.com/forums/t/verification-of-asynchronous-fifo/32577)

<div class="topic-metadata">

**Author:** [@vinayp1209](https://verificationacademy.com/forums/u/vinayp1209)\
**Replies:** 21\
**Last updated:** [February 18, 2022, 9:03pm UTC](https://verificationacademy.com/forums/t/verification-of-asynchronous-fifo/32577 "2022-02-18T21:03:26Z")

</div>

Hi guys, I’m trying to verify ASYNCHRONOUS-FIFO, I have listed couple of cases below, Following are done using UVM Methodology based Verification environment Only read Only write Read and write simultaneously write…

---

## [How to force dut internal signals in UVM environment](https://verificationacademy.com/forums/t/how-to-force-dut-internal-signals-in-uvm-environment/28770)

<div class="topic-metadata">

**Author:** [@Jun\_LI](https://verificationacademy.com/forums/u/Jun_LI)\
**Replies:** 11\
**Last updated:** [September 30, 2020, 5:40pm UTC](https://verificationacademy.com/forums/t/how-to-force-dut-internal-signals-in-uvm-environment/28770 "2020-09-30T17:40:26Z")

</div>

Hi, I want to force some internal signals in DUT. If I put the internal signals in a interface, can I use like " assign if.internal = 1’b1 " ? Does this value have a conflict with real internal value? I mean the signal …

---

## [Need to Use Variable in Assertions ## Delay](https://verificationacademy.com/forums/t/need-to-use-variable-in-assertions-delay/28779)

<div class="topic-metadata">

**Author:** [@Dharak](https://verificationacademy.com/forums/u/Dharak)\
**Replies:** 46\
**Last updated:** [July 1, 2021, 6:44pm UTC](https://verificationacademy.com/forums/t/need-to-use-variable-in-assertions-delay/28779 "2021-07-01T18:44:54Z")

</div>

Hi, I am working on some assertions and I came across some specific requirement. Here is sample code. logic \[3:0\] delay,a,b; property assert\_check; @(posedge clk) disable iff(disable\_assertion) $rose(a) |-\> ##(de…

---

## [Confusion over casting of classes](https://verificationacademy.com/forums/t/confusion-over-casting-of-classes/27909)

<div class="topic-metadata">

**Author:** [@kolopipo](https://verificationacademy.com/forums/u/kolopipo)\
**Replies:** 14\
**Last updated:** [October 25, 2018, 6:48am UTC](https://verificationacademy.com/forums/t/confusion-over-casting-of-classes/27909 "2018-10-25T06:48:09Z")

</div>

Hi, Please help as I am confused over the following questions related to classes in System Verilog. What does $cast means in terms of casting classes ? Casting other types like bits to enum can be easily grasp. Howeve…

---

## [P\_sequencer and m\_sequencer](https://verificationacademy.com/forums/t/p-sequencer-and-m-sequencer/31081)

<div class="topic-metadata">

**Author:** [@Anudeep\_J](https://verificationacademy.com/forums/u/Anudeep_J)\
**Replies:** 13\
**Last updated:** [April 28, 2026, 2:56pm UTC](https://verificationacademy.com/forums/t/p-sequencer-and-m-sequencer/31081 "2026-04-28T14:56:15Z")

</div>

Hi, Can someone tell me What is the key difference between p and m sequencers? And also give me an example WHERE & WHEN we can use these sequencers?

---

## [Assert Property vs Cover Property](https://verificationacademy.com/forums/t/assert-property-vs-cover-property/30475)

<div class="topic-metadata">

**Author:** [@ldmldm](https://verificationacademy.com/forums/u/ldmldm)\
**Replies:** 19\
**Last updated:** [June 11, 2019, 12:11am UTC](https://verificationacademy.com/forums/t/assert-property-vs-cover-property/30475 "2019-06-11T00:11:51Z")

</div>

Hi All, Could someone please explain me when I should use ‘assert property’ and when ‘cover property’? Is this just a matter whether the simulator will count hits and misses for each of the property? Will usage of ‘cov…

---

## [Fork join\_none inside for loop](https://verificationacademy.com/forums/t/fork-join-none-inside-for-loop/28426)

<div class="topic-metadata">

**Author:** [@arun\_ajs](https://verificationacademy.com/forums/u/arun_ajs)\
**Replies:** 32\
**Last updated:** [March 8, 2025, 10:12pm UTC](https://verificationacademy.com/forums/t/fork-join-none-inside-for-loop/28426 "2025-03-08T22:12:53Z")

</div>

Hi I want to spawn multiple threads with each thread having an index input argument like for (int i = 0;i \< 5;i++) begin fork thread(i) join\_none end wait\_fork; But since i is a common variable for all threa…

---

## [What difference between @event and wait (event.triggered)?](https://verificationacademy.com/forums/t/what-difference-between-event-and-wait-event-triggered/30742)

<div class="topic-metadata">

**Author:** [@caowangyang](https://verificationacademy.com/forums/u/caowangyang)\
**Replies:** 14\
**Last updated:** [November 25, 2022, 6:10pm UTC](https://verificationacademy.com/forums/t/what-difference-between-event-and-wait-event-triggered/30742 "2022-11-25T18:10:28Z")

</div>

Hi, Can everyone told me the detailed difference for two following implementations when we need wait a event ? event e; -\>e; // Way number one @(e); // Way number two wait(e.triggered); Thanks, WangYang

---

## [Confusion in fork join ... disable fork](https://verificationacademy.com/forums/t/confusion-in-fork-join-disable-fork/28662)

<div class="topic-metadata">

**Author:** [@AnamikaSharma](https://verificationacademy.com/forums/u/AnamikaSharma)\
**Replies:** 24\
**Last updated:** [July 24, 2021, 8:10am UTC](https://verificationacademy.com/forums/t/confusion-in-fork-join-disable-fork/28662 "2021-07-24T08:10:41Z")

</div>

Hello , I am unable to get the exact functionality of disable fork. Example ; task t1(); fork begin : a1 #1; $display("a1"); end begin: a2 #2; $display("a2"); end join\_none fork…

---

## [Importance of the clone( ) method](https://verificationacademy.com/forums/t/importance-of-the-clone-method/25472)

<div class="topic-metadata">

**Author:** [@ankit11](https://verificationacademy.com/forums/u/ankit11)\
**Replies:** 17\
**Last updated:** [September 25, 2021, 5:20pm UTC](https://verificationacademy.com/forums/t/importance-of-the-clone-method/25472 "2021-09-25T17:20:47Z")

</div>

Hi ALL, Can anybody tell me the exact application of the clone methos? What is the significance of the clone method? Regards, Ankit.

---

## [About type\_id::create()](https://verificationacademy.com/forums/t/about-type-id-create/26860)

<div class="topic-metadata">

**Author:** [@mpurna](https://verificationacademy.com/forums/u/mpurna)\
**Replies:** 14\
**Last updated:** [January 24, 2020, 1:07pm UTC](https://verificationacademy.com/forums/t/about-type-id-create/26860 "2020-01-24T13:07:15Z")

</div>

Hi all, can somebody explain the meaning of the following statement, scb = scoreboard::type\_id::create("scb", this); Here i have scoreboard class is derived from the ovm\_component. sometimes it is showing me error as …

---

## [How to access a DUT signal from a UVM test case class?](https://verificationacademy.com/forums/t/how-to-access-a-dut-signal-from-a-uvm-test-case-class/29099)

<div class="topic-metadata">

**Author:** [@kaushalmodi](https://verificationacademy.com/forums/u/kaushalmodi)\
**Replies:** 21\
**Last updated:** [April 11, 2023, 11:07pm UTC](https://verificationacademy.com/forums/t/how-to-access-a-dut-signal-from-a-uvm-test-case-class/29099 "2023-04-11T23:07:48Z")

</div>

Hi, I would like to access a DUT signal from within one of my UVM test cases. But when I try to do so, I get the Cadence ncvlog error E\*ILLHIN: illegal location for a hierarchical name (in a package). This is the orga…

---

## [Queue and mailbox](https://verificationacademy.com/forums/t/queue-and-mailbox/28832)

<div class="topic-metadata">

**Author:** [@imran](https://verificationacademy.com/forums/u/imran)\
**Replies:** 14\
**Last updated:** [July 30, 2025, 7:39am UTC](https://verificationacademy.com/forums/t/queue-and-mailbox/28832 "2025-07-30T07:39:34Z")

</div>

Hi 1.I want to know what is the main difference between queues and mailbox,what are the advantages of them. 2.What is the advantage of mailbox over FIFO. Thanks and regards, Imran

---

## [SystemVerilog $feof()](https://verificationacademy.com/forums/t/systemverilog-feof/27972)

<div class="topic-metadata">

**Author:** [@Neddy](https://verificationacademy.com/forums/u/Neddy)\
**Replies:** 18\
**Last updated:** [October 29, 2019, 5:57pm UTC](https://verificationacademy.com/forums/t/systemverilog-feof/27972 "2019-10-29T17:57:34Z")

</div>

Please help me : int switch\[string\], min\_address, max\_address; initial begin int i, r, file; string s; file=$fopen(“switch.txt”, “r”); $display(file); while(! $feof(file)) begin r = $fscanf(file, “%d %s”, i, s)…

---

## [Difference Between UVM\_OBJECT and UVM\_COMPONENT](https://verificationacademy.com/forums/t/difference-between-uvm-object-and-uvm-component/29650)

<div class="topic-metadata">

**Author:** [@sudheer](https://verificationacademy.com/forums/u/sudheer)\
**Replies:** 13\
**Last updated:** [January 15, 2018, 10:25pm UTC](https://verificationacademy.com/forums/t/difference-between-uvm-object-and-uvm-component/29650 "2018-01-15T22:25:59Z")

</div>

Dear Sir/Madam, I understood few differences between UVM\_OBJECT and UVM\_COMPONENT as follows: uvm\_component is derived from uvm\_object. There is an extra argument for “uvm\_component - new” function for which we need t…

---

## [Usage of Var](https://verificationacademy.com/forums/t/usage-of-var/30107)

<div class="topic-metadata">

**Author:** [@DKP](https://verificationacademy.com/forums/u/DKP)\
**Replies:** 11\
**Last updated:** [March 15, 2023, 4:13pm UTC](https://verificationacademy.com/forums/t/usage-of-var/30107 "2023-03-15T16:13:54Z")

</div>

I’m posting a question I found in another website. What is the difference b/w the following declarations? logic data\_1; var logic data\_2; wire logic data\_3j; bit data\_4; var bit data\_5; Can somebody please clarify…

---

## [SVA : using $past](https://verificationacademy.com/forums/t/sva-using-past/31285)

<div class="topic-metadata">

**Author:** [@sraja](https://verificationacademy.com/forums/u/sraja)\
**Replies:** 15\
**Last updated:** [October 28, 2020, 2:31pm UTC](https://verificationacademy.com/forums/t/sva-using-past/31285 "2020-10-28T14:31:17Z")

</div>

Hi, I want to use $past in assertion to check ($past(din != 2’b00,0…2)) // 0,1,2 clocks.The requirement is to check din != 00 for 0,1,2 clocks.how can i use it ? Something like this i would like to give range - ($past(…

---

## [Creating new instances of a covergroup using an array](https://verificationacademy.com/forums/t/creating-new-instances-of-a-covergroup-using-an-array/29830)

<div class="topic-metadata">

**Author:** [@vsirsikar](https://verificationacademy.com/forums/u/vsirsikar)\
**Replies:** 27\
**Last updated:** [July 30, 2017, 3:39pm UTC](https://verificationacademy.com/forums/t/creating-new-instances-of-a-covergroup-using-an-array/29830 "2017-07-30T15:39:57Z")

</div>

I have following code for covergroup inside a class: int skew\_val\_vl\[20\]; covergroup skew\_val\_cg (int skew\_val\_vl); coverpoint skew\_val\_vl { bins skew\_range\_1 = {\[124:0\]}; bins skew\_range\_…

---

## [Oring of ifdef](https://verificationacademy.com/forums/t/oring-of-ifdef/28929)

<div class="topic-metadata">

**Author:** [@Niyati](https://verificationacademy.com/forums/u/Niyati)\
**Replies:** 9\
**Last updated:** [November 9, 2017, 6:59pm UTC](https://verificationacademy.com/forums/t/oring-of-ifdef/28929 "2017-11-09T18:59:37Z")

</div>

I want to write or of ifdef I have tried 2 possible ways as below : \`ifdef (A || B) \`ifdef (A or B) \`ifdef A || B ifdef A || ifdef B Can you please suggest how can I do oring of ifdef? Thanks in advance Regards

---

## [Initializing a multidimensional associative array](https://verificationacademy.com/forums/t/initializing-a-multidimensional-associative-array/28730)

<div class="topic-metadata">

**Author:** [@arun\_ajs](https://verificationacademy.com/forums/u/arun_ajs)\
**Replies:** 11\
**Last updated:** [October 21, 2020, 8:52am UTC](https://verificationacademy.com/forums/t/initializing-a-multidimensional-associative-array/28730 "2020-10-21T08:52:02Z")

</div>

Hi How do I initialize a multidimensional associative array. Eg: string ARY\[string\]\[string\]; ARY\[“A”\]\[“0”\] = “abc”; ARY\[“A”\]\[“1”\] = “def”; ARY\[“B”\]\[“0”\] = “ghi”; I tried doing like this string ARY\[string\]\[string…

---

## [Constraint randomization of an array](https://verificationacademy.com/forums/t/constraint-randomization-of-an-array/28283)

<div class="topic-metadata">

**Author:** [@sujitha1](https://verificationacademy.com/forums/u/sujitha1)\
**Replies:** 21\
**Last updated:** [June 12, 2024, 11:36pm UTC](https://verificationacademy.com/forums/t/constraint-randomization-of-an-array/28283 "2024-06-12T23:36:08Z")

</div>

Hi I am aware of randomizing the size of an array but if I want to have the elements of the array to sum up to \<1000, how do I do it? rand int arr\[\]; rand len arr\_size; constraint c\_arr{ arr\_size \<10; arr.size(…

---

## [Calling randomize() from a sequence](https://verificationacademy.com/forums/t/calling-randomize-from-a-sequence/26244)

<div class="topic-metadata">

**Author:** [@sujitpanda](https://verificationacademy.com/forums/u/sujitpanda)\
**Replies:** 19\
**Last updated:** [July 1, 2009, 6:04am UTC](https://verificationacademy.com/forums/t/calling-randomize-from-a-sequence/26244 "2009-07-01T06:04:02Z")

</div>

Hi, The structure of my environment looks like this tbEnv\> ovcEnv ovcagent ovcseqr ovcdriver ovcmonitor tbcfg seq1 In the run() of tbEnv class, the sequence seq1 has been started. A pointer …

---

## [Constrain sum of elements in an array](https://verificationacademy.com/forums/t/constrain-sum-of-elements-in-an-array/30797)

<div class="topic-metadata">

**Author:** [@georgean](https://verificationacademy.com/forums/u/georgean)\
**Replies:** 24\
**Last updated:** [October 27, 2024, 8:03pm UTC](https://verificationacademy.com/forums/t/constrain-sum-of-elements-in-an-array/30797 "2024-10-27T20:03:06Z")

</div>

Hi, I am generating 5 unique elements in an array using values 1,2,3…9 whose sum is greater than 20 I use the constrain “data\_sum\_c” to constraint the sum of elements and with this constraint all values of data are 0; …

---

## [How to define cross coverage for the selected range](https://verificationacademy.com/forums/t/how-to-define-cross-coverage-for-the-selected-range/27475)

<div class="topic-metadata">

**Author:** [@murali\_yalamanchi](https://verificationacademy.com/forums/u/murali_yalamanchi)\
**Replies:** 12\
**Last updated:** [March 10, 2017, 5:42pm UTC](https://verificationacademy.com/forums/t/how-to-define-cross-coverage-for-the-selected-range/27475 "2017-03-10T17:42:55Z")

</div>

hi, i have the following reqirement int A,B; coverpoint A { a ={\[0:27\]};} coverpoint B { b = {\[0:27\]};} cross\_A\_B cross a,b; here cross\_A\_B gives all combinations but i need selected range cross between A,B like…

---

## [Cannot create a component as it is not registered with a factory](https://verificationacademy.com/forums/t/cannot-create-a-component-as-it-is-not-registered-with-a-factory/27842)

<div class="topic-metadata">

**Author:** [@meenu2k11](https://verificationacademy.com/forums/u/meenu2k11)\
**Replies:** 14\
**Last updated:** [April 30, 2017, 8:11pm UTC](https://verificationacademy.com/forums/t/cannot-create-a-component-as-it-is-not-registered-with-a-factory/27842 "2017-04-30T20:11:41Z")

</div>

Hi When I try running a test, i get an error "Cannot create a component of type TEST\_DIR\_PATH/test\_name\> because it is not registered with the factory ". The test is registered with the factory \`uvm\_components\_utils(“t…

---

## [How do I connect inout ports?](https://verificationacademy.com/forums/t/how-do-i-connect-inout-ports/29433)

<div class="topic-metadata">

**Author:** [@Reuben](https://verificationacademy.com/forums/u/Reuben)\
**Replies:** 10\
**Last updated:** [May 16, 2021, 6:03pm UTC](https://verificationacademy.com/forums/t/how-do-i-connect-inout-ports/29433 "2021-05-16T18:03:05Z")

</div>

I have an inout port named sent\_line, and this is how it is declared: Inside the module: inout sent\_line; Inside the interface: interface my\_sigs\_if(); logic sent\_line; modport drv (inout sent\_line); endinterfac…

---

## [P\_sequencer / m\_sequencer](https://verificationacademy.com/forums/t/p-sequencer-m-sequencer/27668)

<div class="topic-metadata">

**Author:** [@aleclaire](https://verificationacademy.com/forums/u/aleclaire)\
**Replies:** 11\
**Last updated:** [February 13, 2026, 3:16pm UTC](https://verificationacademy.com/forums/t/p-sequencer-m-sequencer/27668 "2026-02-13T15:16:19Z")

</div>

Hello. Can someone please tell me what the “p” in p\_sequencer and the “m” in m\_sequencer stand for? Additionally, can someone explain the purpose of the p\_sequencer? Thanks! Aaron

---

## [For loop inside fork join\_none](https://verificationacademy.com/forums/t/for-loop-inside-fork-join-none/33515)

<div class="topic-metadata">

**Author:** [@p.sachin1990](https://verificationacademy.com/forums/u/p.sachin1990)\
**Replies:** 25\
**Last updated:** [December 20, 2024, 8:44pm UTC](https://verificationacademy.com/forums/t/for-loop-inside-fork-join-none/33515 "2024-12-20T20:44:34Z")

</div>

are code 1 and code 2 same in system verilog. code 1 fork thread1(); thread2(); for(i=0;i\<32;i++) begin thread3(i); end join\_none code 2 fork thread1(); thread2(); thread3(0); thread3(1); . . . thread(31); join\_no…

---

## [How to define a condition for a covergroup (using iff)?](https://verificationacademy.com/forums/t/how-to-define-a-condition-for-a-covergroup-using-iff/31275)

<div class="topic-metadata">

**Author:** [@Noga\_Tamir\_V](https://verificationacademy.com/forums/u/Noga_Tamir_V)\
**Replies:** 17\
**Last updated:** [November 7, 2021, 7:00pm UTC](https://verificationacademy.com/forums/t/how-to-define-a-condition-for-a-covergroup-using-iff/31275 "2021-11-07T19:00:52Z")

</div>

Hello, is it possible to write something like that ? (yes, getting error here) covergroup condition\_cfg\_cg iff (config\_ind == 1); condition\_id : coverpoint cond\_id ; condition\_type : coverpoint event\_cond; con…

---

## [How to Terminate UVM simulation?](https://verificationacademy.com/forums/t/how-to-terminate-uvm-simulation/29026)

<div class="topic-metadata">

**Author:** [@Balu\_15](https://verificationacademy.com/forums/u/Balu_15)\
**Replies:** 23\
**Last updated:** [April 10, 2020, 1:09pm UTC](https://verificationacademy.com/forums/t/how-to-terminate-uvm-simulation/29026 "2020-04-10T13:09:58Z")

</div>

Hi Everyone, i have gone through the verious recommanded approches to teminate my uvm simulation but i have not find good solution. the simulation is not terminating. approch 1: a. i am raising and dropping objecti…

---

## [Generate block in SV](https://verificationacademy.com/forums/t/generate-block-in-sv/32651)

<div class="topic-metadata">

**Author:** [@shiwanichadha](https://verificationacademy.com/forums/u/shiwanichadha)\
**Replies:** 9\
**Last updated:** [December 19, 2016, 9:22am UTC](https://verificationacademy.com/forums/t/generate-block-in-sv/32651 "2016-12-19T09:22:07Z")

</div>

\`define num =4 module enhance(); logic ssp , br ,clk , reset; genvar i,j; generate begin:upstream for(i=0;i\<2\*\`num;i++)begin ocp\_level ocp(clk,reset); //interface assign i.data = \`wrapper.signal.…

---

## [OVM wrapper for Verilog Bfms?](https://verificationacademy.com/forums/t/ovm-wrapper-for-verilog-bfms/25429)

<div class="topic-metadata">

**Author:** [@anantv](https://verificationacademy.com/forums/u/anantv)\
**Replies:** 26\
**Last updated:** [February 27, 2019, 12:07am UTC](https://verificationacademy.com/forums/t/ovm-wrapper-for-verilog-bfms/25429 "2019-02-27T00:07:12Z")

</div>

Hi All Nice to have an active forum for OVM!!! Just I have started looking into OVM & System Verilog. It would be of great help, if anyone provides me with an approach/example/process steps on how to develop OVM wrapp…

---

## [Do you \`include or import?](https://verificationacademy.com/forums/t/do-you-include-or-import/26517)

<div class="topic-metadata">

**Author:** [@david.antliff](https://verificationacademy.com/forums/u/david.antliff)\
**Replies:** 11\
**Last updated:** [July 13, 2010, 2:04pm UTC](https://verificationacademy.com/forums/t/do-you-include-or-import/26517 "2010-07-13T14:04:31Z")

</div>

Let’s say I’m creating an OVM component collection - with drivers, monitors, agents, etc. I have separate .sv files for each component to keep them nicely isolated and to help people find which file contains which class. …

---

## [Range must be bounded by constant expressions](https://verificationacademy.com/forums/t/range-must-be-bounded-by-constant-expressions/28338)

<div class="topic-metadata">

**Author:** [@ssingh](https://verificationacademy.com/forums/u/ssingh)\
**Replies:** 11\
**Last updated:** [March 2, 2024, 1:31am UTC](https://verificationacademy.com/forums/t/range-must-be-bounded-by-constant-expressions/28338 "2024-03-02T01:31:07Z")

</div>

I am trying to implement the following in systemverilog. always\_comb begin for(int i=0;i\<=124;i=i+6) begin offset = DFF\_data\[ ((2\*i)+1):(2\*i) \]; // Error ! data\_output\[i+offset\]= data\_input\[i\]; …

---

## [Uvm\_config\_db usage a big confusion](https://verificationacademy.com/forums/t/uvm-config-db-usage-a-big-confusion/30266)

<div class="topic-metadata">

**Author:** [@karunani](https://verificationacademy.com/forums/u/karunani)\
**Replies:** 10\
**Last updated:** [November 20, 2018, 7:21am UTC](https://verificationacademy.com/forums/t/uvm-config-db-usage-a-big-confusion/30266 "2018-11-20T07:21:45Z")

</div>

Hi, Can some one suggest me a good explanation document and examples on how to use the uvm\_config\_db(); I am new to the system verilog and uvm. I try to develop simple testbenches using sv-uvm, in which i also try to le…

---

## [Why \`ifndef and \`define are used together?](https://verificationacademy.com/forums/t/why-ifndef-and-define-are-used-together/28303)

<div class="topic-metadata">

**Author:** [@xierian](https://verificationacademy.com/forums/u/xierian)\
**Replies:** 13\
**Last updated:** [July 26, 2019, 9:32am UTC](https://verificationacademy.com/forums/t/why-ifndef-and-define-are-used-together/28303 "2019-07-26T09:32:55Z")

</div>

May I know what is the purpose of ifndef followed by define as shown in below: ifndef OVM\_OBJECT\_DEFINES\_SVH define OVM\_OBJECT\_DEFINES\_SVH this is a snippet code taken from ovm\_object\_defines file. This pattern (ifnde…

---

## [Fatal: (SIGSEGV) Bad handle or reference, Error](https://verificationacademy.com/forums/t/fatal-sigsegv-bad-handle-or-reference-error/29336)

<div class="topic-metadata">

**Author:** [@Neshagar](https://verificationacademy.com/forums/u/Neshagar)\
**Replies:** 22\
**Last updated:** [April 14, 2014, 8:19am UTC](https://verificationacademy.com/forums/t/fatal-sigsegv-bad-handle-or-reference-error/29336 "2014-04-14T08:19:10Z")

</div>

Hi, I’m student. And I’m new to the SystemVerilog and UVM. So, forgive me in advance if my question might be basic. I try to add “Test” and “Config Database” in my verification environment. When I try to simulate, I f…

---

## [Automatic variables in fork](https://verificationacademy.com/forums/t/automatic-variables-in-fork/31041)

<div class="topic-metadata">

**Author:** [@user116](https://verificationacademy.com/forums/u/user116)\
**Replies:** 14\
**Last updated:** [February 9, 2022, 3:57pm UTC](https://verificationacademy.com/forums/t/automatic-variables-in-fork/31041 "2022-02-09T15:57:07Z")

</div>

hi, I am having questions about how automatic variables work in fork statement in for loop. Referring to the code below, the simulator (VCS) is displaying 0,1,2 for program test (case1) however, for all other programs (…

---

## [Calling of build phase?](https://verificationacademy.com/forums/t/calling-of-build-phase/30059)

<div class="topic-metadata">

**Author:** [@Rohan](https://verificationacademy.com/forums/u/Rohan)\
**Replies:** 26\
**Last updated:** [November 14, 2024, 6:38pm UTC](https://verificationacademy.com/forums/t/calling-of-build-phase/30059 "2024-11-14T18:38:13Z")

</div>

Hi Dave, Who Calls the build phase of each components in UVM hierarchy?

[Next page](https://verificationacademy.com/forums/top.md?ascending=false&page=1&per_page=50&period=all)
