UVM TLM Interview Questions

Questions on Transaction Level Modeling ports and FIFOs.

Beginner Level

What is a TLM Port vs Export?

Port: The Caller. Initiates the transfer (has the `put()` call).

Export: The Callee. Provides the implementation (has the `put()` function definition, or connects to one).

Advanced Level

How do you connect a Port to an Export in hierarchy?

Use `component.port.connect(component.export)`. For Child-to-Parent (Promotion), connect Child Port to Parent Port. For Parent-to-Child (Demotion), connect Parent Export to Child Export.

What is `uvm_tlm_analysis_fifo`?

Supports the `analysis_export` (write interface). It turns a write broadcast into a stored FIFO buffer. Infinite writes allowed.