Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHow to measure distance between two data
really i have a problem for measure the distance between these data as the following.could i can make it in vhdl from enter this data to vhdl to measure distance between them. d(s1,s2)=(1+1+0+1+1)...
Altera_Forum
Honored Contributor
12 years agodo you really calculate square root in HDL?
I recommend you to use NiosII CPU ( or other CPU ) and get result in software ( like C-language ). but, you insist to get result in HDL. there is IP-core such as ALTFP_SQRT ( and other floating-point functions ). both way are tough for newbie. let study.