The to_stdulogic function

function to_stdulogic ( b : bit ) return std_ulogic;

Converts a value of the built-in VHDL bit type to a std_ulogic value.