In reply to Swathi BN:
Quote:
How can i create a handler of packet in scoreboard and access it as we do in driver and monitor class.
So my agenda is to capture output of DUT from monitor and give it to BFM. I have BFM inside Scoreboard. Now i have to compare my input sent to DUT and Output received from BFM should be same.
What do you mean by "handler"? Do you mean code that receives the packet handle and processes it? Use analysis ports and the handler is a write() function that receives handles to the inputs and outputs of the design.
Also, what is the BFM? Usually this means Bus Functional Model, which is code that you can call to generate transactions on a bus. Maybe you meant "reference model" which receives input transactions and generates the expected output transactions that can be compared with the actual transactions from the design outputs.