In reply to zz8318:
It would help to provide the error message as well as a complete example.
I suspect that you have encountered a tool bug. realtime is synonym for real and real types are compatible with the float datatype in C.
This Mentor/Siemens EDA sponsored public forum is not for discussing tool specific usage or issues. Please read your tool’s user manual or contact your tool vendor directly for support.