• 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. BFM written in class has to interface with phy signals

Stats

  • Locked Locked
  • Replies 16
  • Subscribers 65
  • Views 22721
  • 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

BFM written in class has to interface with phy signals

archive
archive over 18 years ago

Hi,

I'm new to systemverilog ..and using NCVLOG...and i'm trying interface my BFM modelled using classes with the interface (phy signals)...cadence is not supporting keyword virtual to do this...can anyone help me on how to do this....i want to keep my classes in a separate file...and the top module in a separate file....also have trouble calling the top module from program file....please help ASAP 

Cheers


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

    1) I cannot see the class hierarchy from TCL. Therefore, you can't deposit onto a class property. The only thing I can think of off the top of my head is to create local variables that you can deposit onto and then connect those variable to the corresponding class properties. Or if you're able, you can make the class properties static which would make them available to TCL (deposit class_name::prop = 0).

    2) Our class-based implementation of URM is just going into limited production. If you want to learn more about it, you will need to contact your local sales or AE. However, we have had a number of successes with our module-based implementation. As you noticed, it uses module and interfaces to construct the environment but takes advantage of classes for generating the data. This has proved successful because it is very quick to implement a solution (can put together an env for a block in 1-2 days) and easy for users comfortable with Verilog to understand and debug.

    Since you are already reading URM, I would suggest implementing the same methodology but using classes in place of modules, mailboxes instead of the BFM interface and a virtual interface for the DUT interface. That will give you a very simplistic example of how our URM class-based implementation will work. However, the base class libraries that come with URM will give you much more automation and power than that simple example.

    Tim


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

    1) I cannot see the class hierarchy from TCL. Therefore, you can't deposit onto a class property. The only thing I can think of off the top of my head is to create local variables that you can deposit onto and then connect those variable to the corresponding class properties. Or if you're able, you can make the class properties static which would make them available to TCL (deposit class_name::prop = 0).

    2) Our class-based implementation of URM is just going into limited production. If you want to learn more about it, you will need to contact your local sales or AE. However, we have had a number of successes with our module-based implementation. As you noticed, it uses module and interfaces to construct the environment but takes advantage of classes for generating the data. This has proved successful because it is very quick to implement a solution (can put together an env for a block in 1-2 days) and easy for users comfortable with Verilog to understand and debug.

    Since you are already reading URM, I would suggest implementing the same methodology but using classes in place of modules, mailboxes instead of the BFM interface and a virtual interface for the DUT interface. That will give you a very simplistic example of how our URM class-based implementation will work. However, the base class libraries that come with URM will give you much more automation and power than that simple example.

    Tim


    Originally posted in cdnusers.org by tpylant
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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