Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHow to find largest value and its position in memory array?
As attachment... the memory array contains continuous input at every positive edge clock... these inputs are the outputs from the Altera FFT core... then i need to find the peak and its location... p...
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- okok... i understood this... but i need the waveform show only the largest value without showing the previous smaller values... never mind, i try to find solution myself... thanks so much anyway :) --- Quote End --- The waveform displays values of the node(max_val) so you will always see its values from time zero. you can add further node saying if val = 255 then max_final = 255 but I haven't got a clue what use this is going to be.