Cirrus Logic interview question

Verilog question with additional requirements. Design a FSM providing fibonacci sequence with enable and reset. Output should be immediate.

Interview Answers

Anonymous

5 Nov 2011

Two registers storing last two numbers in sequence with adding circuit muxed with the enable signal. Combinational output from mux. Answer should be in verilog code.

Anonymous

2 June 2016

This is actually another way of asking: what is the difference of blocking and non blocking assignment. and the key point in this question is to use the non blocking assignment