Login  Register

Re: Stuck on PC

Posted by WBahn on May 11, 2021; 5:50pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Stuck-on-PC-tp4033903p4035996.html

The order of statements in the HDL has no effect at all. All they do is describe which pin on one part is connected to which wire.

The reason that your two versions don't behave the same has nothing to do with statement ordering. It's because the two versions are for two very different circuits. Map them out and you will see what I mean.

Or just walk through a couple of situations with each. For instance, what happens if all three control signals are HI (a 1)?