Graphcore interview question

Design sequential counter and verify it