Re: CPU.hdl - Confusion On Comparison Failure

Posted by WBahn on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/CPU-hdl-Confusion-On-Comparison-Failure-tp4034020p4034021.html

This is an issue that is idiosyncratic to how the built-in parts interface to the simulator.

There are two phases to the clock -- tick and tock. The authors' documentation doesn't define them terribly well and there seems to be a discrepancy between how parts you build and how the built in parts record values after a tick (that's a time with a '+' symbol after it). The built-in parts appear to output the values of the inputs to the memory storage elements, while parts you built show the output.