• 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 22790
  • 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

    envSetVal("asimenv.netlist" "updateCDFtermOrder" 'bool t) is not valid. Sorry for posting this before I try it out first. I was reading the Cadence Help version 02.10-p00:

        Virtuoso Analog Design Environment -> Virtuoso Analog Design Environment L User Guide -> Environment Variables -> ADE Simulation Environment .


    There are 2 updateCDFtermOrder env vars in this section and the second one does not say which tool it belongs.

    updateCDFtermOrder

    If set to t, ADE L will automatically update the CDF termOrder when symbol changes that affect the terminal order are made. This will display additional dialog boxes asking you to accept or reject the change to the CDF termOrder.

     
    Variable Type boolen
    Default Value nil
    Acceptable Values t, nil

    After I dumped all env vars, I still can not figure out which tool.partition I should use. Which tool.partition should I use?

    Thanks,
    TJ

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

    envSetVal("asimenv.netlist" "updateCDFtermOrder" 'bool t) is not valid. Sorry for posting this before I try it out first. I was reading the Cadence Help version 02.10-p00:

        Virtuoso Analog Design Environment -> Virtuoso Analog Design Environment L User Guide -> Environment Variables -> ADE Simulation Environment .


    There are 2 updateCDFtermOrder env vars in this section and the second one does not say which tool it belongs.

    updateCDFtermOrder

    If set to t, ADE L will automatically update the CDF termOrder when symbol changes that affect the terminal order are made. This will display additional dialog boxes asking you to accept or reject the change to the CDF termOrder.

     
    Variable Type boolen
    Default Value nil
    Acceptable Values t, nil

    After I dumped all env vars, I still can not figure out which tool.partition I should use. Which tool.partition should I use?

    Thanks,
    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