Home > Community > Forums > Logic Design > RTL Compiler, Min Libraries and CPF

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: *

 RTL Compiler, Min Libraries and CPF 

Last post Sun, Nov 11 2012 11:44 AM by grasshopper. 3 replies.
Started by moogyd 19 Jul 2012 08:39 AM. Topic has 3 replies and 2537 views
Page 1 of 1 (4 items)
Sort Posts:
  • Thu, Jul 19 2012 8:39 AM

    • moogyd
    • Top 500 Contributor
    • Joined on Tue, Mar 23 2010
    • Posts 23
    • Points 385
    RTL Compiler, Min Libraries and CPF Reply

    Hi,

    For synthesis (RTL compiler) I define a worst case libraries read_cpf -libraries, and in the CPF I use

    define_library_set -name my_lib_set _librares {libA_slow.lib libB_slow.lib libC_worst.lib}

     i.e. I load multiple worst case librarie (there are actually about 15, from different vendors)

    I then export the CPF for the backedn. This works, but....

    My backend engineer  is complaining that the CPF file does not contain the min libraries.In principle, I just add then in the same way, but I need RTL compiler to ignore the min libraries.

    How do people usually manage this issue ?

    Thanks for suggestions/links

    Steven

     

    • Post Points: 35
  • Fri, Jul 20 2012 1:17 PM

    • grasshopper
    • Top 25 Contributor
    • Joined on Fri, Jul 18 2008
    • Chelmsford, MA
    • Posts 241
    • Points 3,200
    Re: RTL Compiler, Min Libraries and CPF Reply

     You have 2 choices. If using golden CPF as source to both RC and EDI, you can do

     . . .

    set_cpf_version 1.1

    define_library_set -name wcTim -libraries [concat $stdcell(timing,$pvt(cell,wcTim)) $memory(timing,$pvt(mem,wcTim))]
    define_library_set -name wcPow -libraries [concat $stdcell(timing,$pvt(cell,wcPow)) $memory(timing,$pvt(mem,wcPow))]

    if {[regexp -nocase {/(edi|encounter)$} [info nameofexecutable]]} {
        define_library_set -name bcTim      -libraries [concat $stdcell(timing,$pvt(cell,bcTim))  $memory(timing,$pvt(mem,bcTim))]
        define_library_set -name typ        -libraries [concat $stdcell(timing,$pvt(cell,typ))    $memory(timing,$pvt(mem,typ))]
    }
    . . .

    so certain library sets will only be enabled when read by tools of your choice

    If relying on RC generated CPF for downstream tools you can ready everything in and then in RC you can remove them or set avoids/dont_use in all cells from those set along the lines of

     

    set_attr avoid true *bcTim*/*

     

    gh-

     

    • Post Points: 5
  • Fri, Nov 9 2012 10:09 PM

    • Maheshnb
    • Not Ranked
    • Joined on Thu, Nov 1 2012
    • Posts 5
    • Points 85
    Re: RTL Compiler, Min Libraries and CPF Reply

     Hi steven ,

          I have a same type of problem,

    i have written a code for inverter chain and synthesized using slow and fast lib sepaerately,which represents slow path and fast path helpful in timing analysis.

    problem is how can i use this fast lib and slow lib together so that me inverter chain should select perticilar cells from slow lib for slow path and perticular cells from fast lib for fastpath simulataneously in the same module.

    Please help in this regard.

     

    mahesh

    9739436239

     

     

    • Post Points: 20
  • Sun, Nov 11 2012 11:44 AM

    • grasshopper
    • Top 25 Contributor
    • Joined on Fri, Jul 18 2008
    • Chelmsford, MA
    • Posts 241
    • Points 3,200
    Re: RTL Compiler, Min Libraries and CPF Reply

     The solution provided should address your issues. Please let us know if it does not and provide additiional information on the issue you are seeing. In the context of EDI, you can also provide timing information through your view definition. Remember synthesis only requires a subset of the information needed for signoff analysis in most cases so it is not unusual for the P&R and signoff steps to add additional information needed such as hold analysis libraries, noise margins, etc.

     

    gh-

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by moogyd at 19 Jul 2012 08:39 AM. Topic has 3 replies.