ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA Division

I am trying to take a FXP Num. and Dem. convert it to I32, and use the division loop I found in a previous thread for division in FPGA.  When trying to conduct this task, the answer I get does not match was I should get when I take those values and divide normally.  Attach is my VI.  The values are defaulted in as examples of what I could expect for inputs.  Can this be done using that method or will I have to look at doing this a different way?

 

Thanks,

guilio

0 Kudos
Message 1 of 2
(3,039 Views)

Hi,

 

What version of LabVIEW FPGA do you have?  If you have 8.6, you can just use the divide function in the numeric palette.  There is also a fixed point library for 8.5 and 8.6 which includes a divide function: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019LnBSAU&l=en-US

Regards,

Jeremy_B

Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,005 Views)