Where to place TX predictor

I am doing verification for RX of my design, i have created a predictor of TX.
I need help to know where to put my tx predictor in UVM environment.
here is the flow how i have to check:
I should send input to tx predictor and output of tx predictor needs to be sent to DUT RX and i have to compare my input sent in the initial stage and output from DUT in scoreboard. This is the overall idea of verification i am doing.

I tried using TX predictor in driver but i got an issue once all the sequences are done driver run_phase was exiting the control, it was not letting me to complete the functionality of tx predictor.

Tried in sequence as well same happened. Can anyone help me in this.

In reply to Swathi BN:

The key question is which kind of TX predictor you have and what the function of your DUT is.
My recommendation is you should draw a block diagram. This might answer your question.