Hello,
What is the best way to read a textfile that contains decimal number (eg. 2.987) into verilog?

At the moment, I convert the values to hex using matlab (using num2hex). But when I use readmemh, it assumes that the 32bit variable is a 'regular' number and not a floating number?

Any suggestion will be greatly appreciated.

Thanks!