Conversion an output of UUT in test bench?
Create an internal signal:
signal uut_data_out : integer ;

Map data_out of UUT like this:
data_out =&gt; uut_data_out

Concurrently assign data_out like this:
data_out &lt;= conv_std_logic_vector (uut_data_out) ;