When I create it in Logisim, this is the error I get:
I understand the incompability is due to the number of data bits. When I adjust the data bits, none of the output will work. How can I fix it?
Best Answer
You need to use a splitter component (first item under "Wiring") when combining multiple 1-bit signals into a bus, or when separating them back out. Simply wiring them together, like you've done, doesn't work.
Here's what it should look like:
Note that you'll need to split and recombine the output from each of the adders -- for instance, the input to the second adder is made up of {CO, S3, S2, S1}, not {S3, S2, S1, S0}.
The values stored in the ROM are being displayed in hexadecimal, not binary. Each hexadecimal digit is equivalent to four bits, and the hexadecimal digits 0 and 1 are equivalent to binary 0000 and 0001.
Best Answer
You need to use a splitter component (first item under "Wiring") when combining multiple 1-bit signals into a bus, or when separating them back out. Simply wiring them together, like you've done, doesn't work.
Here's what it should look like:
Note that you'll need to split and recombine the output from each of the adders -- for instance, the input to the second adder is made up of
{CO, S3, S2, S1}
, not{S3, S2, S1, S0}
.