Greatest Common Factor Reference Example for LabVIEW FPGA
This example returns the Greatest Common Factor of up to ten values using the Euclidian algorithm. This function is not safe for Single-Cycle Timed Loops (SCTLs).
There are two functions in this package. GCF_2.vi receives two values and computes their greatest common factor. GCF_N.vi receives an array of up to ten values and iteratively calls GCF_2.vi to compute the GCF of all of them.
Application Software: LabVIEW Base Development System 8.2
Toolkits and Add-Ons: LabVIEW FPGA Module 8.2
Reader Comments | Submit a comment »