aboutsummaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2022-01-28 12:15:14 +0100
committerMiodrag Milanovic <mmicko@gmail.com>2022-01-28 12:15:14 +0100
commit7101df62f8e0eca91b5bec7f2e2e72fbb3f33193 (patch)
tree2f25e9ff3ddf6166717908a12c5afc03ef4f274c /libs
parent3e35de2be108b7d8b24808aa55a0f0f9f8570705 (diff)
downloadyosys-7101df62f8e0eca91b5bec7f2e2e72fbb3f33193.tar.gz
yosys-7101df62f8e0eca91b5bec7f2e2e72fbb3f33193.tar.bz2
yosys-7101df62f8e0eca91b5bec7f2e2e72fbb3f33193.zip
Fix for limit_range_end when not writing vcd
Diffstat (limited to 'libs')
-rw-r--r--libs/fst/fstapi.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/fst/fstapi.cc b/libs/fst/fstapi.cc
index 3ceafb109..0b8f49146 100644
--- a/libs/fst/fstapi.cc
+++ b/libs/fst/fstapi.cc
@@ -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]) {