# Scoreboard compare issue

**URL:** <https://verificationacademy.com/forums/t/scoreboard-compare-issue/35465>\
**Category:** UVM\
**Tags:** UVM, scoreboard, compare, monitor-to-scoreboard\
**Created:** [December 14, 2018, 5:19am UTC](https://verificationacademy.com/forums/t/scoreboard-compare-issue/35465 "2018-12-14T05:19:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yoshiko](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/y/8edcca/32.png) [@yoshiko](https://verificationacademy.com/forums/u/yoshiko)\
**Post date:** [December 14, 2018, 5:19am UTC](https://verificationacademy.com/forums/t/scoreboard-compare-issue/35465/1 "2018-12-14T05:19:11Z")

</div>

Hi ,

I am comparing output data from input data.  
for input data , i have to store this in to an array of 5.whenever new data will come it will overwrite position from 0 to 5.  
I am facing issue by the time output data comes , input data is overwritten.  
how to handle this in scoreboard without creating duplicate array or queue.  
for example -  
input data {0,1,2,3,4}{6,7,8,9,10}  
output data { 0, 0,0,0,0}{0,1,2,3,4}

---

<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:** [December 14, 2018, 7:41am UTC](https://verificationacademy.com/forums/t/scoreboard-compare-issue/35465/2 "2018-12-14T07:41:15Z")

</div>

_In reply to [yoshiko](https://verificationacademy.com/forums/t/scoreboard-compare-issue/35465):_

What you are describing is a common scenario in scoreboards. UVM provides you the uvm\_tlm\_analysis\_fifo which can be parameterized for any data object. There you should store your data coming from the input side.
