• 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. Using ocean ADEXL generate a csv output file

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 126
  • Views 18411
  • 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

Using ocean ADEXL generate a csv output file

rkic
rkic over 13 years ago

In my ocean script, i am using the ADEXL ocnxlOutputSummary command to output the results of my simulation into a file 

I use the poport command to redirect my output.  The problem is that i cannot format the output into a comma separated file, nor am i able to filter only the output expressions i need into the file. This file has a log of the entire session

Is there a way to

1) save just the result of the simulations : output expressions , parameters and design variables associated with the test i need using a regular expression filter into a file

2) How can i get only ocnxlOutputSummary(?exprSummary t ?specSummary t ?detailed t ?wave nil) to output to a  file?

I wish the ocnxlOutputSummary command had a ?file "filename" field available.

 

  • Cancel
Parents
  • Tajinder
    Tajinder over 12 years ago

    I have a ocean script which looks like this:

    ocnSetXLMode()

    ocnxlTargetCellView(....)

    ocnxlLoadSetupState( "ron" 'overwrite ?tests t ?vars t ?parameters t ?currentMode t

            ?runOptions t ?specs t ?corners nil ?modelGroups t

            ?extensions t ?relxanalysis nil )

     set and enable corners. 

     

    ocnxlRun( ?mode 'sweepsAndCorners ?nominalCornerEnabled nil ?allCornersEnabled t ?allSweepsEnabled t)

    ocnxlOutputSummary(?exprSummary t ?specSummary t ?detailed t ?wave nil ?fileName "results.txt")

     There were 1536 splits which ran in netbatch (our pool of machines) with 180 jobs in parallel. The job ran for 3 days and it finished simulation of all splits. But for some reason, the last split got hung in netbatch. So the ocean script never reached ocnxlOutputSummary. I can see spectre.out has completed successfully for all splits.

    How do I execute ocnxlOutputSummary now? 

    axlExportOutputView(ocnxlGetSession() "./output.csv" "Detail") didn't work as ocnxlGetSession()  returns nil.

     I tried axlReadResDB. It returns the db object. However  don't know which commands to use to dump the csv file. 

    (PS: My 2nd attempt to run simulation all over again failed. This time one of the job was hung during netlisting. This simulation is with parasitics, so takes longer.) 

     I am using IC6.1.5.500.11

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Tajinder
    Tajinder over 12 years ago

    I have a ocean script which looks like this:

    ocnSetXLMode()

    ocnxlTargetCellView(....)

    ocnxlLoadSetupState( "ron" 'overwrite ?tests t ?vars t ?parameters t ?currentMode t

            ?runOptions t ?specs t ?corners nil ?modelGroups t

            ?extensions t ?relxanalysis nil )

     set and enable corners. 

     

    ocnxlRun( ?mode 'sweepsAndCorners ?nominalCornerEnabled nil ?allCornersEnabled t ?allSweepsEnabled t)

    ocnxlOutputSummary(?exprSummary t ?specSummary t ?detailed t ?wave nil ?fileName "results.txt")

     There were 1536 splits which ran in netbatch (our pool of machines) with 180 jobs in parallel. The job ran for 3 days and it finished simulation of all splits. But for some reason, the last split got hung in netbatch. So the ocean script never reached ocnxlOutputSummary. I can see spectre.out has completed successfully for all splits.

    How do I execute ocnxlOutputSummary now? 

    axlExportOutputView(ocnxlGetSession() "./output.csv" "Detail") didn't work as ocnxlGetSession()  returns nil.

     I tried axlReadResDB. It returns the db object. However  don't know which commands to use to dump the csv file. 

    (PS: My 2nd attempt to run simulation all over again failed. This time one of the job was hung during netlisting. This simulation is with parasitics, so takes longer.) 

     I am using IC6.1.5.500.11

    • 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