• 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. obtain dcmatch results units and nsigma via SKILL

Stats

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

obtain dcmatch results units and nsigma via SKILL

drdanmc
drdanmc over 2 years ago

I have a question about accessing the units for a dcmatch result via SKILL.    The following bit of code hopefully shows what I'm looking for.

rslt = getData("/totalOutput" ?resultsDir "/path/to/psf" ?results 'dcmatch)

printf("mean = %L <but what are the units?>" value(rslt "dcOp"))

printf("sigma = %L < but what are the units?>" value(rslt "sigma"))

Related to this, there is a parameter passed to the spectre `dcmatch` command called `nsigma` that is used when using method=statistics.  This specifies now many sigma the result is.  For example, a circuit with a 1 mV 1-sigma offset may report 0.003 in the above SKILL code if the simulation were run with `nsigma=3` instead of `nsigma=1` so `nsigma` is an important part of interpreting the results.  The units are defined in the PSF results but I don't know how to access that short of running `psf dcmatch.dcmatch` on the command line to get psfascii and parsing that.  See for example the top part of a psfascii file shown below.  "totalVariation" is defined as a struct and the result "/totalOutput" is then an instance of that struct.  

Clearly the results browser uses this because if I navigate to the `totalOutput` result I do see the units reported there.  I assume this must have come from the psf reader because the units property for the y vector of getData("/totalOutput" ...) is not set.

Regarding `nsigma` I don't even see that value in the psfascii output.  I only see it either in the spectre input file or the spectre log file.  

The reason I'm interested in these is I have various bits of code to process dcmatch results and currently I'm having to pass on the units and nsigma explicitly and it would be more convenient and less error prone to read both directly from a simulation result.

Any ideas?

Thanks

-Dan

  • 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