• 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. Export values of output expressions

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 16275
  • 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

Export values of output expressions

zyviva
zyviva over 10 years ago

Hi,

In ADE L, I have created various expressions that are saved as outputs. After my simulation is complete, the values of these expressions (some number) is displayed under the value column in the outputs table. How can I export these values en masse?

There is an Outputs-->Export option, but that exports the expressions and I would like the values.


I am running version IC6.16-64b.500.6


Thanks.

  • Cancel
  • skillUser
    skillUser over 10 years ago

    Hi Sarah,

    You could create an OCEAN script (Session -> Save Ocean Script) and modify it a little so that the values are printed out to a file. Keep the bits with the expressions and build the rest of the script around it, then you can load this file in the CIW or call it from the standalone "ocean" executable.  Here's a brief example:

    
    :::::::::::::::::::::::
    ::: printExprs.ocn  :::
    :::::::::::::::::::::::
    openResults("./simulation/<your_circuit>/spectre/schematic" ) ;; modify as needed
    selectResult('tran)
    filePointer = outfile("./results" "w")
    fprintf(filePointer ";; Output results for <your_circuit>\n") ;; modify as needed
    ;; iterate over the required nodes or you can print each expression 
    ;; as it is from the original oceanScript.ocn file
    foreach((node val) list("/I0/D4/PLUS" "/I0/vout_R" "/I0/D4/PLUS")
                        list(2.8e-06 1e-05 1e-05)
      ocnPrint(?output filePointer
        strcat(node "\t")
        value(getData(node ?result 'tran) val)
      )
    ); foreach
    close(filePointer)
    println("Simulation results output to ./results")
    
    
    :::::::::::::::
    ::: results :::
    :::::::::::::::
    ;; Output results for <your_circuit>
    
    
    /I0/D4/PLUS        2.81092n      
    
    
    /I0/vout_R          0             
    
    
    /I0/D4/PLUS        651.035p
    

    Note that you can use ocnPrint() to output to a file or file handle, it is simple to use but you may not have as much control as using fprintf statements directly (e.g. note the spacing between the output lines above).

    Hopefully this is the sort of thing that you are looking for?

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    The other (probably better) alternative is to use ADE XL, and then you can export the results to HTML or CSV.

    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