Re: ALU Implementation - the road traveled thus far
Posted by ouverson on Jun 07, 2019; 12:54pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/ALU-Implementation-the-road-traveled-thus-far-tp4033278p4033287.html
Thanks. Sorry for the ugly schematic.
The only way I could think of to handle the ng behavior was to take the MSB of the last Mux16 and pipe it into another Mux; as the output would be negative if the MSB was 1. Though I'm not 100% on that.
Not sure how to handle the zr.
However, I got an HDL error message due to a syntax issue. I also had a question in regarding so the Mux4Way16 in sel[0]=zx, sel[1]=nx if that was copesetic with the Mux4Way16 interface.