YES. 40Mhz clock....
When using sequence structure and fifo
IF....
array time : Fpga Timekeeper time(100Hz) = 0 , 0.01 , 0.02 , 0.03 , 0.04 , 0.05 , 0.06 , 0.07 , 0.08, 0.09 , 0.10 ~~~~ 1
array Ai : (10 Hz) = 0 , 0.1 , 0.2 , 0.3 , 0.4 , 0.5 , 0.6 , 0.7 , 0.8 , 0.9 , 1
if i get the data sampling frequence 10Hz and build array using fifo,
1 sec result is
get array time : Fpga Timekeeper time(100Hz) = 0 , 0.01 , 0.02 , 0.03 , 0.04 , 0.05 , 0.06 , 0.07 , 0.08, 0.09 , 0.10
get array Ai : (10 Hz) = 0 , 0.1 , 0.2 , 0.3 , 0.4 , 0.5 , 0.6 , 0.7 , 0.8 , 0.9 , 1
2 sec result is
get array time : Fpga Timekeeper time(100Hz) = 1 , 1.01 ,1.02 , 1.03 , 1.04 , 1.05 , 1.06 , 1.07 , 1.08, 1.09 , 1.10
get array Ai : (10 Hz) = 1 , 1.1 , 1.2 , 1.3 , 1.4 , 1.5 , 1.6 , 1.7 , 1.8 , 1.9 , 2
I think this problem is based on the number of elements in the sequence structure and the FIFO at the same time.
How shall I do it?
I want to get an array of matching two groups.
And if I do as attached, if I call the FIFO set at 5120 elements, will there be TIME matching each AI element?