Fibonacci Sequence Generatorc
Problem Description
Write a code for Fibonacci Series Generator starting with 1 and 1 as its first two numbers. The next number is found by adding up the two numbers before it.
S(0) = 1
S(1) = 1
S(n) = S(n-1) + S(n-2) for n > 1
Assume reset is negative edge triggered and asynchronous.
Example: Fibonacci Sequence: 1 1 2 3 5 8. If we run the Fibonacci sequence generator for 6 cycles, it should generate the above sequence.
Verilog
Code Editor Access
Log in to write, run and submit your solution to this interview question. It's free.
Output
Output goes here...
