7.13.25. Vector Sort—Sequential
For sorting, the sortstages subsystem allows either a comparator and mux based block, or one based on a minimum and a maximum block. The first is more efficient. Both use the reconfigurable subsystem to choose between implementations using the BlockChoice parameter.
The design repeatedly uses a dual sort stage in series. The data passes through the dual sort stage (vector width)/2 times.
Look under the mask to view the implementation of reconfigurable subsystem templates and the blocks that reorder and interleave vectors.
The model file is demo_vectorsort.mdl.