Semaphore in SystemVerilog: get(), put() and try_get(), Tested in One UVM Bench
How a SystemVerilog semaphore works: new(keys), get(), put() and try_get(), as a mutex and as a pool. One tested UVM bench, real VCS output, and the traps.
How a SystemVerilog semaphore works: new(keys), get(), put() and try_get(), as a mutex and as a pool. One tested UVM bench, real VCS output, and the traps.