• 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. matlab interface and PSF data format

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 127
  • Views 18890
  • 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

matlab interface and PSF data format

vlau2
vlau2 over 17 years ago

I am developing a custom function in Cadence's calculator to do some advance analysis from simulation data.  I know how to read cadence's simulation data from matlab (using measure functions), after performing matlab transformation of simulation data, I want to write it back to cadence (possibly in PSF data format) so that cadence can read the data and plot it.  Can someone tells me whether this approach make sense?  And is there any functions available to write the matlab data back in PSF format?

 

  • Cancel
  • Bernd
    Bernd over 17 years ago

     IMHO makes no sense.

     1. PSF is a proprietary waveform format of Cadence, you will  not 
         find any specification or documentation about.
     2. The Analog Waveform Display (AWD) which evaluated the PSF will be replaced
         finally in DFII 6.1. by WaveScan which has the wave form format SST2.
         So you would develop something for a dead end.

    The best would be if Cadence would support an open waveform standard.
    There are change requests for this, but as far as I know there has not much
    happened in this direction.

     Bernd

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • vlau2
    vlau2 over 17 years ago

    Is SST2 a cadence proprietary waveform format also?

    How about the calculator function flow? Has anyone try to use it to interface with matlab?

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

     A couple of comments here.  

     1) PSF supports an ASCII mode which is pretty easy for creative coders to write to and the "psf" executable can converts ascii to binary and back if the ascii performance is not acceptable.   Just take any psf file and run the "psf" executable on it and you will see the ascii output (% psf tran.tran)

    2) PSF and SST2 are both proprietary formats also Cadence does as part of its OASIS simualtion integration to ADE provide access to writing PSF but you must purchase this integration kit to gain access.   For newer formats like SST2, access is not provided.

    3) I've shared in my feedback to the subject "How to plot a graph" (Feb09) the process of using "csv" files to import external data into WaveScan & ViVA XL as this is pretty simple as well as the option to use the calculator function "getAsciiWave".

    4) If you have VCD data then you can easily convert to SST2 using the simvisdbutil exectuable that comes in the IUS (AMS) hierarchy.

     Hope these options help,

     jons

      

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • jfosorio
    jfosorio over 8 years ago

    I agree!. Although a object oriented should be nicer even. It would be easy to look to my houndres of Gbytes of data with something like python. It is time overcome this 30 years type of analog tools. Please Cadence! 

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

    This thread is pretty old so your response was against the forum guidelines which ask you not to post on old threads.

    Anyway, we've had a Spectre Toolbox for Matlab which allows spectre results to be read directly into Matlab since something like 2005 or 2006 (I forget exactly when it was introduced). We also introduced a new, more powerful interface from ADE Explorer and Assembler to Matlab which allows Matlab to be used for big data processing on simulation results in a much simpler fashion - including querying across all of your large numbers of sweeps and corners without necessarily needing to access all the individual data if you don't want to.

    This was launched at this year's CDNLIve EMEA (mentioned in the Breakfast Bytes blog) - for more details contact your account team. There's also a Rapid Adoption Kit on this.

    We did consider a Python interface too - but whilst Python is undoubtedly popular for data processing (using things like Numpy, Matplotlib etc), in the Engineering community Matlab is much more commonly used - so it was better to implement something that had wider appeal.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • jfosorio
    jfosorio over 8 years ago

    Hello Andrew, 

    Thanks for the reply, and sorry for positing a out-of-topic message. I was looking for alternatives to skill to run my simulations and posprocess the results in the context of analog/RF circuits. Python or matlab are both good.  I know the video and know the integration with matlab. I use it.  I am not sure if the new version would  allow me to control the simulations from matlab. One of the strengths that make spectre/ocean the default standard 20 years ago was that all of it was easily controlled and scripted using lisp at that time a state of the art tool(Skill). Unfortunately with the years this is really outdated. Skill lacks way behind compared with matlab/python in numeric or plotting capabilities, not without mention easy to use and number of existing libraries. As the complexity of the verification grows the solution by CAD vendors seems to go to more complicated GUIs, but that would not be sustainable as the number of corners, complex optimizations is growing much rapidly that anyone can make a GUI. In my opinion a good API in any of the two language that can also run the simulations is required so a single script can control variables, run simulations and pos-process the results.

    In Python or Matlab  we can implement complex optimization algorithms for our circuits or using similar pos-processing algorithms that we will use during measuring. In some way the solution now is what cadence did 20 years ago.  The best simulator, as still spectre-RF is, with a state-of the art scripting language. 

    • Cancel
    • Vote Up +2 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