Introduction - If you have any usage issues, please Google them yourself
Logisim four bit sorter
Build a 4-bit swap using a 1-bit swap, and a sort circuit using a 4-bit swap module and a built-in comparator component in Logisim (do not use Plexers class components)
Function Description: The circuit has four 4-bit binary digits as input and four 4-bit binary digits as output. Its function is to sort the four input binary digits. The output from the first output port is the smallest of the four digits, the output from the second output port is the second smallest, and so on.
Input: A, B, C, D (4bit)
Output: #1, #2, #3, #4 (4bit) (#1 corresponds to the first output port, and so on).
The 1 bit swap module name in the file is 1bit_swap
The 4 bit swap module name in the file is 4bit_swap
File sorting circuit module name: 4bit_sort