Jump to content
Sign in to follow this  
VisSim Forum Archives

Which is better to use: Floating point or fixed point blocks?

Recommended Posts

Submitted by Anders89 on Wed, 11/17/2010 - 23:31.

If you are targeting a fixed point part, (like Piccolo) then using fixed point blocks is much faster. If it is a floating point part,(like Delfino) then use which ever you are more comfortable with. The fixed point blocks will run just as fast or faster on a floating point processor. Note that the motor control block set is fixed-point only, as are the peripherals like ADC and PWM. It may be easier to stay in fixed point even though it is a floating point processor.
If you choose to use floating point blocks, be sure to insert a fixed point conversion block between the floating point output and fixed point input pin of any fixed point blocks you connect to (like PWM).

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...