• 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. How to plot a graph?

Stats

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

How to plot a graph?

leongec
leongec over 16 years ago

hello all, i am a newbie for cadence

 I would like to plot a graph on the wavescan. Instead of getting the plot data  from simulation, i need to plot a graph with my own equation. For my understanding, i should load a .raw file into the graph window. My another problem is, how to generate .raw file?

 

Thank you for your advice!

  • Cancel
Parents
  • archive
    archive over 16 years ago

     If I understand your request you are trying to plot data that did not come from the simulator but is either hand created or comes from another tool and is in ASCII form.  Both WaveScan & ViVA XL provide the ability to load a "csv" like file and to treat it like a read database using the ".vcsv" extension.  The data is just a standard "csv" file but with specific header information.

     I've included a sample file I have created that shows the header information although this format was designed for creation from the tool using the save/export feature and not really meant for hand creation.   Anyway row 2 is the net names, row 3 is the column alignments, row4 is the data type (Re and Im) for support of complex data, row5 is the axis label, and row 6 are the axis units.

     ;Version, 1, 0
    ;net1,; net2
    ;X, Y,;X, Y
    ;Re, Re,;Re, Re
    ;time, V,;time, V
    ;s, V,;s, V
    0.000,   1.00,  0.000,  0.00
    0.001,   0.50,  0.001,  0.33
    0.003,   0.00,  0.003,  1.21
    0.007,  -0.50,  0.007,  0.72
    0.009,  -1.00,  0.009,  0.18

    The calculator also has a function called "getAsciiWave" that will load a data file into the tool that can be plotted but this is limited to one signal load at a time as you select which two columns to load into the tool.

     Likewise you can create data directly in SKILL but for most users one of the above two methods is the best solutions. 

     Hope this helps,

     jons

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • archive
    archive over 16 years ago

     If I understand your request you are trying to plot data that did not come from the simulator but is either hand created or comes from another tool and is in ASCII form.  Both WaveScan & ViVA XL provide the ability to load a "csv" like file and to treat it like a read database using the ".vcsv" extension.  The data is just a standard "csv" file but with specific header information.

     I've included a sample file I have created that shows the header information although this format was designed for creation from the tool using the save/export feature and not really meant for hand creation.   Anyway row 2 is the net names, row 3 is the column alignments, row4 is the data type (Re and Im) for support of complex data, row5 is the axis label, and row 6 are the axis units.

     ;Version, 1, 0
    ;net1,; net2
    ;X, Y,;X, Y
    ;Re, Re,;Re, Re
    ;time, V,;time, V
    ;s, V,;s, V
    0.000,   1.00,  0.000,  0.00
    0.001,   0.50,  0.001,  0.33
    0.003,   0.00,  0.003,  1.21
    0.007,  -0.50,  0.007,  0.72
    0.009,  -1.00,  0.009,  0.18

    The calculator also has a function called "getAsciiWave" that will load a data file into the tool that can be plotted but this is limited to one signal load at a time as you select which two columns to load into the tool.

     Likewise you can create data directly in SKILL but for most users one of the above two methods is the best solutions. 

     Hope this helps,

     jons

    • 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