# Uvm\_tlm\_fifo

**URL:** <https://verificationacademy.com/forums/t/uvm-tlm-fifo/30793>\
**Category:** UVM\
**Tags:** TLM-FIFO-related, System-Verilog, UVM\
**Created:** [June 29, 2015, 10:37am UTC](https://verificationacademy.com/forums/t/uvm-tlm-fifo/30793 "2015-06-29T10:37:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![logie](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/l/74df32/32.png) [@logie](https://verificationacademy.com/forums/u/logie)\
**Post date:** [June 29, 2015, 1:21pm UTC](https://verificationacademy.com/forums/t/uvm-tlm-fifo/30793/2 "2015-06-29T13:21:49Z")

</div>

The constructor for the TLM fifo has a size argument. The default size is ‘1’. But you can set it to whatever you want. A size of 0 implies no upper bound

Here is the portion of the source file.

// Function: new  
//  
// The ~name~ and ~parent~ are the normal uvm\_component constructor arguments.  
// The ~parent~ should be null if the \<uvm\_tlm\_fifo\> is going to be used in a  
// statically elaborated construct (e.g., a module). The ~size~ indicates the  
// maximum size of the FIFO; a value of zero indicates no upper bound.

function new(string name, uvm\_component parent = null, int size = 1);

---

_[View the full topic](https://verificationacademy.com/forums/t/uvm-tlm-fifo/30793)._
