Cirrus Logic interview question

design and verify a module