Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- I know this for this reason, i decide to read every clock cycle just one value and insert it, it mean after 32( read an insert) clock cycle, i get 16 value sorted. This time isn't requirement but i try to execute this code on the minimum of clock cycle, i hope that don't avoid 32 clock cycle. --- Quote End --- Now you are changing your timing requirements. The simplest implementation is to simply 'sort data as it comes in'. The component interface design should be that you write 16 values to a location, and then read back 5, with those 5 values being the greatest. The internal sorting is what you now have to figure out. Cheers, Dave