Altera_Forum
Honored Contributor
14 years agoA sorter design issue
I want to design a sorter, which is used to allocate the new coming data to its proper loacation after comparing with all data inside the sorter. My algorithm is as below(pls check attachment:dengchang.jpg):
1. Compare the new data with all data inside the sorter (implemenmted with registers, just like data buffers). 2. Place the new data to proper position after comparing. 3. Shift all data behind the new data positon one step, and there is one data shifted out of the sorter. There is negative setup slack issue after compilation. Each path between the new data and every regitser of the sorter has this timing issue. As the attached file:timing issue.jpg.