# \#UVM-monitor

**URL:** https://verificationacademy.com/forums/tag/uvm-monitor/4630.md

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

---

## [Monitor Sampling edge](https://verificationacademy.com/forums/t/monitor-sampling-edge/49483)

<div class="topic-metadata">

**Author:** [@SanthoshKola24](https://verificationacademy.com/forums/u/SanthoshKola24)\
**Replies:** 1\
**Last updated:** [January 27, 2025, 4:42pm UTC](https://verificationacademy.com/forums/t/monitor-sampling-edge/49483 "2025-01-27T16:42:33Z")

</div>

Hi all, I am using cycle based simulator like Verilator for my test setup and I am driving my dut signals on the posedge of the clock , but when in monitor class when I sample data on the posedge of the clock I am unabl…

---

## [Transcation and monitor establish a data flow of top-level interfaces, how do you monitor the data inside the dut for comparison in scb?](https://verificationacademy.com/forums/t/transcation-and-monitor-establish-a-data-flow-of-top-level-interfaces-how-do-you-monitor-the-data-inside-the-dut-for-comparison-in-scb/47617)

<div class="topic-metadata">

**Author:** [@Gyy\_VE](https://verificationacademy.com/forums/u/Gyy_VE)\
**Replies:** 2\
**Last updated:** [June 18, 2024, 1:32am UTC](https://verificationacademy.com/forums/t/transcation-and-monitor-establish-a-data-flow-of-top-level-interfaces-how-do-you-monitor-the-data-inside-the-dut-for-comparison-in-scb/47617 "2024-06-18T01:32:47Z")

</div>

transcation and monitor establish a data flow of top-level interfaces, how do you monitor the data inside the dut for comparison in scb?

---

## [Smart way to bundle up multiple RTL signals when passing to monitor](https://verificationacademy.com/forums/t/smart-way-to-bundle-up-multiple-rtl-signals-when-passing-to-monitor/47196)

<div class="topic-metadata">

**Author:** [@uvmsun101](https://verificationacademy.com/forums/u/uvmsun101)\
**Replies:** 1\
**Last updated:** [May 2, 2024, 2:30am UTC](https://verificationacademy.com/forums/t/smart-way-to-bundle-up-multiple-rtl-signals-when-passing-to-monitor/47196 "2024-05-02T02:30:13Z")

</div>

Hi I am trying to clean up legacy code in SV. The way signals are hookup between monitor and RTL is through bind bind rtl\_top a\_monitor a\_monitor\_u( .abc ({\`PATH\_TO\_MODULE0.sig1, \`PATH\_TO\_MODULE1.sig2, \`PATH\_TO\_MODULE…

---

## [2 process writing on an analysis port from monitor](https://verificationacademy.com/forums/t/2-process-writing-on-an-analysis-port-from-monitor/40765)

<div class="topic-metadata">

**Author:** [@bachan21](https://verificationacademy.com/forums/u/bachan21)\
**Replies:** 11\
**Last updated:** [March 18, 2024, 5:05am UTC](https://verificationacademy.com/forums/t/2-process-writing-on-an-analysis-port-from-monitor/40765 "2024-03-18T05:05:13Z")

</div>

I have 2 process in monitor using same analysis port from monitor This is the code : class m\_monitor extends uvm\_monitor; .......... uvm\_analysis\_port#(sequence\_item) mon\_port; virtual intf\_ vif; .......... …

---

## [The use of virtual interface in uvm\_monitor](https://verificationacademy.com/forums/t/the-use-of-virtual-interface-in-uvm-monitor/46431)

<div class="topic-metadata">

**Author:** [@sangwoo98](https://verificationacademy.com/forums/u/sangwoo98)\
**Replies:** 1\
**Last updated:** [March 8, 2024, 8:13pm UTC](https://verificationacademy.com/forums/t/the-use-of-virtual-interface-in-uvm-monitor/46431 "2024-03-08T20:13:48Z")

</div>

Hi everybody, I was looking through an example of a monitor implementation in UVM in the ChipVerify website, and stubmled upon virtual interface. There are some questions I have regarding virtual interface. How i…

---

## [Doubt regarding to Monitor transaction collection](https://verificationacademy.com/forums/t/doubt-regarding-to-monitor-transaction-collection/44559)

<div class="topic-metadata">

**Author:** [@marathuteja](https://verificationacademy.com/forums/u/marathuteja)\
**Replies:** 1\
**Last updated:** [January 4, 2024, 7:17pm UTC](https://verificationacademy.com/forums/t/doubt-regarding-to-monitor-transaction-collection/44559 "2024-01-04T19:17:02Z")

</div>

Hi There, I have doubts in monitor transaction collection. On what basis will monitor collect transactions from the virtual interface for ex : In AHB 3 lite protocol there is a slave-ready signal based on which we can…

---

## [How to sample a UVM monitor if clock is not there](https://verificationacademy.com/forums/t/how-to-sample-a-uvm-monitor-if-clock-is-not-there/42469)

<div class="topic-metadata">

**Author:** [@suvendrakumarsahoo](https://verificationacademy.com/forums/u/suvendrakumarsahoo)\
**Replies:** 2\
**Last updated:** [October 5, 2023, 7:07pm UTC](https://verificationacademy.com/forums/t/how-to-sample-a-uvm-monitor-if-clock-is-not-there/42469 "2023-10-05T19:07:58Z")

</div>

Hi, I have a UVM monitor, the input to which 11 parallel data signals are coming. I have 12 bit repair field based on the configuration the data fields are changing. I can’t sample at the clock edge since it will slow d…

---

## [Monitor for interleaved data](https://verificationacademy.com/forums/t/monitor-for-interleaved-data/40912)

<div class="topic-metadata">

**Author:** [@KMarshall](https://verificationacademy.com/forums/u/KMarshall)\
**Replies:** 4\
**Last updated:** [October 15, 2022, 8:54am UTC](https://verificationacademy.com/forums/t/monitor-for-interleaved-data/40912 "2022-10-15T08:54:37Z")

</div>

Hi All, Can anyone suggest the best way to capture interleaved data in uvm monitor? Scenario: 2 bit signal (channel): having channel numbers 0,1,1,2,0,0,0,0,2,2,1,1,2,1,1,0,2,1,0,1 1 bit signal (start) : assert high…

---

## [How to pass a task output values from interface into the monitor?](https://verificationacademy.com/forums/t/how-to-pass-a-task-output-values-from-interface-into-the-monitor/40330)

<div class="topic-metadata">

**Author:** [@UVM\_LOVE](https://verificationacademy.com/forums/u/UVM_LOVE)\
**Replies:** 1\
**Last updated:** [May 2, 2022, 12:28pm UTC](https://verificationacademy.com/forums/t/how-to-pass-a-task-output-values-from-interface-into-the-monitor/40330 "2022-05-02T12:28:11Z")

</div>

Dear All, I was made a simple task to collect output values from DUT in the Interface. I just want to pass the collected values from monitor to the scoreboard. this is interface interface apb\_interface(); bit pclk…

---

## [Strategy to monitor single signals](https://verificationacademy.com/forums/t/strategy-to-monitor-single-signals/39289)

<div class="topic-metadata">

**Author:** [@UVMag](https://verificationacademy.com/forums/u/UVMag)\
**Replies:** 6\
**Last updated:** [July 11, 2021, 6:22pm UTC](https://verificationacademy.com/forums/t/strategy-to-monitor-single-signals/39289 "2021-07-11T18:22:45Z")

</div>

Hi, Let\`s say we have some interrupt signal that changes without any rules (no protocol). This signal should be compared with the reference signal in the SB. What is the correct way to monitor it ? every clock? usin…

---

## [Guidelines for using analysis port in monitor](https://verificationacademy.com/forums/t/guidelines-for-using-analysis-port-in-monitor/39240)

<div class="topic-metadata">

**Author:** [@bhupeshpaliwal](https://verificationacademy.com/forums/u/bhupeshpaliwal)\
**Replies:** 3\
**Last updated:** [June 30, 2021, 2:25am UTC](https://verificationacademy.com/forums/t/guidelines-for-using-analysis-port-in-monitor/39240 "2021-06-30T02:25:44Z")

</div>

In reference to analysis port used in system verilog or UVM monitor, is there any specific guidelines on number of analysis port to be used? While I understand from SV LRM perspective there is no constraint, but from ef…

---

## [Why are we driving the read data after two clocks in driver and monitor of a simple memory design?](https://verificationacademy.com/forums/t/why-are-we-driving-the-read-data-after-two-clocks-in-driver-and-monitor-of-a-simple-memory-design/38910)

<div class="topic-metadata">

**Author:** [@ArunSaiMamidala](https://verificationacademy.com/forums/u/ArunSaiMamidala)\
**Replies:** 1\
**Last updated:** [March 29, 2021, 4:18pm UTC](https://verificationacademy.com/forums/t/why-are-we-driving-the-read-data-after-two-clocks-in-driver-and-monitor-of-a-simple-memory-design/38910 "2021-03-29T16:18:58Z")

</div>

Design spec: https://verificationguide.com/systemverilog-examples/systemverilog-testbench-example-memory\_m/ EDA Code: UVM TestBench Example code - verificationguide.com - EDA Playground The design spec says, “Read Oper…

---

## [Last pushback in queue in scoreboard write method, overriding all values in queue](https://verificationacademy.com/forums/t/last-pushback-in-queue-in-scoreboard-write-method-overriding-all-values-in-queue/38447)

<div class="topic-metadata">

**Author:** [@cahuja](https://verificationacademy.com/forums/u/cahuja)\
**Replies:** 3\
**Last updated:** [December 9, 2020, 6:39pm UTC](https://verificationacademy.com/forums/t/last-pushback-in-queue-in-scoreboard-write-method-overriding-all-values-in-queue/38447 "2020-12-09T18:39:31Z")

</div>

I have a monitor and a scoreboard connected through uvm\_analysis\_port/imp. I am sampling some values in the monitor and using the write function to transport those to the scoreboard. The scoreboard is also getting those …

---

## [Monitor scoreboard Error](https://verificationacademy.com/forums/t/monitor-scoreboard-error/37267)

<div class="topic-metadata">

**Author:** [@abhishek.khule.seagate.com](https://verificationacademy.com/forums/u/abhishek.khule.seagate.com)\
**Replies:** 4\
**Last updated:** [March 12, 2020, 3:25pm UTC](https://verificationacademy.com/forums/t/monitor-scoreboard-error/37267 "2020-03-12T15:25:04Z")

</div>

Snippet of codes : ////////my\_monitor.sv///////// uvm\_analysis\_port #(int) m\_ap; … task write\_drv(); @(posedge vif.cb.push) mon\_ap.write\_drv(vif.cb.data\_in); endtask task write\_rcv(); @(posedge vif.sb.pull) mon…

---

## [Forever loop in fork\_any : Understanding terminating condition](https://verificationacademy.com/forums/t/forever-loop-in-fork-any-understanding-terminating-condition/36670)

<div class="topic-metadata">

**Author:** [@rejoymathews32](https://verificationacademy.com/forums/u/rejoymathews32)\
**Replies:** 1\
**Last updated:** [October 14, 2019, 10:24am UTC](https://verificationacademy.com/forums/t/forever-loop-in-fork-any-understanding-terminating-condition/36670 "2019-10-14T10:24:27Z")

</div>

fork ///process-1 begin forever begin @(posedge monitor\_virtual\_interface.SCLK or negedge monitor\_virtual\_interface.SCLK)begin if(!monitor\_virtual\_interface.PL) begin …

---

## [Sampling logic in UVM monitor : on all the clocks](https://verificationacademy.com/forums/t/sampling-logic-in-uvm-monitor-on-all-the-clocks/35871)

<div class="topic-metadata">

**Author:** [@proinuvm](https://verificationacademy.com/forums/u/proinuvm)\
**Replies:** 6\
**Last updated:** [March 27, 2019, 4:44pm UTC](https://verificationacademy.com/forums/t/sampling-logic-in-uvm-monitor-on-all-the-clocks/35871 "2019-03-27T16:44:05Z")

</div>

I am a relatively newbie to UVM coding. I am aware of overall flow. I have a question here. I am writing UVM testbench for BRAM : RTL is: // Write logic always @(posedge clk) if(wr\_en) mem\[…

---

## [Synchronization between UVM agents? UVM RAL to other agents](https://verificationacademy.com/forums/t/synchronization-between-uvm-agents-uvm-ral-to-other-agents/33115)

<div class="topic-metadata">

**Author:** [@Vishwasu\_Deshpande](https://verificationacademy.com/forums/u/Vishwasu_Deshpande)\
**Replies:** 5\
**Last updated:** [May 12, 2017, 5:37pm UTC](https://verificationacademy.com/forums/t/synchronization-between-uvm-agents-uvm-ral-to-other-agents/33115 "2017-05-12T17:37:09Z")

</div>

I have a UVM RAL model. I have its agent defined. I want to complete all register writes and then start driving or monitoring DUT signals using another agent. How can I solve this? UVM Events? Can anyone give me example? …

---

## [UVM agent topology for request and response interfaces](https://verificationacademy.com/forums/t/uvm-agent-topology-for-request-and-response-interfaces/32762)

<div class="topic-metadata">

**Author:** [@1978bubun](https://verificationacademy.com/forums/u/1978bubun)\
**Replies:** 3\
**Last updated:** [January 23, 2017, 6:51pm UTC](https://verificationacademy.com/forums/t/uvm-agent-topology-for-request-and-response-interfaces/32762 "2017-01-23T18:51:30Z")

</div>

I have a UVM agent which needs to drive request xtxns to DUT. The DUT returns request\_credit to the agent. After a while, the DUT returns a response xtxn for the previous request. I need to grab it in my monitor, and sen…

---

## [Variable data lengths in monitor](https://verificationacademy.com/forums/t/variable-data-lengths-in-monitor/30420)

<div class="topic-metadata">

**Author:** [@peter.russo](https://verificationacademy.com/forums/u/peter.russo)\
**Replies:** 0\
**Last updated:** [March 5, 2015, 11:53am UTC](https://verificationacademy.com/forums/t/variable-data-lengths-in-monitor/30420 "2015-03-05T11:53:33Z")

</div>

Hello, I have a driver and monitor that are parameterized to handle different sequence item types. In one type, the transfer item can send out read or write commands over the bus. This is determined by which start of fr…

---

## [UVM monitor for FSM](https://verificationacademy.com/forums/t/uvm-monitor-for-fsm/29458)

<div class="topic-metadata">

**Author:** [@NK1](https://verificationacademy.com/forums/u/NK1)\
**Replies:** 3\
**Last updated:** [May 20, 2014, 11:37am UTC](https://verificationacademy.com/forums/t/uvm-monitor-for-fsm/29458 "2014-05-20T11:37:42Z")

</div>

Hi All, I am new to FSM based verification environments. In DUT(memory controller) ,we are having FSM.I am going to implement monitor in uvm. DUT don’t have any signal to represent current state of state machine. Now…
