Co-Verification Environment Issue

In reply to UVM_LOVE:

You have to embed your C++ subroutine into a SV component and connect his component to your UVM environment.