|
Test
Your EQ #150 Answer
|
Answer
6
When it comes to sorting in hardware, think simple. The
classic bubble sort is one approach that works well. Each
pass of a bubble sort algorithm "bubbles" the largest
element to the end of the list, leaving a list of N–1
items to be sorted on the next pass. This would be implemented
using the 2-port sort module as shown below.
Contributor:
M.K.
Suvarnakuma
Published:
January-2003