• 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. Accessing auCdl Netlist name

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 143
  • Views 7061
  • 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

Accessing auCdl Netlist name

Kevin Buck
Kevin Buck over 2 years ago

Several months ago I created a custom netlisting function roughly following this solution:

https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1O3w000009xxONEAY&pageName=ArticleContent

I made some improvements to the code which allows the function to not care about the order of the terminals (only the names) and it is available here:

https://community.cadence.com/cadence_technology_forums/f/custom-ic-skill/50856/spectre-netlisting-multiple-instance-resistors

Our layout engineer just discovered a bug that exists in both the Cadence solution and my code. Another designer made a schematic with an arrayed series resistor with both terminals tied together, it looks like this:

The custom netlisting function shorts all of the internal nets of the arrayed device together because it uses an incremented number and the device name to define the internal subcircuit net. Looking at the auCdl netlist the device name actually increments so I'm interested in somehow acquiring that variable and adding it to the net name to avoid this collision. I haven't found a way in the custom netlisting functions to obtain this variable.

.SUBCKT resistor_lvs Rbot Rtop vdd018

*.PININFO Rbot:I Rtop:I vdd018:I

RRNHR_8<7>_1_1 Rtop RNHR_8<7:0>_sNet_1 $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<7>_1_2 RNHR_8<7:0>_sNet_1 RNHR_8<7:0>_sNet_2 $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<7>_1_3 RNHR_8<7:0>_sNet_2 Rbot $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<6>_1_1 Rtop RNHR_8<7:0>_sNet_1 $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<6>_1_2 RNHR_8<7:0>_sNet_1 RNHR_8<7:0>_sNet_2 $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<6>_1_3 RNHR_8<7:0>_sNet_2 Rbot $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<5>_1_1 Rtop RNHR_8<7:0>_sNet_1 $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<5>_1_2 RNHR_8<7:0>_sNet_1 RNHR_8<7:0>_sNet_2 $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<5>_1_3 RNHR_8<7:0>_sNet_2 Rbot $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<4>_1_1 Rtop RNHR_8<7:0>_sNet_1 $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<4>_1_2 RNHR_8<7:0>_sNet_1 RNHR_8<7:0>_sNet_2 $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<4>_1_3 RNHR_8<7:0>_sNet_2 Rbot $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<3>_1_1 Rtop RNHR_8<7:0>_sNet_1 $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<3>_1_2 RNHR_8<7:0>_sNet_1 RNHR_8<7:0>_sNet_2 $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<3>_1_3 RNHR_8<7:0>_sNet_2 Rbot $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<2>_1_1 Rtop RNHR_8<7:0>_sNet_1 $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<2>_1_2 RNHR_8<7:0>_sNet_1 RNHR_8<7:0>_sNet_2 $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<2>_1_3 RNHR_8<7:0>_sNet_2 Rbot $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<1>_1_1 Rtop RNHR_8<7:0>_sNet_1 $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<1>_1_2 RNHR_8<7:0>_sNet_1 RNHR_8<7:0>_sNet_2 $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<1>_1_3 RNHR_8<7:0>_sNet_2 Rbot $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<0>_1_1 Rtop RNHR_8<7:0>_sNet_1 $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<0>_1_2 RNHR_8<7:0>_sNet_1 RNHR_8<7:0>_sNet_2 $SUB=vdd018 $[RNHR] $W=1u $L=5u

RRNHR_8<0>_1_3 RNHR_8<7:0>_sNet_2 Rbot $SUB=vdd018 $[RNHR] $W=1u $L=5u

.ENDS
I'd like to get the highlighted variable in the angled brackets to insert into the net name instead of the instance name. Is there a way to do this?
  • 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