• 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 SKILL
  3. ocnPrint header?

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 143
  • Views 12981
  • 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

ocnPrint header?

imagesensor123
imagesensor123 over 14 years ago

 Hi,

   I run a parametric analysis and use ocnPrint(?output "test" singlePointVout) in my script and get the result like the following txt:

 
iteration_swee    value((v "Vpixel" ?resultsDir "/home2/zfeng/Cadence/Techno035/Sim/pdpixel/spectre/schematic" ?result "tran") 4e-06) (V)

1                     1.01147       
2                   797.174m        
3                   669.963m        
4                   547.271m        
5                   427.882m        
6                   863.587m        
7                   732.847m        
8                   863.587m        
9                   608.164m        
10                  157.674m        
11                  256.493m

the waveobject is singlePointVout , if we can use the fprintf function with the waveObject to output this text file?is there a better way to print the result into a file in specific format, I intend to get the txt like this:


iteration_swee    value((v "Vpixel" ?resultsDir "/home2/zfeng/Cadence/Techno035/Sim/pdpixel/spectre/schematic" ?result "tran") 4e-06) (V) I don't need this information line , or it can be replaced by user define

1 --->real parameter value,such as  20u                    1.01147       
2 --->10u                  797.174m        
3 --->5u                    669.963m        
4  ...                 547.271m        
5  ...                 427.882m        
6  ...                 863.587m        
7  ...                 732.847m        
8  ...                 863.587m        
9  ...                 608.164m        
10 ...                 157.674m        
11 ...                 256.493m

i mainly want to clean the information line,

Regards,

zfeng

  • 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