• 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. generating an output sNp file, when an sp simulation is...

Stats

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

generating an output sNp file, when an sp simulation is used in concert with a transient sim's actimes

frankp
frankp over 2 years ago

Hello Cadence help,

In virtuoso ICADVM20.1 Assembler:

I am currently running a transient simulation with actimes populated (several time indexes), that is linked to an sp simulation (acnames=[sp]). The said sp simulation is setup to generate an output file "myfile.s2p".

The problem is that although several sp simulations are run (one per time index), only one sp output file is created.I would like for an output sp file to be created per each actimes time index.

I may be able to get around this problem by using corners where actimes is parametrized using a design variable, but even if that would work it forces me to run the same transient simulation for as many transient indexes that I have. Assuming that I had 100 time indexes, I would end up running the same transient simulation 100 times .... which will make for a very top-heavy simulation. Is there a way to generate N sp output files, but only running once the transient simulation ?   

Ideally, I would like for my sp output files to be suffixed with the time index. E.g:  myfile.s2p.1.061n,    myfile.s2p.1.064n,  myfile.s2p.1.067n,  etc.

Thank you

Frank

Excerpt from input.scs file:

tran tran stop=Tstop write="spectre.ic" writefinal="spectre.fc" \
    annotate=status strobeperiod=1p actime_pair=no actimes=[1.058571429n \
    1.061547619n 1.06452381n 1.0675n 1.07047619n 1.073452381n 1.076428571n \
    1.079404762n 1.082380952n 1.085357143n 1.088333333n 1.091309524n] \
    acnames=[sp]

sp sp ports=[PORT1 PORT2] start=10 stop=100G dec=10 readns="spectre.fc" \
    prevoppoint=yes readforce="spectre.fc" file="myfile.s2p" \
    annotate=status

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago

    Hi Frank,

    On the sp analysis, set file="myfile%A.s2p" . That will cause the files to be named by the sub-analysis name, so it would end up with:

    myfiletran-000_sp.s2p
    myfiletran-001_sp.s2p
    myfiletran-002_sp.s2p
    myfiletran-003_sp.s2p
    myfiletran-004_sp.s2p
    myfiletran-005_sp.s2p
    myfiletran-006_sp.s2p
    myfiletran-007_sp.s2p
    myfiletran-008_sp.s2p
    myfiletran-009_sp.s2p
    myfiletran-010_sp.s2p
    myfiletran-011_sp.s2p

    I know it doesn't have the time in, but they are at least sequentially named.

    Andrew

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

    Thank you Andrew. That did the trick!

    If need be, I can use the info in psf/logFile to parse the file names and rename them with the time index.

    • 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