# \#analysis-port

**URL:** https://verificationacademy.com/forums/tag/analysis-port/4488.md

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

---

## [Execution of function after it unblocks](https://verificationacademy.com/forums/t/execution-of-function-after-it-unblocks/51579)

<div class="topic-metadata">

**Author:** [@Praveen\_Kakodra](https://verificationacademy.com/forums/u/Praveen_Kakodra)\
**Replies:** 1\
**Last updated:** [March 17, 2026, 3:01pm UTC](https://verificationacademy.com/forums/t/execution-of-function-after-it-unblocks/51579 "2026-03-17T15:01:52Z")

</div>

Hi Forum, Consider the following Tb // Assume 'write\_beat' class is defined as class write\_beat; bit \[3:0\] id; byte unsigned data\[\]; // Other properties and APIs endclass // Within 'env' compone…

---

## [Multiple analysis ports to single implementation](https://verificationacademy.com/forums/t/multiple-analysis-ports-to-single-implementation/51382)

<div class="topic-metadata">

**Author:** [@avichaym](https://verificationacademy.com/forums/u/avichaym)\
**Replies:** 8\
**Last updated:** [October 23, 2025, 7:43am UTC](https://verificationacademy.com/forums/t/multiple-analysis-ports-to-single-implementation/51382 "2025-10-23T07:43:06Z")

</div>

Hi, I have an arbiter with 16 data-valid inputs, that I want to verify. I’m trying to use 16 data-valid agents that will send the capture data to the scoreboard through analysis port, while being able to distinguish fro…

---

## [Connection between multiple analysis port to single analysis import](https://verificationacademy.com/forums/t/connection-between-multiple-analysis-port-to-single-analysis-import/39733)

<div class="topic-metadata">

**Author:** [@verif\_learner1](https://verificationacademy.com/forums/u/verif_learner1)\
**Replies:** 6\
**Last updated:** [February 18, 2025, 8:46pm UTC](https://verificationacademy.com/forums/t/connection-between-multiple-analysis-port-to-single-analysis-import/39733 "2025-02-18T20:46:05Z")

</div>

UVM explains that a single analysis port can be connected to multiple analysis imports/exports. But is there any explanation when multiple analysis ports are connected to a single analysis imports/exports? Thanks,

---

## [On monitor and scoreboard connection](https://verificationacademy.com/forums/t/on-monitor-and-scoreboard-connection/48111)

<div class="topic-metadata">

**Author:** [@richa-r](https://verificationacademy.com/forums/u/richa-r)\
**Replies:** 1\
**Last updated:** [August 6, 2024, 2:12pm UTC](https://verificationacademy.com/forums/t/on-monitor-and-scoreboard-connection/48111 "2024-08-06T14:12:41Z")

</div>

hello guys i have a query please help me out. i have 2 monitor m1 and m2. m1 is have write\_input and m2 is having write\_output function and now want to connect two monitor with scorboard with diffrent write function in …

---

## [Analysis Port Write functionality](https://verificationacademy.com/forums/t/analysis-port-write-functionality/47191)

<div class="topic-metadata">

**Author:** [@EELearner](https://verificationacademy.com/forums/u/EELearner)\
**Replies:** 1\
**Last updated:** [April 30, 2024, 11:45pm UTC](https://verificationacademy.com/forums/t/analysis-port-write-functionality/47191 "2024-04-30T23:45:33Z")

</div>

How does write work for an analysis port? I had some code that I wrote that looked like the following: (note that m\_predictor\_ssi\_ap is eventually connected to a fifo in my comparator so what I want to see is the refer…

---

## [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; .......... …

---

## [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…

---

## [Connecting Sequence to Scoreboard](https://verificationacademy.com/forums/t/connecting-sequence-to-scoreboard/37924)

<div class="topic-metadata">

**Author:** [@prashant.makhecha](https://verificationacademy.com/forums/u/prashant.makhecha)\
**Replies:** 6\
**Last updated:** [August 10, 2020, 10:02am UTC](https://verificationacademy.com/forums/t/connecting-sequence-to-scoreboard/37924 "2020-08-10T10:02:59Z")

</div>

I want to pass some data to Scoreboard directly without using monitor so how can I achieve? Scoreboard had to compare data from RTL which will come to Scoreboard using analysis port from one agent but for expected data …

---

## [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…

---

## [Usage of pair\_ap from uvm\_in\_order\_comparator](https://verificationacademy.com/forums/t/usage-of-pair-ap-from-uvm-in-order-comparator/36411)

<div class="topic-metadata">

**Author:** [@Jose\_Iuri](https://verificationacademy.com/forums/u/Jose_Iuri)\
**Replies:** 2\
**Last updated:** [August 14, 2019, 5:09pm UTC](https://verificationacademy.com/forums/t/usage-of-pair-ap-from-uvm-in-order-comparator/36411 "2019-08-14T17:09:41Z")

</div>

I want to connect another block on scoreboard that receives the transactions from the uvm\_in\_order\_comparator. But i dont know how to do this. The link to the comparator class is uvm\_in\_order\_comparator . My block that i…

---

## [UVM\_DRIVER- Driving an interface at an event](https://verificationacademy.com/forums/t/uvm-driver-driving-an-interface-at-an-event/35833)

<div class="topic-metadata">

**Author:** [@PoojaPathak](https://verificationacademy.com/forums/u/PoojaPathak)\
**Replies:** 1\
**Last updated:** [March 8, 2019, 6:58pm UTC](https://verificationacademy.com/forums/t/uvm-driver-driving-an-interface-at-an-event/35833 "2019-03-08T18:58:38Z")

</div>

Hi, My agent needs to drive a “done” signal when any some input is received on any one of the two input interfaces. I am using analysis ports to get input transactions and pushing that data on a queue for both cases. I …

---

## [Overhead of calling analysis port write() method](https://verificationacademy.com/forums/t/overhead-of-calling-analysis-port-write-method/34949)

<div class="topic-metadata">

**Author:** [@Omkar](https://verificationacademy.com/forums/u/Omkar)\
**Replies:** 2\
**Last updated:** [August 29, 2018, 11:12pm UTC](https://verificationacademy.com/forums/t/overhead-of-calling-analysis-port-write-method/34949 "2018-08-29T23:12:14Z")

</div>

Hi, I have a uvm\_monitor that collects valid data(2 bytes) from the interface. These valid data needs to be compared against a reference data. My test runs for several thousands of clock cycles. In the best case, the RT…

---

## [Where to use ports and analysis ports](https://verificationacademy.com/forums/t/where-to-use-ports-and-analysis-ports/34776)

<div class="topic-metadata">

**Author:** [@shresrknth](https://verificationacademy.com/forums/u/shresrknth)\
**Replies:** 6\
**Last updated:** [August 1, 2018, 5:54am UTC](https://verificationacademy.com/forums/t/where-to-use-ports-and-analysis-ports/34776 "2018-08-01T05:54:02Z")

</div>

Hi everyone, Can anyone help me that can we use analysis ports between the driver and sequencer instead of normal port and export?

---

## [Getting same item from analysis fifo, even though monitor writes only once](https://verificationacademy.com/forums/t/getting-same-item-from-analysis-fifo-even-though-monitor-writes-only-once/34257)

<div class="topic-metadata">

**Author:** [@saravanantvs](https://verificationacademy.com/forums/u/saravanantvs)\
**Replies:** 4\
**Last updated:** [March 27, 2018, 6:33am UTC](https://verificationacademy.com/forums/t/getting-same-item-from-analysis-fifo-even-though-monitor-writes-only-once/34257 "2018-03-27T06:33:12Z")

</div>

Hi, -Monitor analysis port is connected scoreboard export -scoreboard export is connected to scoreboard’s analysis fifo. From my monitor i am writing only once, but from analysis fifo, i recive the same item twice. Ca…

---

## [Whats the difference between hierarchical exports direct assignment and hierarchical exports assign through connect?](https://verificationacademy.com/forums/t/whats-the-difference-between-hierarchical-exports-direct-assignment-and-hierarchical-exports-assign-through-connect/33881)

<div class="topic-metadata">

**Author:** [@mayur0391](https://verificationacademy.com/forums/u/mayur0391)\
**Replies:** 1\
**Last updated:** [January 3, 2018, 2:53pm UTC](https://verificationacademy.com/forums/t/whats-the-difference-between-hierarchical-exports-direct-assignment-and-hierarchical-exports-assign-through-connect/33881 "2018-01-03T14:53:22Z")

</div>

uvm\_analysis\_port #(apb\_seq\_item) ap; apb\_monitor m\_monitor; ap = m\_monitor.ap; // direct assignment //OR m\_monitor.ap.connect(ap); // assignment through connect Reference: UVM Cookbook Page Number 47 Whats the di…

---

## [Configuring driver-sequencer used, from environment?](https://verificationacademy.com/forums/t/configuring-driver-sequencer-used-from-environment/33126)

<div class="topic-metadata">

**Author:** [@smukerji](https://verificationacademy.com/forums/u/smukerji)\
**Replies:** 5\
**Last updated:** [May 19, 2017, 7:23pm UTC](https://verificationacademy.com/forums/t/configuring-driver-sequencer-used-from-environment/33126 "2017-05-19T19:23:06Z")

</div>

I am trying to develop a scenario where my Re-active agent gets signals from Passive output agent monitor and injects errors and again drives them back to DUT. The signals(with errors) can be either passed as error se…

---

## [Can we get transaction in Functional Coverage through multiple Analysis Ports in Scoreboard?](https://verificationacademy.com/forums/t/can-we-get-transaction-in-functional-coverage-through-multiple-analysis-ports-in-scoreboard/32997)

<div class="topic-metadata">

**Author:** [@nayan2208](https://verificationacademy.com/forums/u/nayan2208)\
**Replies:** 1\
**Last updated:** [March 25, 2017, 6:48am UTC](https://verificationacademy.com/forums/t/can-we-get-transaction-in-functional-coverage-through-multiple-analysis-ports-in-scoreboard/32997 "2017-03-25T06:48:18Z")

</div>

Can we get transaction in Functional Coverage through multiple Analysis Ports in Scoreboard ?

---

## [Can I have an analysis port inside my driver ?If yes, then why we have monitor ?If no,why?](https://verificationacademy.com/forums/t/can-i-have-an-analysis-port-inside-my-driver-if-yes-then-why-we-have-monitor-if-no-why/32199)

<div class="topic-metadata">

**Author:** [@utkalikapanda](https://verificationacademy.com/forums/u/utkalikapanda)\
**Replies:** 3\
**Last updated:** [August 30, 2016, 11:34am UTC](https://verificationacademy.com/forums/t/can-i-have-an-analysis-port-inside-my-driver-if-yes-then-why-we-have-monitor-if-no-why/32199 "2016-08-30T11:34:22Z")

</div>

Can I have an analysis port inside my driver ?If yes, then why we have monitor ?If no,why ?

---

## [If I do not connect uvm\_analysis\_port to uvm\_analysis\_imp and use uvm\_analysis\_port.write method. What should happen](https://verificationacademy.com/forums/t/if-i-do-not-connect-uvm-analysis-port-to-uvm-analysis-imp-and-use-uvm-analysis-port-write-method-what-should-happen/31426)

<div class="topic-metadata">

**Author:** [@JDS1](https://verificationacademy.com/forums/u/JDS1)\
**Replies:** 3\
**Last updated:** [January 25, 2016, 9:29pm UTC](https://verificationacademy.com/forums/t/if-i-do-not-connect-uvm-analysis-port-to-uvm-analysis-imp-and-use-uvm-analysis-port-write-method-what-should-happen/31426 "2016-01-25T21:29:40Z")

</div>

Hello, I do not connect uvm\_analysis\_port to uvm\_analysis\_imp and using uvm\_analysis\_port.write Should not it give fatal error? As write method for uvm\_analysis\_port is as below // Method: write // Send specifi…

---

## [UVM analysis port](https://verificationacademy.com/forums/t/uvm-analysis-port/31343)

<div class="topic-metadata">

**Author:** [@ashutosh1122](https://verificationacademy.com/forums/u/ashutosh1122)\
**Replies:** 3\
**Last updated:** [December 23, 2015, 9:07am UTC](https://verificationacademy.com/forums/t/uvm-analysis-port/31343 "2015-12-23T09:07:47Z")

</div>

How analysis port differ from normal port in terms of implementation?Thanks

---

## [About the analysis port "write" function implementation](https://verificationacademy.com/forums/t/about-the-analysis-port-write-function-implementation/30534)

<div class="topic-metadata">

**Author:** [@anu.anu](https://verificationacademy.com/forums/u/anu.anu)\
**Replies:** 2\
**Last updated:** [April 11, 2015, 2:39am UTC](https://verificationacademy.com/forums/t/about-the-analysis-port-write-function-implementation/30534 "2015-04-11T02:39:53Z")

</div>

Hi all, When i look into the uvm cookbook the “write” method is implemented as a “function”. So my question is why its “function” why not “task” ? If the requirement is to just have something in Zero time than we can …

---

## [Failing to connect analysis port](https://verificationacademy.com/forums/t/failing-to-connect-analysis-port/29357)

<div class="topic-metadata">

**Author:** [@adilsadik](https://verificationacademy.com/forums/u/adilsadik)\
**Replies:** 4\
**Last updated:** [April 18, 2014, 9:19am UTC](https://verificationacademy.com/forums/t/failing-to-connect-analysis-port/29357 "2014-04-18T09:19:27Z")

</div>

Hi, I am failing to connect an analysis port of sequencer with monitor. I’ve an agent with following member: my\_sequencer sequencer my\_sequencer has an analysis port implemented with uvm\_analysis\_imp\_decl From my env…

---

## [Can we use ports in driver, inside driver callback method driver's handle?](https://verificationacademy.com/forums/t/can-we-use-ports-in-driver-inside-driver-callback-method-drivers-handle/29249)

<div class="topic-metadata">

**Author:** [@dipali](https://verificationacademy.com/forums/u/dipali)\
**Replies:** 7\
**Last updated:** [March 18, 2014, 4:34am UTC](https://verificationacademy.com/forums/t/can-we-use-ports-in-driver-inside-driver-callback-method-drivers-handle/29249 "2014-03-18T04:34:56Z")

</div>

Hi, I have requirement of sending a packet from driver class to another component in environment via analysis port. The code looks like class my\_driver extends uvm\_driver#(my\_packet); uvm\_component\_utils(my\_driver) u…
