Code covered by the BSD License  

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

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

Be the first to rate this file! 8 Downloads (last 30 days) File Size: 17.5 KB File ID: #31202 Version: 1.0

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


Igal (view profile)


C based S-Function blocks implementing biderectional convertion single precision floats <=> uint32

| Watch this File

File Information

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).

Does not support automatic HDL code generation.


This file inspired Single Precision To Uint8 And Uint32 Conversion (And Back).

Required Products Simulink
MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us