Monitor the toggling of interface siganls

Hello,

I have bunch of signals in interface ,need to create a print task in a class which takes interface as an argument ,task is used to print the signal when any signal values changes from 0 to 1 throughout simulation

In reply to dddvlsique:

There is no way to do this within SystemVerilog unless you know the exact names of all the signals in the interface that you want to monitor.

If this is just for debugging, there are usually ways of doing this, but that is going to be tool specific.