Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHelp: How can I implement e(t^2/l^2) in VHDL
Hi! Experts, Could anyone please help me to implement e(t^2/l^2) in VHDL? where t is continuous time and l is a constant. Thank you very much in advance. Regards, Akilan.T
Altera_Forum
Honored Contributor
15 years agoYour numbers are fixed point not floating point. Fixed point means applying a fixed scaling to integer numbers. Most popular are binary (2^n) scaling factors. Number ranges and resolution can be different for x and y of a function and need to be defined according to your accuracy requirements.
By the way, do you actually mean divergent exp(t^2/l^2) or gauss function exp(-t^2/l^2)?