Forum Discussion
FvM
Super Contributor
3 years agoHello,
I doubt that's a good idea to use actual floating point numbers for your PI controller. Quartus floating point IP (FP mega function) is useful, if your application needs to expose a floating point data interface to communication partners. To represent fractional decimal numbers like 1.23, 0.31, almost every FPGA application uses integer numbers with an implied power of 2 scaling factor. You use VHDL fixed_pkg or own methods with similar functionality.
Frank