UVM_ERROR

Hi Prawin,

I will tell you what I understood from your question. Correct me if I am wrong.

  1. “sequence_item” is a class extended from “uvm_sequence_item”.
  2. You have written the “sequence_item” class definition inside a file. That file should be included in a package so that it gets compiled. The inclusion order should be for example
package my_pkg;
  `include "sequence_item.sv"
  ...
  ...
  `include "my_driver.sv"
endpackage

So, it’s the “sequence_item” class gets compiled first & then, the driver gets compiled. Please try this & let me know if this works for you.

Thanks,
Santosh