Home > Community > Forums > Logic Design > finding latches i design

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 finding latches i design  

Last post Sun, Mar 25 2007 10:08 PM by archive. 4 replies.
Started by archive 25 Mar 2007 10:08 PM. Topic has 4 replies and 1322 views
Page 1 of 1 (5 items)
Sort Posts:
  • Sun, Mar 25 2007 10:08 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    finding latches i design Reply

    how to find latches in rc


    Originally posted in cdnusers.org by shalini
    • Post Points: 0
  • Mon, Mar 26 2007 2:18 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: finding latches i design Reply

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


    Originally posted in cdnusers.org by Stalker
    • Post Points: 0
  • Fri, Apr 13 2007 2:35 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: finding latches i design Reply

    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
    • Post Points: 0
  • Fri, Apr 13 2007 7:06 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: finding latches i design Reply

    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
    • Post Points: 0
  • Tue, Apr 17 2007 3:57 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: finding latches i design Reply

    Shalini,

    Please try this :

    filter latch true [find / -instance *]

    Anup.


    Originally posted in cdnusers.org by avarma
    • Post Points: 0
Page 1 of 1 (5 items)
Sort Posts:
Started by archive at 25 Mar 2007 10:08 PM. Topic has 4 replies.