• 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. CDL syntax error

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 14487
  • 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

CDL syntax error

Rick Mattern
Rick Mattern over 6 years ago
Ive created a Pcell that instantiates a PDK resistor and added a well tap.  I can netlist using 

ansCdlHnlPrintInst 


.SUBCKT resTest minus nwell plus 
*.PININFO minus:I nwell:I plus:I 
RR0 rpodwo R=655 M=1 $PINS MINUS=plus BULK=nwell PLUS=minus 
.ENDS 

However, calibre aborts with a syntax error, anyone know why? 
  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    I think that's valid (although I'm not that familiar with Calibre). It might be more of a question for Mentor (seeing the error message would probably help though)?

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    I think that's valid (although I'm not that familiar with Calibre). It might be more of a question for Mentor (seeing the error message would probably help though)?

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Rick Mattern
    Rick Mattern over 6 years ago in reply to Andrew Beckett

    from Mentor

    The syntax problem is with the use of $PINS to show the connections for the plus, minus, and sub pins.
    Here are the following legal spice syntax used by Calibre for resistors:
    Rxxx n1 n2 <mname> <r <tc1 <tc2 <scale <m <ac>>>>>>
    + <L=l> <W=w> <parnam=pval> ... <$SUB=ns>
    + <$[mname] | $.MODEL=mname> <$W=w> <$L=l> <$X=x> <$Y=y>
    + <$D=d>

    Rxxx n1 n2 <mname> <r <TC=tc1 <tc2 <scale>>>> <M=m> <AC=ac>
    + <L=l> <W=w> <parnam=pval> ... <$SUB=ns>
    + <$[mname] | $.MODEL=mname> <$W=w> <$L=l> <$X=x> <$Y=y>
    + <$D=d>

    Rxxx n1 n2 <mname> <R=r> <TC1=tc1> <TC2=tc2> <SCALE=scale>
    + <M=m> <AC=ac> <L=l> <W=w> <parnam=pval> ... <$SUB=ns>
    + <$[mname] | $.MODEL=mname> <$W=w> <$L=l> <$X=x> <$Y=y>
    + <$D=d>

    Table 18-10 shows the arguments. The following are some examples:
    R1 1 2 4 $comment
    R2 n5 n6 4 TC=2 3 4 M=3 W=10U L=20U AAA=5 BBB="zz" $[x]
    R3 na nb 4 1 1 4 M=3 $SUB=3 $.MODEL=x $W=10U $L=20U

    Since your source netlist does not follow these resistor syntax structures, you need to see about netlisting setup within Composer.
    Here is your syntax:
    RR0 rpodwo R=655 M=1 $PINS MINUS=plus BULK=nwell PLUS=minus

    I changed the netlisting procedure and calibre finally runs

    Thanks!!!

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to Rick Mattern

    Ah, it's probably that the $PINS syntax can only be used with subckt instances (i.e. with X at the beginning of the line), and not with native resistors.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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