Hello, thank you very much for reading my question. I have been trying for the last week to build an ALU, but I keep getting the comparison error.
I attached an image of my design (sorry for my bad drawing). As you can see, I built a "xor16" for this project.
Can someone see where the error is? I would be very grateful if someone finds it. Thank you so much.
WHAT comparison error are you getting? Each line of the test script is testing something different. It would really be helpful to know what the comparison file has and what your output file has. That's the number one biggest clue as to what is going on.
Have you tested your Xor16 to make sure that it works?
Which inputs are the inputs to your Mux16's going? Don't make people guess which one is selected when the select input is a particular value. What if we assume you meant it one way and, either intentionally or unintentionally, you have it the other way and that's where the problem is?