Strategy to monitor single signals

In reply to mago1991:

Hi,
Let`s say we have some interrupt signal that changes without any rules (no protocol).
This signal should be compared with the reference signal in the SB.
What is the correct way to monitor it ?

  1. every clock? using @(posedge clk) ?
    This way I feel I`m writing to much unnecessary transactions to SB.
  2. every change in the signal? using @(signal_x)
    This way seems to be unsafe.
    Thanks

I believe it is useless to compare an interrupt signal in a scoreboard. If an interrupt has been detected you should start your interrupt routine to clear this interrupt. And also an iterrupt follows a certain protocol. But we might not be able predict the exact appearance time.

If you are looking to the change of single signals you can simply use SV assertions.
In general functional interfaces like buses etc. do not contain only exactly 1 signal. They have more and you have to evaluate all of them in the right way.