Hi all,
I want to know if there is a way to exit the await_completion method.
This is the scenario:
I have a DUT with a GPIO and a VVC that checks this GPIO. In my TB I have a process for generate stimulus for the DUT and a process with the GPIO check.
For the check I use a process with the following VVC method:
- gpio_expect(GPIO_VVCT,…) with time out 200 us
- await_completion(GPIO_VVCT,…) with time out 100 us
- others check steps
For the stimulus after perform some steps I need to assert a reset for the DUT. This reset will cause a time out in the await_completion but this is a predictable behaviour that should not trigger a timeout.
So the question, is there a way to exit the await_completion method without wait the timeout?
I tried with the
- terminate_all_commands(GPIO_VVCT,…)
before asserting the reset in the stimulus process but this do not cause an exit from the await_completion method.
Thanks
Emanuele