• 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 Design
  3. auCdl netlist subckt missing parameters

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 126
  • Views 15412
  • 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

auCdl netlist subckt missing parameters

Paulux
Paulux over 14 years ago

Hi,
In auCdl netlist generation, I want to generate the netlist shown below
XI1 net16 gnd! / rnpoly2 rl=20 rw=2
.SUBCKT rnpoly2 MINUS PLUS rl=2 rw=2
RR0 PLUS MINUS 190*rl/(rw-6.2e-3) $[NS] $W=rw $L=rl
.ENDS

But the generated CDL out file (File->Export->CDL) is
XI1 net16 gnd! / rnpoly2 M=1
.SUBCKT rnpoly2 MINUS PLUS rl=2 rw=2
RR0 PLUS MINUS 190*rl/(rw-6.2e-3) $[NS] $W=rw $L=rl
.ENDS

The auCdl setting is given below
cdfId->simInfo->auCdl = '( nil
dollarEqualParams nil
dollarParams nil
netlistProcedure ansCdlSubcktCall
instParameters (rl rw m)
componentName rnpoly
termOrder (PLUS MINUS)
propMapping (nil L rl W rw)
namePrefix "X"
modelName "rnpoly"

Details can be found below
The cdf file is attached for reference

Thank you in advance for your help

The CDF settings are

let( ( libId cellId cdfId )
    unless( cellId = ddGetObj( LIBRARY CELL )
        error( "Could not get cell %s." CELL )
    )
    when( cdfId = cdfGetBaseCellCDF( cellId )
        cdfDeleteCDF( cdfId )
    )
    cdfId  = cdfCreateBaseCellCDF( cellId )

    ;;; Parameters
    cdfCreateParam( cdfId
        ?name           "model"
        ?prompt         "Model name"
        ?defValue       "rnpoly"
        ?type           "string"
        ?display        "t"
        ?editable       "nil"
        ?parseAsCEL     "yes"
    )
    cdfCreateParam( cdfId
        ?name           "macro"
        ?prompt         "Hspice Model name"
        ?defValue       "iPar(\"model\")"
        ?type           "string"
        ?display        "nil"
        ?editable       "nil"
        ?parseAsCEL     "yes"
    )
    cdfCreateParam( cdfId
        ?name           "macroArgumentStyle"
        ?prompt         "macro arg style"
        ?defValue       "hspiceS"
        ?type           "string"
        ?display        "nil"
        ?parseAsCEL     "yes"
    )
    cdfCreateParam( cdfId
        ?name           "r"
        ?prompt         "Resistance"
        ?units          "resistance"
        ?defValue       "190"
        ?type           "string"
        ?editable       "cdfgData->entryMode->value == \"Resistance&Width\""
        ?callback       "preswl_1Si()"
        ?parseAsNumber  "yes"
        ?parseAsCEL     "yes"
    )
    cdfCreateParam( cdfId
        ?name           "tr"
        ?prompt         "Total resistance"
        ?units          "resistance"
        ?defValue       "190"
        ?type           "string"
        ?display        "deGetEditCellView()->cellViewType != \"maskLayout\""
        ?editable       "nil"
        ?parseAsNumber  "yes"
        ?parseAsCEL     "yes"
    )
    cdfCreateParam( cdfId
        ?name           "entryMode"
        ?prompt         "Entry Mode"
        ?defValue       "Length&Width"
        ?choices        '("Length&Width" "Resistance&Width")
        ?type           "cyclic"
    )
    cdfCreateParam( cdfId
        ?name           "rl"
        ?prompt         "Length"
        ?defValue       "2"
        ?type           "string"
        ?editable       "cdfgData->entryMode->value == \"Length&Width\""
        ?callback       "presr_1Si()"
        ?parseAsCEL     "yes"
    )
    cdfCreateParam( cdfId
        ?name           "rw"
        ?prompt         "Width"
        ?defValue       "2"
        ?type           "string"
        ?display        "artParameterInToolDisplay('w)"
        ?callback       "presr_1Si()"
        ?parseAsCEL     "yes"
    )
    cdfCreateParam( cdfId
        ?name           "m"
        ?prompt         "Multiplier"
        ?defValue       1
        ?type           "int"
        ?display        "deGetEditCellView()->cellViewType != \"maskLayout\""
        ?editable       "deGetEditCellView()->cellViewType != \"maskLayout\""
        ?callback       "presm_1Si()"
    )

  • Cancel
Parents
  • berndf
    berndf over 14 years ago

     I believe the issue is related to your propMapping.
    You do a "propMapping (nil L rl W rw)" in the auCdl simInfo, but
    in the parameter section you have defined "rl" and "rw".

    Bernd

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • berndf
    berndf over 14 years ago

     I believe the issue is related to your propMapping.
    You do a "propMapping (nil L rl W rw)" in the auCdl simInfo, but
    in the parameter section you have defined "rl" and "rw".

    Bernd

    • 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