sigrokproject / pulseview

Read-only mirror of the official repo at git://sigrok.org/pulseview. Pull requests welcome. Please file bugreports at sigrok.org/bugzilla.
http://sigrok.org/wiki/PulseView
GNU General Public License v3.0
487 stars 157 forks source link

Edge Counter not counting last pulse before reset #79

Open SukkoPera opened 1 week ago

SukkoPera commented 1 week ago

Hi, I think I have found a bug in the Counter decoder: it is not counting the last pulse before the counter is reset: image

This is counting rising edges of the bottom waveform, resetting on rising edges of the top one. I would expect the count to be 10, with the very last rising edge (the one that is ending the 9th pulse) being included in the count.