• 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. Logic Design
  3. finding latches i design

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 61
  • Views 14802
  • 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

finding latches i design

archive
archive over 18 years ago

how to find latches in rc


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

    set rpt report_latches.rpt
    foreach instance [::all::all_seqs -level_sensitive] {
    echo [vname $instance] {>>} $rpt
    }


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

    Hi Shalini,

    There is a latch for that in RC:

    foreach instance [ find /designs -instance *] {
    if { [get_attribute latch $instance] == true} {
    ... this is a latch
    }
    }


    Regards,
    Eng Han


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

    Hi Shalini,

    as Stalker alluded to, my preference would be something like

    > foreach latchInst [all des seqs -level_sensitive] { puts "[vname $latchInst]" }

    This is one of the commands (all des . . .] this I use extensively in my scripts
    Note that the vname is up to you but if it is for a report you probably want
    the true hierarchy as opposed to RC's funny long name

    gh-


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

    Shalini,

    Please try this :

    filter latch true [find / -instance *]

    Anup.


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