Reference Model Design ! C-Based or Can it be done with the SV-OOPS Based ? Which would be better approach?

In reply to chr_sue:

Current test bench is in “DPI”. The reference model is in “C” so if i want to use same reference model in UVM and send stimulus from UVM to DUT as well as to reference model, collect output and verify in UVM score board how can i access “C” reference model in UVM. post example code for accessing reference model in UVM.

Thanks and Regards,
Alluri Ramadevi.