Login  Register

Re: ALU Failing to Load

Posted by Chamkey on Dec 01, 2019; 11:35am
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/ALU-Failing-to-Load-tp4033963p4033968.html

Thanks Ivant for your input. I kinda realized last night that in order to get that 01 at the end of the second test that I was definitely doing something really dumb. I mistook the + symbol to be a logical OR not the addition that I was supposed to be performing ROTFL.

I redesigned the chip in Logisim so it looks like this based on an ALU that I found on GitHub:


As you can see, I put in the adder and redesigned the zx, nx, zy, ny routing and everything seemed to work until I did the tests.

It seems that whenever I have a 1 in my MSB and a 0 in my LSB as the output from my no mux, my ng doesn't work. It's because my LSB isn't active when my MSB is (in these cases):


I'll have to try a rework and see how I fare.

Once again I thank you so much for your reply, 'twas just a few hours too late :(