How to use the arguments of two different sequences for comparing in a third sequence using Assertions?

In reply to rajan passionate:
I don’t have the time to debug it for you, as it is too specific.
Some general comments though about your style:

  • You use too many sequence declarations
  • Don’t fire tasks from sequence_match_items; they consume no time in the assertion,
  • For sequence_match_items, you can use functions.
  • If you are using the properties once, and do not use local variables avoid using property declarations; they make the code harder to follow.

Ben http://SystemVerilog.us