Capgemini Engineering Interview Question

program for ring counter and Johnson counter in verilog