Fix --timing with --x-initial-edge (#6603) (#6631)

Signed-off-by: Krzysztof Bieganski <[email protected]>
This commit is contained in:
Krzysztof Bieganski
2025-11-03 09:39:23 -05:00
committed by GitHub
parent faaa2db844
commit 0eaa9ed144
3 changed files with 36 additions and 0 deletions
+5
View File
@@ -80,6 +80,11 @@ void VlDelayScheduler::resume() {
}
if (!resumed) {
if (m_context.time() == 0) {
// Nothing was scheduled at time 0, but resume() got called due to --x-initial-edge
return;
}
VL_FATAL_MT(__FILE__, __LINE__, "",
"%Error: Encountered process that should've been resumed at an "
"earlier simulation time. Missed a time slot?\n");