Astera Labs Interview Question

Implement a 4-bit counter in SV.