• 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. How to set in ADE the width of the Spectre netlist file...

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 126
  • Views 7516
  • 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 set in ADE the width of the Spectre netlist file?

StephanWeber
StephanWeber over 2 years ago

Hi,

I want to avoid lines ending width \ and continuation in the next line, and use longer lines instead.

How to achieve this?

In the Cadence help I only found hints on Verilog netlisting.

Bye Stephan

  • Cancel
Parents
  • Marc Heise
    Marc Heise over 2 years ago

    There are simrc variables for this:

    Article (20483503) Title: How to change or specify the length of a line in netlist generated from ADE
    URL: support.cadence.com/.../ArticleAttachmentPortal

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Marc Heise
    Marc Heise over 2 years ago

    There are simrc variables for this:

    Article (20483503) Title: How to change or specify the length of a line in netlist generated from ADE
    URL: support.cadence.com/.../ArticleAttachmentPortal

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • StephanWeber
    StephanWeber over 2 years ago in reply to Marc Heise

    Greetings Marc!

    I tried to edit the .simrc but in our env it is read-only. Can I set this also in .cdsinit?

    Bye Stephan

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Marc Heise
    Marc Heise over 2 years ago in reply to StephanWeber

    Hi Stephan,

    I did a quick search but I think these are exclusive for .simrc.  I don't know how restrictive your environment is
    but here is the search mechanism for the simrc, maybe you can create a local writable copy?

    .simrc File (Simulation Run Control)

    The .simrc file can be used by designers to customize simulation runs. This file enables designers to override the contents of the si.env file and set defaults for simulation variables which affect only their own simulations. The .simrc file is a way to set defaults on a per-user or per-system basis, and no other designer is affected by this file. This file is optional and is loaded if it exists. If you have not defined an entry for a global file, say .simrc, in the csflookupConfig file, then .simrc is searched for in the following order:

    • $SIMRC/.simrc
    • $ossSimUserSiDir/.simrc
    • dfII/local/.simrc
    • Current UNIX directory/.simrc
    • ~/.simrc
       

    In the above list, SIMRC and ossSimUserSiDir are shell environment variables set through the setenv command before starting the Virtuoso session. (For example: setenv SIMRC <path>)

    The search stops at the first place where the file is found. No other files are loaded unless the load is done from within the first one it finds, allowing for tiered loading or for the local CAD group to alter or disallow the search mechanism. If the file does not exist, no error is generated.

    Linux>> cdswhich -all .simrc    ;; reports all the .simrc files found as per the CSF search mechanism

    Kind regards,

    Marc

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to Marc Heise

    In addition to Marc's suggestions, I'd say that most environments which lock down the .simrc file would usually provide a "user" file (e.g. .simrc_user or something like that) that is looked for by the .simrc file to allow user-level customisation. You should check with your CAD team.

    The problem with setting via .cdsinit is that it's only set once at startup, and there are some settings that are altered per-netlister, and so it might get re-initialized. The .simrc flow is read during the start of each netlisting, so there's the opportunity to re-initialize any variable for netlisting.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • StephanWeber
    StephanWeber over 2 years ago in reply to Andrew Beckett

    Many thanks! I have so far .simrc in cwd, and $SIMRC is not set. The $SIMRC could be the way to go.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • StephanWeber
    StephanWeber over 2 years ago in reply to StephanWeber

    Hi,

    I put this into a new .simrc at ,cwd/dfII/local/.simrc:

    hnlMaxLineLength = 250
    hnlSoftLineLength = 155

    I still have cwd/.simrc in parallel.

    And I still get short netlist lines. Do we need it at /dfII instead cwd/dfII ??

    Bye Stephan

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to StephanWeber

    It won't read a local dfII/local/.simrc file  - only the <instDir>/tools/dfII/local/.simrc if it exists. It will also only read the first .simrc file it finds anyway (so unless you either find a file that your infrastructure loads from the non-editable local .simrc, your only hope is to set $SIMRC I think). I'd be really surprised if your infrastructure does not support a custom user-level .simrc-like file to be read.

    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