Datatype of the evaluated expression, <expression>, and the port datatype are not the same. Using default value of the port datatype as output. Change to: Expression datatype is not the same as the port datatype. Using a default port value to mask data.