Apple Interview Question

Write code for a UVC mimicing a memory . Reactive sequence in UVM