• 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. Export data to CSV format

Stats

  • Locked Locked
  • Replies 21
  • Subscribers 128
  • Views 56540
  • 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 data to CSV format

CPete
CPete over 14 years ago
I'm trying to export I-V curves from the Spectre Simulator into CSV files. However, the save/save as menus only allow for saving the data in a figure-format file or as a PNG/TIFF/Image File. Is there a mode, command, or code sequence that would allow me to export my data to CSV or other data formats readable in Excel? Thank you for your assistance.
  • Cancel
Parents
  • Milad M
    Milad M over 10 years ago

    Dear Andrew,

         

      I've just been able to run a successful co-simulation with SpectreRF Engine and MATLAB/SIMULINK.

    Now, I want to define the amount of a resistor in my low-level circuit (I guess it is considered a "variable" in ADE like what we do for a parametric analysis) as "cosimulation input" in "cosimulation option" configuration page. My intimate goal is to find the proper value of the resistor to minimize an output voltage of the circuit using a MATLAB Optimization Toolbox.

    It seems that only sources of the circuit could be defined as cosimulation input. Is there any other possibilities?

    Is it possible to read the resistance of the resistor (as it is defined in input.scs) and then changed it for the next simulation (next itteration of the optimization) by the use of cds commands? I didn't find something relevant.

    Moreover, I try to use the command generally but I have this problem:

    I try below:


    Verify the dynamic library path by checking the LD_LIBRARY_PATH environment variable. Make sure that both <instdir>/tools/dfII/lib and <instdir>/tools/lib are in the path. For C shell users, use the following command
    setenv LD_LIBRARY_PATH `cds_root spectre`/tools/dfII/lib:`cds_root spectre`/tools/lib:${LD_LIBRARY_PATH}


    Solaris users also need to add the toolbox installation path to LD_LIBRARY_PATH. For C shell users, use the following command
    setenv LD_LIBRARY_PATH `cds_root spectre`/tools/spectre/matlab:${LD_LIBRARY_PATH}

    But in MATLAB:

    help cds_srr

    cds_srr not found.

    I checked the root /tools/dfII/lib. But there is no bin folder in dfll. This is the cause of the problem? If yes, what should I do now?

    Sincerely Yours,

    Milad

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Milad M
    Milad M over 10 years ago

    Dear Andrew,

         

      I've just been able to run a successful co-simulation with SpectreRF Engine and MATLAB/SIMULINK.

    Now, I want to define the amount of a resistor in my low-level circuit (I guess it is considered a "variable" in ADE like what we do for a parametric analysis) as "cosimulation input" in "cosimulation option" configuration page. My intimate goal is to find the proper value of the resistor to minimize an output voltage of the circuit using a MATLAB Optimization Toolbox.

    It seems that only sources of the circuit could be defined as cosimulation input. Is there any other possibilities?

    Is it possible to read the resistance of the resistor (as it is defined in input.scs) and then changed it for the next simulation (next itteration of the optimization) by the use of cds commands? I didn't find something relevant.

    Moreover, I try to use the command generally but I have this problem:

    I try below:


    Verify the dynamic library path by checking the LD_LIBRARY_PATH environment variable. Make sure that both <instdir>/tools/dfII/lib and <instdir>/tools/lib are in the path. For C shell users, use the following command
    setenv LD_LIBRARY_PATH `cds_root spectre`/tools/dfII/lib:`cds_root spectre`/tools/lib:${LD_LIBRARY_PATH}


    Solaris users also need to add the toolbox installation path to LD_LIBRARY_PATH. For C shell users, use the following command
    setenv LD_LIBRARY_PATH `cds_root spectre`/tools/spectre/matlab:${LD_LIBRARY_PATH}

    But in MATLAB:

    help cds_srr

    cds_srr not found.

    I checked the root /tools/dfII/lib. But there is no bin folder in dfll. This is the cause of the problem? If yes, what should I do now?

    Sincerely Yours,

    Milad

    • 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