Hi,
I am extensively using Fixed point math library functions which i have downloaded from NI website in my FPGA application.I am getting following errors while compiling the code.
I would like to know is there any limitations in using fixed point functions?
I am configuring all funtions as a 64 bit word length and 32 bit integer length in cofig parameter set up and all are outside the timed loop.
Apart from below error it is occupieng LUT's 300% in one simple VI (mathematical calculations using fixed point functions).
So i would like to know is there any way to optimize the code?.
Status: Compilation failed due to timing violations.
The compile process reported a timing violation.
Suggestions for eliminating the problem:
* For Timed Loops with timing violations
- Reduce long arithmetic/combinatorial paths
- Use pipelining within Timed Loops
- Reduce the number of nested case structures
* Reduce clock rates if possible
* Recompile
Refer to the LabVIEW Help for more information about resolving compilation errors. Click the Help button to display the LabVIEW Help.
Compilation Summary
-------------------
Device Utilization Summary:
Number of BUFGMUXs 2 out of 16 12%
Number of External IOBs 214 out of 484 44%
Number of LOCed IOBs 214 out of 214 100%
Number of MULT18X18s 69 out of 96 71%
Number of SLICEs 4387 out of 14336 30%
Clock Rates: (Requested rates are adjusted for jitter and accuracy)
Base clock: 40 MHz Onboard Clock
Requested Rate: 40.408938MHz
Achieved Rate: 36.974044MHz <<<=== Timing Violation