Fix for limit_range_end when not writing vcd

This commit is contained in:
Miodrag Milanovic 2022-01-28 12:15:14 +01:00
parent 3e35de2be1
commit 7101df62f8
1 changed files with 9 additions and 0 deletions

View File

@ -5198,6 +5198,15 @@ int fstReaderIterBlocks2(void *ctx,
}
previous_time = time_table[i];
}
} else {
if (time_table[i] != previous_time) {
if (xc->limit_range_valid) {
if (time_table[i] > xc->limit_range_end) {
break;
}
}
previous_time = time_table[i];
}
}
while (tc_head[i]) {