TLM - NISHUNISARGA/UVM_notes GitHub Wiki

Fundamentals of TLM

  • In SV we used the mailbox to communicate between the classes, but in uvm, we used the TLM which is easier than the mailbox.
  • To connect the sequencer and driver we have a special TLM port as seq_item_port
  • To connect the monitor and scoreboard we use the TLM port i.e, the uvm_analysis port

PORT: The Port is the component that initiates the transactions, referred to as the initiator.

     The port is referred to using the square symbol.

Export: The export is the component that receives the transactions referred to as the responder.

       The export is referred to using the circle symbol.

  • consider there are 2 components A and B.
  • where A acts as initiator and B acts as responder.
  • now we will have 2 scenarios: - Control Flow: CF will show which component is initiating the txs and the direction request. - Data Flow: DF will show how data flows between the components.