• 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
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Rohini,

    ocnxlOutputSummary() has a keyword argument ?fileName in IC615 ISR8 (6.1.5.500.8) (not in IC614 or earlier IC615 hotfix versions though). As a workaround you could use this (from the OCEAN class):

    Currently the ocnxlOutputSummary does not support writing the summary
    information to a file. If you want to do this, the following wrapper around
    ocnxlOutputSummary may be used. This takes the same arguments as
    ocnxlOutputSummary, but adds an extra ?output argument to allow a file output
    handle to be specified:


    procedure(TrOcnxlOutputSummary(@key (output poport) @rest args)
      let(((poport output))
        apply(’ocnxlOutputSummary args)
      )
    )

    An example of using this:

    prt=outfile("summaryReport.txt")
    TrOcnxlOutputSummary(?output prt ?exprSummary t ?detailed nil)
    close(prt)

    There's also a function axlExportOutputView() which outputs CSV or HTML in IC615 ISR8 (I think we plan to add an ocnxl equivalent, but that hasn't happened yet; CCR 942599 is for that). Unfortunately you can't use this from OCEAN because the function currently assumes there's a GUI ready and initialized (so axlExportOutputView(ocnxlGetSession() "./output.csv" "Detail") won't work). That's what the CCR is for...

    So if you want this, you can file a service request and request the same thing - and a duplicate can be filed. There is the axlReadResDB function which would allow you to read the results database and then iterate over it however you like and generate your own output, but probably the above is closer.

    Regards,

    Andrew.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Rohini,

    ocnxlOutputSummary() has a keyword argument ?fileName in IC615 ISR8 (6.1.5.500.8) (not in IC614 or earlier IC615 hotfix versions though). As a workaround you could use this (from the OCEAN class):

    Currently the ocnxlOutputSummary does not support writing the summary
    information to a file. If you want to do this, the following wrapper around
    ocnxlOutputSummary may be used. This takes the same arguments as
    ocnxlOutputSummary, but adds an extra ?output argument to allow a file output
    handle to be specified:


    procedure(TrOcnxlOutputSummary(@key (output poport) @rest args)
      let(((poport output))
        apply(’ocnxlOutputSummary args)
      )
    )

    An example of using this:

    prt=outfile("summaryReport.txt")
    TrOcnxlOutputSummary(?output prt ?exprSummary t ?detailed nil)
    close(prt)

    There's also a function axlExportOutputView() which outputs CSV or HTML in IC615 ISR8 (I think we plan to add an ocnxl equivalent, but that hasn't happened yet; CCR 942599 is for that). Unfortunately you can't use this from OCEAN because the function currently assumes there's a GUI ready and initialized (so axlExportOutputView(ocnxlGetSession() "./output.csv" "Detail") won't work). That's what the CCR is for...

    So if you want this, you can file a service request and request the same thing - and a duplicate can be filed. There is the axlReadResDB function which would allow you to read the results database and then iterate over it however you like and generate your own output, but probably the above is closer.

    Regards,

    Andrew.

     

    • 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