Fibonacci X95484


Statement
 

pdf   zip

Design a sequential circuit that generates the Fibonacci series. The circuit will represent the numbers with nn bits and will generate the Fibonacci numbers 𝑚𝑜𝑑 2n\textit{mod~} 2^n. At each cycle, a new number must be generated. The following waveform illustrates the behavior of the circuit.

image

The circuit must be designed to represent the numbers with 6 bits.

Specification

module fibonacci(clk, rst, fib);
    input clk, rst;
    output [5:0] fib;

Input

  • clk is the clock signal.

  • rst is the synchronous reset signal.

Output

  • fib is the Fibonacci number generated at each cycle.

Information
Author
Jordi Cortadella
Language
English
Official solutions
Unknown.
User solutions
Verilog