• 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. how to connect a method port to a specific overloaded function...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 64
  • Views 12895
  • 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

how to connect a method port to a specific overloaded function in systemc block

archive
archive over 17 years ago

There are two overloaded functions put(a : type A) and put(b : type B) in systemc. one method port is created to connect to put(a : type A). When compiling, the ncsc report error. The ncsc.log is attached. Can anyone please tell me how to solve this problem? Thanks.


Originally posted in cdnusers.org by twk1156
log.tar
  • Cancel
  • archive
    archive over 17 years ago

    Define two method type coresponding to two overloaded put functions.
    Declare two method port using two method types
    Write two type convertor
    for each method port, add constraint for hdl_convertor() for the argument.


    Originally posted in cdnusers.org by twk1156
    • 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