The systemverilog semaphore is really half baked.
I could not find any way to release the semaphores in case of a reset, something like .flush() for uvm_tlm_fifo?
There is also no method to know how many semaphores are locked?
Is there some wrapper available in UVM something like uvm_event which extends the basic semaphore functionality?
People suggested me to use mailbox/tlm_fifo for more functionality, but i could not find an alternate to semaphore for allocating more than 1 keyCount.
If anyone has any suggestions please let me know.
Thanks in advance.