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
(2,868 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: http://zone.ni.com/devzone/cda/tut/p/id/7781

Regards,

Jeremy_B

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