Forum Discussion
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- Tricky now that you mentioned, I'm not that sure that the input should be decimal, but I'm quite sure that in the end I have to reflect somehow results in decimal (for showing purpose). --- Quote End --- If this is an image then is better to display as gray level or color shades than printing some number other than image is very limited on resolution. --- Quote Start --- Do you think doing divisions and multiplications of fractional values is any easy or feasible? My intention is to make this as simple as possible. Thanks so much! --- Quote End --- IQ mathematics are possible in FPGA logic as is possible on Integer processor without FP. ALso FP unit can be built on FPGA too.. Again the equation you posted has a lot of coefficients and indexes, if you wish some help please tell us about numbers and range. Equation in first can be reworked using a negative exponent, this don't free from checking for negative values nor from division by zero. Exponent is fractional too so care must be applied to evaluate m coefficient can also raise to infinite values. The board you own has a lot of power on both FPGA and HPS sections, both can handle that equation but for both you must have clean the scope. From question you are posting I fear you need grasp VHDL before do this job is this right? If so some basic exercises can clean most of your doubt. VHDL is a complex hardware descriptor language but also a programming and simulation language, it is not simple but not so difficult it just need some hint and patience and you can do everything you think in hardware/software.