Re: Prolog implementation
Posted by burge91 on Jul 04, 2018; 5:21am
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Prolog-implementation-tp4031310p4032193.html
Does Prolog support Threading? If so it'll be a simple case of flipping a bit every T milliseconds and feeding it to every sequential gate. So you'd just need a while loop with a Thread.wait(500) or something I think, flipping a global boolean after each Wait completes.
I always thought the hardest thing about this was to simulate the DFF not the clock?? (but I'm not using Prolog). I tried to do that via some animation software but haven't really made progress.