• 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. printing the maestro expression outputs from a skill script...

Stats

  • Replies 2
  • Subscribers 132
  • Views 796
  • Members are here 0

printing the maestro expression outputs from a skill script after sims are done

ZA202503062023
ZA202503062023 2 months ago

I am having an issue accessing the output expressions in a maestro run.

Here is my script: Ignore the plot commands, when they did not work. I tried to print out the expression value to debug

I can try rebuilding the expression here but I am guessing there must be a way to access it?

The plot commands will work if I try to plot voltage or current signals

Thanks

; example load in ciw
; load("~/plot_eff_all.ocn")

for(i 1 16

; set up results path
resDir=strcat("/simulated/scratch/projects/xxx/"
"dfII/simulation/proj_TB/projeff/"
"maestro/effcurves.1.RO/"
sprintf(nil "%d" i)
"/config/psf")


openResults(resDir)
selectResults('tran)

; This does not work
eff_n = calcVal("eff_nominal" "config")

;test
;eff_n = 2.5
printf("nominal eff: %f\n",eff_n);

; this works and I use it a lot but I guess it is because I am accessing a voltage or current transient waveform as opposed to an expression output
;plot(v("/vramp_ph1" ?result "tran"))

; Evaluate expression using calcVal (best for named expressions)
;my_expression = calcVal("expression_name" "testname")
;my_eff = calcVal("eff_nominal" "config")
;plot(my_eff)


)

  • Cancel
  • Sign in to reply
  • Andrew Beckett
    Andrew Beckett 2 months ago

    This won't work because calcVal needs the context of ADE Explorer/Assembler for it to work. The above is only looking at the psf database and so there's no understanding of tests or the "rdb" results database.

    Please contact customer support (use the case menu to submit a support case) on this so that somebody can investigate more thoroughly and see if there's a way of solving what you want. You might be better off using the maeReadResDB() function to retrieve the result data rather than calcVal() since the results you are trying to access are already computed scalar values by the looks of things.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • ZA202503062023
    ZA202503062023 2 months ago in reply to Andrew Beckett

    Thanks. Let me look up the maeReadResDB() function

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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.

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information