How to drive the packet to dut

Dharani,

As you are new to the verification, I would suggest you to improve on your debugging skills.
Try to isolate the problem, currently you have too many components to be looked at. Few points to be looked at:

  • are you able to drive data using base sequence and base packet class. If yes then driver is working fine otherwise there can be issue with driver also.
  • in your extended packet class you have rewritten constraint for packet_length which can solve with length set to 0, making your packet with empty payload.
  • print packet in sequence before sending to driver to ensure packet formation is correct.

Thanks,
Rohit