Ovm_pool

Hi all,
does anyone know how to used ovm_pool,
im trying to create a test in scoreboard.
so my intention is to grap each transaction object that seen in tlm_fifo and store it in ovm_pool for future testing. could anyone please share anycode for basic store and get data when using ovm_pool. and maybe example that can tag the transaction before store in ovm_pool should be nice. hope any advance user can help on this.

regards
rhussin

The ovm_pool is effectively global within the OVM. You only need to use ovm_pool if you are sharing the transaction objects with another component.

If you are doing all the checking within the scoreboard component, then I’d suggest using one of the built-in SV array data types such as a queue, an associative array, or a dynamic array. This is more straight-forward and carries less overhead than using the ovm_pool.

In reply to mperyer:

Hi mperyer,
thanks for clarification,
when study about ovm_pool, its something that i need to include in scoreboard.
but when its come to sharing with others component and give more overhead to simulation. then i guess no need to use the ovm_pool for now.

regards
rhussin