I wanted to create a Monitor.Monitor will take all the interrupts from RTL .Say there are 5 interrupts INT1,INT2,INT3,INT4,INT5
When INT1 is Raised.I should raise Objection. It should display "INT1 Objection Raised"
When INT1 is dropped I shouidl drop objection. dispaly "INT1 Objection Dropped"
At the end of testcase , Say if INT2 is not dropped it should display
INT2 Objection didnot dropped.
I am using like this
class monitor extends ovm_monior
forever @(posedge INT1) ovm_test_done.raise_objection(this);
forever @(negedge INT1) ovm_test_done.drop_objection(this);
Read more →