• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Functional Verification
  3. Transaction level modelling ?

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 64
  • Views 16370
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Transaction level modelling ?

archive
archive over 18 years ago

Hi , I have confusion regarding transaction level modelling.can someone explain it with an example? what exactly is transaction level modelling & how it can be achieved using system verilog? -thanks -Manmohan


Originally posted in cdnusers.org by mssajwan
  • Cancel
  • archive
    archive over 18 years ago

    Transaction-level models (TLMs) are architecture models that exchange transactions, i.e. abstract data structures, instead of signals. This means that instead of having to toggle hundreds of signals to perform a data write on a bus, this operation is encapsulated in a data structure and communicated to an abstract representation (TLM) of the bus, hence completing the transaction a lot faster, but sacrificing at the same time a certain degree of accuracy.

    TLMs are mostly used for rapid prototyping, performance analysis and could serve as "golden" models for your RTL verification. There are usually several abstraction levels for implementing a TLM according to your needs, such as un-timed models, cycle-accurate and even pin-accurate models. The more elaborate the abstraction layer, the more simulation time it will consume, so the performance can end up being comparable to RTL simulation.

    To implement TLM, it is usually not a question of language, as most modern languages support this, but a question of methodology. Ideally, you would want to transition from the TLM environment to a RTL environment, simply by adding BFMs and monitors that translate the transactions from/to signals, while keeping the rest of the environment intact. uRM offers a lot of information on how to achieve this, even in mixed-language environments.


    Originally posted in cdnusers.org by iraklis
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 18 years ago

    Hi Iraklis.

    thanks for sharing the info. can you please add one example if possible.


    -Manmohan


    Originally posted in cdnusers.org by mssajwan
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 18 years ago

    Hi Manmohan,

    I am not aware of a SystemVerilog TLM example, but the Incisive Plan to Closure Methodology (IPCM) offers a TLM example in SystemC, which you might find interesting as a starting point. Apart from useful documentation, you will also find extensive code examples that highlight the TLM principles. If possible, I strongly recommend you to consider SystemC as a modeling language, as it was designed purely for that purpose.

    If anyone is aware of a SystemVerilog TLM example, please let us know.


    Originally posted in cdnusers.org by iraklis
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 18 years ago

    Posted By iraklis on 3/06/2007 12:40 AM
    Hi Manmohan,

    I am not aware of a SystemVerilog TLM example, but the Incisive Plan to Closure Methodology (IPCM) offers a TLM example in SystemC, which you might find interesting as a starting point. Apart from useful documentation, you will also find extensive code examples that highlight the TLM principles. If possible, I strongly recommend you to consider SystemC as a modeling language, as it was designed purely for that purpose.

    If anyone is aware of a SystemVerilog TLM example, please let us know.

    Given the features of SV, I believe we can do TLM in SV as well. Mentor's AVM cookbook has several examples for it.

    On the IPCM - if SystemC TLM is available, how hard is it to translate it to SV version? Perhaps it may not yhet compile in all tools, but that's not a language issue rather tool issue.

    Ajeetha, CVC
    www.noveldv.com


    Originally posted in cdnusers.org by ajeetha
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 17 years ago

    Hi...........

    Can we write TLM in 'e' language?
    Or we can write only signal level model in 'e' using BFM.

    Thanks!


    Originally posted in cdnusers.org by vlsi_dude
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 17 years ago

    Hello,

    You can build a transaction-level model in any high-level structured programming language, including e, SystemVerilog, SystemC, C/C++ and more.

    A transaction level model is usually a high-speed model that trade-offs speed for cycle accuracy to analyze system-level performance and features. Therefore there isn't a need to build signal level drivers, monitors. The components exchange data using a function call passing objects and synchronizing on high-level system events.

    Users have built transaction level models in e for years mainly for verification (separating data generation, scoreboaring, coverage, from pin-level drivers monitors) as well as for modeling systems. This is the methodology that eRM and now OVM recommends for structuring a verification environment for modularity and reuse.

    In OVM, there is also a TLM api provided to assist with data exchange between components using well defined semantics. For example, blocking/non-blocking requests of data, 0-time broadcast of data, FIFO, etc.

    You can find a couple of TLM examples in OVM distribution in ovm-1.1/examples/tlm. You can get this distribution at http://www.ovmworld.org/downloads.php.

    Thanks,

    Umer


    Originally posted in cdnusers.org by umer
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information