In reply to sharan785:
I get a different error message. It is related to these lines of code in the scoreboard:
before_fifo.get(dff_trans_h.din);
after_fifo.get(dff_trans_h.q);
The get functions are related to whole transactions but not to single data memebers.
This is what you have to correct.