I am running an RTL simulation with an embeddd CPU and some encryption logic.
The CPU runs some codes to check the result of encryption logic and can run hours or days.
My idea is to let the CPU control when to dump waveforms, likely when some conditions are met in the logic. Then stop when the conditon elapses.
How should I do that?