Forum Discussion
Altera_Forum
Honored Contributor
10 years agoFloating point addition in vhdl
Hii I want to add 4 floating point no.what will be the result range.I am using library ieee_proposed; use ieee_proposed.fixed_pkg.all; this package.For example if I want to add two floating...
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- You are using fixed point? use ieee_proposed.fixed_pkg.all; --- Quote End --- Thank you for your reply. Yes I am using fixed point.For example I want to add s1 <=((to_ufixed (50,7,0))+(to_ufixed (50,7,0))+(to_ufixed (50,7,0))+ (to_ufixed (50,7,0))); Here is there any formulation to calculate the range of s1?