Hi,
I have a code triggering an uvm_event and right after it resets this event, inside a function.
What is achieved by this trigger() + reset() right after?
Will the waiting process detect this event occurrence?
function void IRQReturn(input string a_irq_name, ref uvm_object a_obj);
uvm_event _irq_ev;
int _status;
_irq_ev = ev_pool.get(a_irq_name);
if (a_obj != null) begin
_status = isr_mbx[a_irq_name].try_put(a_obj);
end
_irq_ev.trigger();
_irq_ev.reset();
`uvm_info(get_type_name(), $sformatf("Trigger_event for IRQ_name: %s", a_irq_name), UVM_HIGH)
endfunction : IRQReturn
Thanks,
Michael