Tuesday, December 20, 2016

Callbacks

Callback is a method that is executed every time a known event occurs

  •  Testbench notification
  • Access occurs to the memory
  • Packet/Transaction is processed
  • No polling required
Example uses of Callbacks
  • End to end checking of data from testbench to DUT to testbench
  • Error injection
  • Check for spurious or unnecessary transactions
  • Collect functional coverage statistics