diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2022-01-28 12:15:14 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2022-01-28 12:15:14 +0100 |
commit | 7101df62f8e0eca91b5bec7f2e2e72fbb3f33193 (patch) | |
tree | 2f25e9ff3ddf6166717908a12c5afc03ef4f274c | |
parent | 3e35de2be108b7d8b24808aa55a0f0f9f8570705 (diff) | |
download | yosys-7101df62f8e0eca91b5bec7f2e2e72fbb3f33193.tar.gz yosys-7101df62f8e0eca91b5bec7f2e2e72fbb3f33193.tar.bz2 yosys-7101df62f8e0eca91b5bec7f2e2e72fbb3f33193.zip |
Fix for limit_range_end when not writing vcd
-rw-r--r-- | libs/fst/fstapi.cc | 9 |
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]) { |