Fatal errors in system verilog

In reply to Nishant Kumar:

Nishant,

You are passing ‘gen_scb’ in new method, but where have you allocated object for it.

I think, you missed to allocate object to gen_scb in env from where you are calling scoreboard new method.