Uvm_reg based ISR(Interrupt service routine) sequence after grab()/lock()

In reply to siraj.mubarak:

There are a few Things wrong:
(1) m_sequencer = regmodel.default_map.get_sequencer(); get_sequencer returns uvm_sequencer and not your sequencer. You have to perform a type cast.
(2) the grab Command is always executed on a sequence and not on a sequencer.
m_sequencer.grab(this); is wrong.