I have a single clock to monitor, I need to detect stable frequencies and glitches using Assertion

In reply to javatea:

Thanks for the response. However I have no knowledge of expected pulse width. I only can monitor a clock, look when it first provides N stable pulse widths, consider that first stable frequency, look for switching with irregular pulse widths and then look for N stable pulse width again. Next compare first middle and last frequencies to see if it glitched.