Hi,
I need to write driver which is not sync with clock. I should change my slave signals based on signals that master drives. Master drives MCmd, MData and MAddr. My slave should react on any change on any of those signals. I cannot write @(posedge). How I am supposed to write in my slave driver to wait for any change on some of those signals?
Thanks
In reply to d995:
I do not believe your slave works asynchronous while your master is synchronous.
You should also synchronize on your clock.
In reply to d995:
Waiting any change of the signal, you can use:
@(signal);
You can also use “wait” statement to wait for any particular value of the signal.
wait(signal === some-value);
But again, as @ch_sue mentioned, you should review to make sure you are using a correct approach.