08-20-2008 10:33 AM
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
08-22-2008 11:00 AM
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