Forum Discussion

alexislms's avatar
alexislms
Icon for Contributor rankContributor
1 year ago

get_ports of entity-bound returns TOP level ports

I have an SDC file to constraint instances

set_global_assignment -name SDC_ENTITY_FILE cdc_handshake.sdc -entity cdc_handshake

set ports [get_ports * -nocase]
foreach_in_collection port $ports {
set name [get_port_info -name $port]
puts "$name"
}
returns all the ports of the TOP level, not the ports of the instance
How to get the ports of the instance?
Same results with get_clocks but get_cells correctly returns only cells of the instance.

4 Replies

  • sstrell's avatar
    sstrell
    Icon for Super Contributor rankSuper Contributor

    You probably need to add -hierarchical to get_ports. Otherwise you can also do *|*|* etc. to get to the level you want.

  • RichardT_altera's avatar
    RichardT_altera
    Icon for Super Contributor rankSuper Contributor

    Hi,


    May I know if the issue has been resolved and if you still need help with this case?


    Regards,

    Richard Tan


  • RichardT_altera's avatar
    RichardT_altera
    Icon for Super Contributor rankSuper Contributor

    We noticed that we haven't received a response from you regarding the latest previous question/reply/answer, and will now transitioning your inquiry to our community support. We apologize for any inconvenience this may cause and we appreciate your understanding.


    If you have any further questions or concerns, please don't hesitate to reach out. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support.


    The community users will be able to help you on your follow-up questions.


    Thank you for reaching out to us!


    Best Regards,

    Richard Tan