Fibonacci Generator
Easy · Sequential · SystemVerilog · VHDL
Design a Fibonacci sequence generator.
The sequence starts F_0 = 1, F_1 = 1, and each later term is the sum of the two before it (1, 1, 2, 3, 5, 8, 13, …). fib shows the terms in order, one per cycle.
resetn is a synchronous, active-low reset to F_0.