diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2022-02-04 10:01:06 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2022-02-04 10:01:06 +0100 |
commit | 6db23de7b13c57eb82489d4bf2f0658b6deb4488 (patch) | |
tree | 4e1affec5076888ef58109d4eaaa508d3d2d8005 /kernel | |
parent | 7ef6da4c7d418b53ea2868ea452a856cfb2d5b21 (diff) | |
download | yosys-6db23de7b13c57eb82489d4bf2f0658b6deb4488.tar.gz yosys-6db23de7b13c57eb82489d4bf2f0658b6deb4488.tar.bz2 yosys-6db23de7b13c57eb82489d4bf2f0658b6deb4488.zip |
bug fix and cleanups
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/fstdata.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fstdata.cc b/kernel/fstdata.cc index 17498c4ee..0b62564f6 100644 --- a/kernel/fstdata.cc +++ b/kernel/fstdata.cc @@ -174,7 +174,7 @@ static void reconstruct_clb_attimes(void *user_data, uint64_t pnt_time, fstHandl void FstData::reconstruct_callback_attimes(uint64_t pnt_time, fstHandle pnt_facidx, const unsigned char *pnt_value, uint32_t /* plen */) { - if (sample_times_ndx > sample_times.size()) return; + if (sample_times_ndx >= sample_times.size()) return; uint64_t time = sample_times[sample_times_ndx]; // if we are past the timestamp |