IEEE single precision floating point number <=> uint 32 converter
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.
Citation pour cette source
Igal (2024). 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. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
A inspiré : Single precision to uint8 and uint32 conversion (and back)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |