Assertion to check stability of a signal for 'n' clocks

In reply to nimitz_class:
You’re saying compiler is throwing an error saying ‘repetition operator not allowed in multi-clocking sequence’
I don’t see that with 2 simulators.
Edit code - EDA Playground // some modified code here
It looks like you may have a tool issue.
From a language point of view, ‘repetition operator is allowed in multi-clocking sequence’.
You’ll need to contact your vendor.
Ben