Graphcore Interview Question

Design sequential counter and verify it