MathWorks Interview Question

write a verilog code for counter and give reset , and how you design mod 7 in the same code . some write matlab code for fibonacci series