File Exchange

image thumbnail

IEEE single precision floating point number <=> uint 32 converter

version 1.0.0.0 (17.5 KB) by Igal
C based S-Function blocks implementing biderectional convertion single precision floats <=> uint32

1 Download

Updated 26 Apr 2011

View License

IEEE single precision floating point numbers are built from 32 bits. Sometimes especially when trying to cosimulate with an FPGA vendor provided floating point cores, it is need to represent these numbers as unsigned 32 bit integers. Standard Simulink "type conversion" block in "stored integer" mode does no do this well (all fractional parts are not propagated).

Limitation:
Does not support automatic HDL code generation.

Cite As

Igal (2020). IEEE single precision floating point number <=> uint 32 converter (https://www.mathworks.com/matlabcentral/fileexchange/31202-ieee-single-precision-floating-point-number-uint-32-converter), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux