In reply to bachan21:
If you look into my code carefully. I have not only added header files.
Below are compile issue in your code as well.
1) macros can call via `not '
2) task declaration outside the class required classname::methodname which is missing.
And "main_phase" will be like this (However you have write as mainphase)
3) you have declare sequence handle seq from "simple_sequence" however while in at create you use "simpleme_sequence".
And regarding sequencer, in my code I have not used sequencer so I pass as null.
If, you pass sequencer then it will not make any difference when you have sequencer.
And i grep in uvm base class, and I didn't find anything with name "SEQ".
So,I have doubt on that library is cause for your hang issue.
Will you please share your complete code over EDA if possible.
Then someone can might help you to figured out actual issue.