# Getting max run time error

**URL:** <https://verificationacademy.com/forums/t/getting-max-run-time-error/38178>\
**Category:** OVM\
**Tags:** OVM\
**Created:** [October 6, 2020, 12:26pm UTC](https://verificationacademy.com/forums/t/getting-max-run-time-error/38178 "2020-10-06T12:26:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![meenakshi\_bommu](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/m/f0a364/32.png) [@meenakshi\_bommu](https://verificationacademy.com/forums/u/meenakshi_bommu)\
**Post date:** [October 6, 2020, 12:26pm UTC](https://verificationacademy.com/forums/t/getting-max-run-time-error/38178/1 "2020-10-06T12:26:04Z")

</div>

Plz can anyone help me  
Facing maximum run time error  
My code is working upto 200 ns after that getting maximum run time error

---

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [October 6, 2020, 6:42pm UTC](https://verificationacademy.com/forums/t/getting-max-run-time-error/38178/2 "2020-10-06T18:42:29Z")

</div>

_In reply to [meenakshi bommu](https://verificationacademy.com/forums/t/getting-max-run-time-error/38178):_

What was the run time limit? Do you know how to change it?

You need to figure out what the simulation time was when you hit the CPU run time limit. From there you can set a breakpoint just before hitting the simulation time where it hangs.

---

<div class="post-metadata">

**Author:** ![meenakshi\_bommu](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/m/f0a364/32.png) [@meenakshi\_bommu](https://verificationacademy.com/forums/u/meenakshi_bommu)\
**Post date:** [October 7, 2020, 2:35am UTC](https://verificationacademy.com/forums/t/getting-max-run-time-error/38178/3 "2020-10-07T02:35:15Z")

</div>

_In reply to [dave\_59](https://verificationacademy.com/forums/t/getting-max-run-time-error/38178/2):_

> **[EDA Playground](https://www.edaplayground.com/x/vMir)**
>
> Edit, save, simulate, synthesize SystemVerilog, Verilog, VHDL and other HDLs from your web browser.

here is my code link u can check and one more doubt getting rmi support error don’t know why that is getting  
plz can u reffer the code  
i setting the drain time as 2000 we can change that time limit also

---

<div class="post-metadata">

**Author:** ![meenakshi\_bommu](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/m/f0a364/32.png) [@meenakshi\_bommu](https://verificationacademy.com/forums/u/meenakshi_bommu)\
**Post date:** [October 7, 2020, 5:55am UTC](https://verificationacademy.com/forums/t/getting-max-run-time-error/38178/4 "2020-10-07T05:55:24Z")

</div>

_In reply to [dave\_59](https://verificationacademy.com/forums/t/getting-max-run-time-error/38178/3):_

terminate called after throwing an instance of ‘RmiSupport::OperationAbortedException’  
what(): Rmi operation aborted

tell me meaning of this error

---

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [October 7, 2020, 6:54am UTC](https://verificationacademy.com/forums/t/getting-max-run-time-error/38178/5 "2020-10-07T06:54:50Z")

</div>

_In reply to [meenakshi bommu](https://verificationacademy.com/forums/t/getting-max-run-time-error/38178/4):_

You must be editing your playground since posting. I’m getting compiler errors at the moment.

Notwe that you have a fairly big design and EDAPlayground is meant for experimenting with small pieces of code.

---

<div class="post-metadata">

**Author:** ![chr\_sue](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/chr_sue/32/1199_2.png) [@chr\_sue](https://verificationacademy.com/forums/u/chr_sue)\
**Post date:** [October 8, 2020, 6:42am UTC](https://verificationacademy.com/forums/t/getting-max-run-time-error/38178/6 "2020-10-08T06:42:56Z")

</div>

_In reply to [meenakshi bommu](https://verificationacademy.com/forums/t/getting-max-run-time-error/38178/5):_

> _In reply to [dave\_59](https://verificationacademy.com/forums/t/getting-max-run-time-error/38178/5):_  
> terminate called after throwing an instance of ‘RmiSupport::OperationAbortedException’  
> what(): Rmi operation aborted  
> tell me meaning of this error

I mad a few minor corrections in you code and it works perfectly. There is not run time error etc.  
Some simulators are tolerating weaknesses in your code.  
Please see here:

> **[EDA Playground](https://www.edaplayground.com/x/jWf9)**
>
> Edit, save, simulate, synthesize SystemVerilog, Verilog, VHDL and other HDLs from your web browser.

---

<div class="post-metadata">

**Author:** ![meenakshi\_bommu](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/m/f0a364/32.png) [@meenakshi\_bommu](https://verificationacademy.com/forums/u/meenakshi_bommu)\
**Post date:** [October 8, 2020, 10:44am UTC](https://verificationacademy.com/forums/t/getting-max-run-time-error/38178/7 "2020-10-08T10:44:13Z")

</div>

_In reply to [chr\_sue](https://verificationacademy.com/forums/t/getting-max-run-time-error/38178/6):_

> _In reply to [meenakshi bommu](https://verificationacademy.com/forums/t/getting-max-run-time-error/38178/6):_  
> I mad a few minor corrections in you code and it works perfectly. There is not run time error etc.  
> Some simulators are tolerating weaknesses in your code.  
> Please see here:  
> [scob\_axi\_single\_if\_env(ast&incr&wrap&q(fxed))(1) - EDA Playground](https://www.edaplayground.com/x/jWf9)

plz let me know the what changes u did ??? and same link if change tool simulator to aldec again thats showing rmi support error and also can i know reason of that error plz

---

<div class="post-metadata">

**Author:** ![chr\_sue](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/chr_sue/32/1199_2.png) [@chr\_sue](https://verificationacademy.com/forums/u/chr_sue)\
**Post date:** [October 8, 2020, 11:27am UTC](https://verificationacademy.com/forums/t/getting-max-run-time-error/38178/8 "2020-10-08T11:27:57Z")

</div>

_In reply to [meenakshi bommu](https://verificationacademy.com/forums/t/getting-max-run-time-error/38178/7):_

I was including in a package the import uvm\_pkg/include uvm\_macros.svh. This might not be necessary when using another simulator.  
The wron code line was in the file slave\_seq.sv line 71. You do not pass enough varaibles to the $display command.  
I see the error message using Aldec. This message comes out of the simulator. It might be caused by doing a pop on an empty queue. See the warnings prior to the error message.
