• 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. About User Command-Line Options in Environment Options

Stats

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

About User Command-Line Options in Environment Options

ichiro
ichiro over 4 years ago

Hi all,

I'd like to know how to input several commands into the "User Command-Line Options" box.

For example, +dcopt and +postlayout... and more.

(Explorer-->Setup-->Environment Options-->User Command-Line Options)

Ichiro

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    Well, you can just type "+dcopt +postlayout" in the field - am I missing something in your question? That said, I wouldn't put +postlayout since that's already on the Setup->High-Performance Simulation form (it's labelled "Enable Post-Layout Optimization").

    Andrew

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

    Well, you can just type "+dcopt +postlayout" in the field - am I missing something in your question? That said, I wouldn't put +postlayout since that's already on the Setup->High-Performance Simulation form (it's labelled "Enable Post-Layout Optimization").

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • ichiro
    ichiro over 4 years ago in reply to Andrew Beckett

    Yes, I know the "+postlayout" has been on there, and i tried it with APS simulation. And I also gave the command from Env-command line field then both worked well.
    On the other hand, I need to use "+dcopt" for the convergence so I 'd like to use them together. But I gave the two command from Env-command line with space as separater, now I have an error below:

     '+postlayout/++parasitics' does not work in flat mode. Rerun the simulation by using  +postlayout= legacy_rf instead.

    Ichiro

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 4 years ago in reply to ichiro

    Dear Ichiro,

    ichiro said:

    On the other hand, I need to use "+dcopt" for the convergence so I 'd like to use them together. But I gave the two command from Env-command line with space as separater, now I have an error below:

     '+postlayout/++parasitics' does not work in flat mode. Rerun the simulation by using  +postlayout= legacy_rf instead.

    The concept that Andrew provided is correct Ichiro. However, I think you need to be more specific about the spectre version and options you need.

    The postlayout optimization feature has undergone a number of significant changes over the past few years and the syntax of its options is very dependent on what version of spectre you are using. The error that you are reporting is not related to putting more than one command on the Environment command line options contained in the Environment GUI found by right-clicking on an Assembler test name. For example, as I show in Figure 1 for an Assembler session test I am working with now, I have circled the environmental commands I am including. There are more than 2 options I am including and there are no reported errors in the simulator output log. 

    What would be helpful to better understand your error is if you would include the specific spectre command you are using. The command may be found in the spectre.out file located in the results psf directory (alongside the netlist directory). For example, once again using my test as an example, a portion of the spectre command line contained in the spectre.out file shows the following:

    Command line:
    /tools/MMSIM/19.10.428/Linux/tools/bin/spectre -64 input.scs \
    +escchars +log ../psf/spectre.out -format psfxl -raw ../psf \
    +preset=cx +mt=lsf +lqtimeout 0 -maxw 5 -maxn 5 -env ade \
    +lorder MMSIM:PRODUCT +dcopt +disk_check=100e9 -ahdllibdir

    Note each option shown in Figure 1 in the User command line options portion of the Environment Options GUI panel are included as spectre options.

    The post layout command you are trying to include, "+postlayout" , is not directly supported as a user command line option in the most recent versions of spectre and is only supported if you include the syntax for it as:

    +postayout =legacy or +postlayout=legacy_rf

    as shown in Figure 2 from the Cadence On-line support manual at URL:

    support.cadence.com/.../techpubDocViewerPage

    This option is also only available for spectre APS and not for spectre X if you are using it.

    Hence, it is important to understand what simulator you are using and, as a result, what type of post layout optimization you are choosing Ichiro. I hope this helps!

    Shawn

    Figure 1

    Figure 2

    From URL:

    support.cadence.com/.../techpubDocViewerPage

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to ShawnLogan

    As Shawn said, it would be rather helpful to know:

    1. The spectre sub-version used
    2. The command line for spectre shown in the spectre log file

    I've been doing some digging, and the message about "flat" mode seems to either occur in older versions before some fixes, or using some pre-release technology, or possibly one current case - but I would like to better understand which situation you're facing, and knowing the information above will help narrow it down.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ichiro
    ichiro over 4 years ago in reply to Andrew Beckett

    Hi Shawn and Andrew,

    >The postlayout optimization feature has undergone a number of significant changes over the past few years and the syntax of its options is very dependent on what version of spectre you are using. 

    Problems that are not straightforward...

    >The spectre sub-version used

    Spectre (R) Circuit Simulator
    Version 18.1.0.169.isr2 64bit -- 12 Oct 2018

    >The command line for spectre shown in the spectre log file

    Simulating `input.scs' on "server_address" at 5:13:07 PM, Fri Jul 16, 2021 (process id: xxxxxx).
    Current working directory: xxxxx/netlist
    Command line:
    /tools/Cadence/SPECTRE/SPECTRE18.10.169/tools/bin/spectre -64 \
    input.scs +escchars +log ../psf/spectre.out -format psfxl -raw \
    ../psf +lqtimeout 900 -maxw 5 -maxn 5 +dcopt \
    +postlayout=legacy_rf -ahdllibdir \
    xxxxx/maestro/ExplorerRun.0/sharedData/CDS/ahdl/input.ahdlSimDB \
    +logstatus


    Fatal error found by spectre during command-line options checking.
    FATAL (SPECTRE-475): Option '+postlayout' is not supported in Spectre. Enable APS to use this option.

    spectre terminated prematurely due to fatal error.

    Thanks,

    Ichiro

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ichiro
    ichiro over 4 years ago in reply to ichiro

    This is correct.

    Command line:
    /tools/Cadence/SPECTRE/SPECTRE18.10.169/tools/bin/spectre -64 \
    input.scs +escchars +log ../psf/spectre.out -format psfxl -raw \
    ../psf +aps +mt=1 +lqtimeout 900 -maxw 5 -maxn 5 +dcopt \
    +postlayout=legacy_rf -ahdllibdir \
    xxxx/maestro/ExplorerRun.0/sharedData/CDS/ahdl/input.ahdlSimDB \
    +logstatus

    Fatal error found by spectre during initial setup.
    FATAL (SPECTRE-528): '+postlayout/++parasitics' does not work in flat mode. Rerun the simulation by using +postlayout= legacy_rf instead.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to ichiro

    The first is clear - you can't run postlayout without APS. Something is rather odd with the second - I can't see why it's saying "flat mode". I'd suggest running with a more recent ISR rather than the base release of SPECTRE18.1, but also can you post the analysis statements and options from the bottom of your input.scs?

    Regards,

    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