fpuDemo

This example (fpuDemo directory) shows how to use the floating-point unit to perform various mathematical operations such as calculating sine, cosine, tangent, square root, and division. The demo records the number of clock cycles needed to complete each calculation. You can turn off the floating-point unit in the SoC's IP Configuration wizard to compare the FPU results with those obtained using the base I-extension.

The processing time to obtain the results are faster and the binary size is smaller when using the F/D-extension with floating-point unit.

***Starting FPU Demo*** 
Input 1 (in rad): -0.8414 
Sine result: -0.7456 
Cosine result: 0.6663 
Tangent result: -1.1189 
Input 2: 0.4161 
Square root result: 0.6450 
Divsion result: 0.1131 
***Succesfully Ran Demo***