• 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 22718
  • 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

    virtual interfaces will be supported in IUS61, due to be released next month (April). A workaround is to instantiate your interface and your class at the same level. In the class create a task that can receive a class or struct argument. Then you can collect the signals values from the interface into a class or struct and pass it into the class via the task. You could also do this via a mailbox. You would pass the mailbox into the class similar to the virtual interface. Although mailboxes aren't natively supported yet (also supported in IUS61), there is a mailbox class that has the same functionality. You can get a copy at http://www.cdnusers.org/Forums/tabid/52/view/topic/forumid/66/postid/2739/Default.aspx.


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

    virtual interfaces will be supported in IUS61, due to be released next month (April). A workaround is to instantiate your interface and your class at the same level. In the class create a task that can receive a class or struct argument. Then you can collect the signals values from the interface into a class or struct and pass it into the class via the task. You could also do this via a mailbox. You would pass the mailbox into the class similar to the virtual interface. Although mailboxes aren't natively supported yet (also supported in IUS61), there is a mailbox class that has the same functionality. You can get a copy at http://www.cdnusers.org/Forums/tabid/52/view/topic/forumid/66/postid/2739/Default.aspx.


    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