• 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. Reading signals directly from transient analysis using ...

Stats

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

Reading signals directly from transient analysis using "psf" command with data in SST2 format

vivkr
vivkr over 12 years ago

 Hi,

I usually write out signals out of the transient analysis data using the "psf" command built into spectre. This is faster than using ocnPrint and simpler. 

I suddenly see the following error now:

"./psf/tran.tran.trn":1,2: Error 35, syntax error found, header table missing

Is anyone familiar with this? I have been using MMSIM 10.11.235 which works well for me for a while and have been able to write out waves using this command so far. The Spectre command line in my log file looks like this:

/cte/tools/cds/MMSIM/10.11.235/tools.lnx86/spectre/bin/64bit/spectre  \
        input.scs +escchars +log ../psf/spectre.out -format sst2 -raw  \
        ../psf ++aps +mt=8 +lqtimeout 900 -maxw 5 -maxn 5

 I don't see anything different from the usual scenario, although I am not sure whether I was using the +sst2 option in the past or +psfbin. I suspect that "psf" does not work in this case. 

 Would anyone know what utility I would need to use to get hold of the data now?

Thanks,

Vivek

  • Cancel
Parents
  • ddave
    ddave over 11 years ago

     Hi Andrew,

    I really need your help. I saw this forum and the discussion about simvisdbutil. I can easily readt my spectre sst2 simulation result and export it to Matlab if my signals are net voltages. However for terminal currents, I have been unable to get it to work.

    Take a look at the commandline below:

    simvisdbutil -csv -timeunits s -overwrite -output /home/a0282908/Junk/simulation.csv -signal simMF_BG_SUP.V12.p_$flow /sim/BQ50001_OA_DS/a0282908/Latest/sim/simMF_BG_SUP/ams/config_ams/psf

    I get this message: flow: Undefined variable.

     I then tried this

    simvisdbutil -csv -timeunits s -overwrite -output /home/a0282908/Junk/simulation.csv -signal simMF_BG_SUP.V12.p_\$flow /sim/BQ50001_OA_DS/a0282908/Latest/sim/simMF_BG_SUP/ams/config_ams/psf

    and got this

    simvisdbutil: *F,BDSIGNM: The signal name on the following line was not found:
            "simMF_BG_SUP.V12.p_".

    I then tried this

     simvisdbutil -csv -timeunits s -overwrite -output /home/a0282908/Junk/simulation.csv -signal simMF_BG_SUP.V12.p /sim/BQ50001_OA_DS/a0282908/Latest/sim/simMF_BG_SUP/ams/config_ams/psf

     and got this again

    simvisdbutil: *F,BDSIGNM: The signal name on the following line was not found:
            "simMF_BG_SUP.V12.p

     

     

    My question is this: what is the correct syntax using simvisdbutil to extract device terminal currents from an sst2 database and export it to a .csv file for futher post processing?

     

    Also another question is: are there any other shell prompt  commandline functions to export signals from cadence spectre to a .csv file or.matlab file. I know the VIVA gui can export signals to .csv, but I want to be able to script that process for post processing automation.

     

    Your response to this incredibly burning question would be highly appreciated.

    Regards

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ddave
    ddave over 11 years ago

     Hi Andrew,

    I really need your help. I saw this forum and the discussion about simvisdbutil. I can easily readt my spectre sst2 simulation result and export it to Matlab if my signals are net voltages. However for terminal currents, I have been unable to get it to work.

    Take a look at the commandline below:

    simvisdbutil -csv -timeunits s -overwrite -output /home/a0282908/Junk/simulation.csv -signal simMF_BG_SUP.V12.p_$flow /sim/BQ50001_OA_DS/a0282908/Latest/sim/simMF_BG_SUP/ams/config_ams/psf

    I get this message: flow: Undefined variable.

     I then tried this

    simvisdbutil -csv -timeunits s -overwrite -output /home/a0282908/Junk/simulation.csv -signal simMF_BG_SUP.V12.p_\$flow /sim/BQ50001_OA_DS/a0282908/Latest/sim/simMF_BG_SUP/ams/config_ams/psf

    and got this

    simvisdbutil: *F,BDSIGNM: The signal name on the following line was not found:
            "simMF_BG_SUP.V12.p_".

    I then tried this

     simvisdbutil -csv -timeunits s -overwrite -output /home/a0282908/Junk/simulation.csv -signal simMF_BG_SUP.V12.p /sim/BQ50001_OA_DS/a0282908/Latest/sim/simMF_BG_SUP/ams/config_ams/psf

     and got this again

    simvisdbutil: *F,BDSIGNM: The signal name on the following line was not found:
            "simMF_BG_SUP.V12.p

     

     

    My question is this: what is the correct syntax using simvisdbutil to extract device terminal currents from an sst2 database and export it to a .csv file for futher post processing?

     

    Also another question is: are there any other shell prompt  commandline functions to export signals from cadence spectre to a .csv file or.matlab file. I know the VIVA gui can export signals to .csv, but I want to be able to script that process for post processing automation.

     

    Your response to this incredibly burning question would be highly appreciated.

    Regards

     

    • 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