Re: Implement Fibonacci Sequence generator
Posted by cadet1620 on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Implement-Fibonacci-Sequence-generator-tp4031212p4031213.html
Implement this like PC, except that it has two Registers and no reset input.
load input loads f0 and f1 inputs into the cur_num and next_num Registers.
Circuit output as you have it will be f2, f3, ... If you want to see f0, f1, f2, ... use cur_num.out.
It's useful to realize that Register with load=true is functionally a DFF16.
--Mark