• 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 results of an alter statement with SKILL

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 144
  • Views 12828
  • 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 results of an alter statement with SKILL

ChrisEAS
ChrisEAS over 14 years ago

Hiya!

I'm having trouble accessing the results from Spectre's alter statement. I can't figure out what's wrong with my code. I've included a stimulus file containing the following statements:

alter1 alter mod=mymodel param=vth0 value=-0.7
dc1 dc dev=V8 param=dc start=-2 stop=0 write="spectre.dc" oppoint=rawfile \
    homotopy=all maxiters=150 maxsteps=10000 annotate=status

alter2 alter mod=mymodel param=vth0 value=-0.6
dc2 dc dev=V8 param=dc start=-2 stop=0 write="spectre.dc" oppoint=rawfile \
    homotopy=all maxiters=150 maxsteps=10000 annotate=status

After the simulation finished successfully, I was trying to access the results as follows:

 selectResults("dc1-dc")
res1=IS("/M1/S")

 selectResults("dc2-dc")
res2=IS("/M1/S")

Selecting the results seems okay. However, res1 and res2 keep being completely identical. So far I've figured out that the second alter statement appears not to be saved correctly. The result returned are always results from the first alter statement.

I'd really appreciate some help here. Thanks.

- Chris

  • Cancel
Parents
  • ChrisEAS
    ChrisEAS over 14 years ago

    Okay, I just made some headway with my problem. By using

    getData("/M1/S")

    I can finally access the two waveforms. However, I wanted to evaluate some output expressions which contain "IS(..)" instead of "getData(..)". Is there really no way of using "IS(..)" when working with multiple analyses?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ChrisEAS
    ChrisEAS over 14 years ago

    Okay, I just made some headway with my problem. By using

    getData("/M1/S")

    I can finally access the two waveforms. However, I wanted to evaluate some output expressions which contain "IS(..)" instead of "getData(..)". Is there really no way of using "IS(..)" when working with multiple analyses?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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