mirror of
https://github.com/verilator/verilator.git
synced 2025-04-04 19:52:39 +00:00
Commentary: Fix typo in the call condition of designp->nextTimeSlot() (#4912)
This commit is contained in:
parent
cfb73923bd
commit
c3ff52208a
@ -76,6 +76,7 @@ James Shi
|
||||
Jamey Hicks
|
||||
Jamie Iles
|
||||
Jan Van Winkel
|
||||
Jiangjie Weng
|
||||
Jean Berniolles
|
||||
Jeremy Bennett
|
||||
Jesse Taube
|
||||
|
@ -500,7 +500,7 @@ the user should call:
|
||||
any delayed events pending,
|
||||
* :code:`designp->nextTimeSlot()`, which returns the simulation time of the
|
||||
next delayed event. This method can only be called if
|
||||
:code:`designp->nextTimeSlot()` returned :code:`true`.
|
||||
:code:`designp->eventsPending()` returned :code:`true`.
|
||||
|
||||
Call :code:`eventsPending()` to check if you should continue with the
|
||||
simulation, and then :code:`nextTimeSlot()` to move simulation time forward.
|
||||
|
Loading…
Reference in New Issue
Block a user