Forum Discussion
Altera_Forum
Honored Contributor
11 years agothanks tricky a lot for helping my design is used to measure the distance between two input data in the following code i used the accum to sum the distances measurements and the counter to count the numbers of data measured and i want to divide the accumulator result on the counter result .if you understand me well , is this possible or i should use the trigger signal to sense the last sample input . if that i said is wrong ,so i will divide accumulator on the counter result. sorry for ad English and i hope you help me thank a lot. i attache the code and the simulation picture . i want to thank kaz for helping me before to make this code thanks kaz very much