Aviva Links Interview Question

For a sequence detector, write the code in UVM.