• 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. Custom IC SKILL
  3. How to fix the CDF termOrder mismatch

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 143
  • Views 22786
  • 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

How to fix the CDF termOrder mismatch

twen
twen over 9 years ago

When I add, delete, or rename a pin in the schematic or the symbol view, the netlister will complaint about this:

WARNING (ADE-6004): Mismatch was found between the terminals in the cellView and those on the
           termOrder property on the CDF. Because of the mismatch, the CDF termOrder will
           be ignored. The terminals in the cellView will be netlisted in the alphabetical
           order of their names. Eliminate the mismatch if you want the CDF termOrder
           property to be used for netlisting.

This is produced from IC6.1.6-64b.500-12.

Here is the SKILL code that I created to fix the termOrder mismatch problem:

/* twen
 * 2016-02-09
 * Eg: twFixTermOrder("mylib")
 *     twFixTermOrder("mylib" "mycell")
 */
procedure(twFixTermOrder(lib @optional (cell nil))
    let((oldAutoCtl libId cellId cellIds)
        ;; Save the prompting and automatic check-in and check-out controls
        oldAutoCtl = ddAutoCtlGetVars()
        ;; Do not prompt the user to check-in or check-out
        ddAutoCtlSetVars(0 0 3 3)
        
        when(libId=ddGetObj(lib)
            ;; If no cell name is specified, then fix all cells in the lib
            if(cell cellIds=list(ddGetObj(lib cell)) cellIds=libId->cells)
            foreach(cellId cellIds
                when(ddGetObj(lib cellId->name "schematic")
                    printf("Updating the CDF termOrder for %s/%s \n" lib cellId->name)
                    artGenerateHierSymbolCDF(dbOpenCellViewByType(lib cellId->name "schematic") t)
                )
            )
        )
        ;; Restore the prompting and automatic check-in and check-out controls
        apply(`ddAutoCtlSetVars oldAutoCtl)
    )
)

I'd like to add a feature to fix the termOrder for cells within a particular category. Any comments are welcomed!

TJ

  • Cancel
Parents
  • twen
    twen over 9 years ago

    Hi, Andrew,

    Thank you very much for the envSetVal suggestion which is the best and the simplest one to get rid of this problem in the future. I think my code can still be used to fix the existing termOrder mismatch problem. I will set this env var as well so it can prevent a simulation from running with existing cells with this problem.

    envSetVal("asimenv.netlist" "updateCDFtermOrder" 'bool t)

    Is there a SKILL function to check if a cell or a lib has the termOrder mismatch problem? It would be nice to see which cells have this problem before I blindly fix them in a lib.


    TJ

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • twen
    twen over 9 years ago

    Hi, Andrew,

    Thank you very much for the envSetVal suggestion which is the best and the simplest one to get rid of this problem in the future. I think my code can still be used to fix the existing termOrder mismatch problem. I will set this env var as well so it can prevent a simulation from running with existing cells with this problem.

    envSetVal("asimenv.netlist" "updateCDFtermOrder" 'bool t)

    Is there a SKILL function to check if a cell or a lib has the termOrder mismatch problem? It would be nice to see which cells have this problem before I blindly fix them in a lib.


    TJ

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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