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 agomay i said in another way,when i tried to match between every element in mem1 with every element in mem2 such as
if data_a=data_b then d<=addr_a - addr_b; it happened if data_a=data_ b in the same clock cycle not for all mem data i/p