• 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. accessing/quering value of simple_port using Reflection...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 65
  • Views 707
  • 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

accessing/quering value of simple_port using Reflection API

sgor
sgor over 16 years ago

Hi,

Is it possible to access/query the value of all the external simple_ports of a unit using reflection API?

Or is it possible to get the hdl_path() of all the external simple_port of a unit using reflection API?

I tried to search it in sn_usage.pdf document, but I could not find this info there.

 

Regards,

Sandeep.

  • Cancel
  • hannes
    hannes over 16 years ago

    Hello Sandeep,

    yes it is possible to get details from simple_ports (or from any port for that matter) using reflection.
    There is an attribute called port.full_hdl_path(), which you can query using the reflection facility. Attached
    is an example utility, which checks that the hdl path of all ports actually exists in the HDL hierarchy
    (this only works with SN+IUS). In the source code you will find that it traverses the e unit hierarchy and
    find all ports. Then it gets the relevant attribute and does some comparison. If you need some other
    details, please let me know.

    Regards,
    -hannes

    chk_ports_util_01.zip
    • 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