C model golden file and monitor data comparision

How to compare the data from the c model golden file stored in text format and the data from the monitor in the uvm scoreboard

In reply to vinayks:

Can’t answer your question without knowing the format of the data in the text file. And is there a one to one correspondence with each line of the text file and the data return by your monitor?

In reply to dave_59:
Hello Dave,
The text file stores the integer type of date and each line of the text having the values for different input/output variables separated by commas.
Example:
var1,var2,var3,…varn

  1. 20,30 ,40…50
  2. 88,99,77,…81

now my requirement is var1 in line 1 should be compared with monitor var1 ,and var2 with monitor var2 …and so on