• 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. wavescan waveforms -> CIW?

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 124
  • Views 3405
  • 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

wavescan waveforms -> CIW?

markbeck
markbeck over 15 years ago

I'm trying to figure out if it's possible to create a key-binding that could be used to dump a group of wavescan waveforms to the CIW.  I know that it's possible to dump waveforms to the calculator, but I've got a bunch of custom skill code routines that work best in the CIW.  

This is for the times that I've copied around waveforms between wavescan windows and I want to do some calulations on them (without having to resort to the calculator).

Optimally, this function would return a list of waveforms to the CIW.  

 I've looked through the awv finder functions, but I can't find anything like this.  It's almost as though wavescan was designed to be one-way only.

Mark

  • Cancel
Parents
  • ebecheto
    ebecheto over 14 years ago
    following lines shows how to externally plot the data ie. with gnuplot. Unfortunately, I was not able to differenciate from wavescan whether the data are Transient, AC, ... So you will only have data stored in the file if the curve is a transient curve. Hope it helps foreach(mapcar subWin awvGetSubwindowList(w_id) awvSetCurrentSubwindow( w_id subWin ) foreach( mapcar courbe cadr(awvGetWaveNameList( w_id)) rexCompile("/") file=sprintf(nil "./dat_%s" rexReplace(courbe "_" 1) ) rexCompile("(") file=sprintf(nil "%s" rexReplace(file "_" 1) ) rexCompile(")") file=sprintf(nil "%s" rexReplace(file "_" 1) ) awvPrintWaveform( ?output file VT(courbe) ?format "engineering") cmd=sprintf(nil "cat %s|sed \"s/time/\\#time/\" > %s.txt" file file) cmd=sprintf(nil "%s\n rm %s" cmd file) cmd=sprintf(nil "%s\n echo \"plot '%s.txt' \" > %s.gp" cmd file file) cmd=sprintf(nil "%s\n echo \"gnuplot %s.gp -persist\"" cmd file ) ;; cmd=sprintf(nil "%s\n wc -l %s.txt| 1 " cmd file) (system cmd) ))
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ebecheto
    ebecheto over 14 years ago
    following lines shows how to externally plot the data ie. with gnuplot. Unfortunately, I was not able to differenciate from wavescan whether the data are Transient, AC, ... So you will only have data stored in the file if the curve is a transient curve. Hope it helps foreach(mapcar subWin awvGetSubwindowList(w_id) awvSetCurrentSubwindow( w_id subWin ) foreach( mapcar courbe cadr(awvGetWaveNameList( w_id)) rexCompile("/") file=sprintf(nil "./dat_%s" rexReplace(courbe "_" 1) ) rexCompile("(") file=sprintf(nil "%s" rexReplace(file "_" 1) ) rexCompile(")") file=sprintf(nil "%s" rexReplace(file "_" 1) ) awvPrintWaveform( ?output file VT(courbe) ?format "engineering") cmd=sprintf(nil "cat %s|sed \"s/time/\\#time/\" > %s.txt" file file) cmd=sprintf(nil "%s\n rm %s" cmd file) cmd=sprintf(nil "%s\n echo \"plot '%s.txt' \" > %s.gp" cmd file file) cmd=sprintf(nil "%s\n echo \"gnuplot %s.gp -persist\"" cmd file ) ;; cmd=sprintf(nil "%s\n wc -l %s.txt| 1 " cmd file) (system cmd) ))
    • 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