Altera_Forum
Honored Contributor
11 years agosorting 4 numbers with controller and datapath
hi
i'm working on a machine that sorts 4 numbers with 4 bits. i can't understand why it doesnt work. i made it by ussing "bubble sort" technique all files here include an image of the machine. the machine works well with the second and the third numbers but it doesnt works with the first and the fourth. compare2 - the comperator contcomp- controller top - the main. thanks in advance