Re: Understanding DFF behaviour
Posted by
cadet1620 on
Apr 19, 2016; 12:27pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Understanding-DFF-behaviour-tp4029740p4029820.html
jbloggz wrote
...my desire [is] to deeply understand how all this stuff works. Eventually I would like to be able to build the HACK computer (or similar) in real hardware.
If you haven't already fond it, I strongly suggest you check out
Logisim, its simulation is much closer to correct.
From
this post you can get a Hack computer I implemented in Logisim.
Interestingly, when I use this DFF in my implementation of the Bit, it behaves exactly as it did previously
Maybe the simulator's finding another DFF somewhere else. As a quick debugging hack, you could rebuild DFF.class with 'out' permanently 0 and see if that hard-coded 0 shows up in your Bit test.
--Mark