We are using Simvision for our waveform viewer, which I think it quite similar to ModelSim. I am trying to count all the edges on a signal between two time cursors. Normally this is very easy, I just click the count button and it tells me the number, but in my simulation I have a bunch of 'zero-width pulses' so its causing the count to be very high. In the screenshot, I am counting the edges on the signal coloured in magenta and you can see the count is 14, but I want it to count the actual 7 edges:
I am wondering if there is a way to not count the zero width pulses, maybe creating a signal with the expression calculator?
Thanks in advance!