• 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. ocean script - data print to file

Stats

  • Locked Locked
  • Replies 27
  • Subscribers 128
  • Views 23580
  • 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

ocean script - data print to file

jugemu1234
jugemu1234 over 16 years ago

Hi,

I am very new to SKILL or ocean script . I have problems with following script. Firstly I created this ocean.ocn by ADE>Session>Save ocean script... Then added some lines to output data to file. However it ends up outputing error after successful simulation but I do not know what is wrong with this then tried to figure out by myself but couldnt.

I am sure this would be easy thing to do for some people. Hope someone help me out at the earliest oppotunity.

Thanks in advance.

---------------------------------
ocnWaveformTool( 'awd )
simulator( 'spectre )
design( "/netlist")
resultsDir( "/MydfII/simulation/sim_osc2/spectre/schematic" )
path( "/multiplelib" )
modelFile(
'("active_thin.scs" "tt")
)
analysis('tran ?stop "1.1u" ?errpreset "conservative" ?write "spectre.ic"
?writefinal "spectre.fc" ?annotate "status" ?finalTimeOp t ?maxiters "5"
?threshold "0.0" ?detail "node" ?sort "name" )
desVar( "Lvar" 1 )
save( 'v "/net019" "/dvss!" "/dvdd!" )
temp( 27 )
out = outfile("results.txt" "a")
run()

results()
selectResults('tran)
outputs()
ocnPrint(?output out frequency(clip(VT("/net019"),1u,1.1u)) )

close(out)


 

  • Cancel
Parents
  • jugemu1234
    jugemu1234 over 16 years ago

    Hi Andrew,

    Thanks for your reply.

    CIW reply for getVersion(t) is "sub-version 5.10.41.500.6.132"

    Error message in CDS.log is as follows.

    --------------------------------------------------------------

    \e *Error* clip: can't handle clip(nil 1e-06 1.1e-06)
    \e
    \e
    \a hiResizeWindow(window(1) list(213:88 938:558))
    \r t
    \e *Error* frequency: can't handle frequency(nil)
    \e
    \e
    \a hiResizeWindow(window(1) list(213:88 938:558))
    \r t
    \e *Error* clip: can't handle clip(nil 1e-06 1.1e-06)
    \e
    \e
    \a hiResizeWindow(window(1) list(213:88 938:558))
    \r t
    \e *Error* frequency: can't handle frequency(nil)
    \e
    \e
    \a hiResizeWindow(window(1) list(213:88 938:558))
    \r t
    \e *Error* clip: can't handle clip(nil 1e-06 1.1e-06)

     -------------------------------------------------------------------

    Thank you very much for your help.

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

    Hi Andrew,

    Thanks for your reply.

    CIW reply for getVersion(t) is "sub-version 5.10.41.500.6.132"

    Error message in CDS.log is as follows.

    --------------------------------------------------------------

    \e *Error* clip: can't handle clip(nil 1e-06 1.1e-06)
    \e
    \e
    \a hiResizeWindow(window(1) list(213:88 938:558))
    \r t
    \e *Error* frequency: can't handle frequency(nil)
    \e
    \e
    \a hiResizeWindow(window(1) list(213:88 938:558))
    \r t
    \e *Error* clip: can't handle clip(nil 1e-06 1.1e-06)
    \e
    \e
    \a hiResizeWindow(window(1) list(213:88 938:558))
    \r t
    \e *Error* frequency: can't handle frequency(nil)
    \e
    \e
    \a hiResizeWindow(window(1) list(213:88 938:558))
    \r t
    \e *Error* clip: can't handle clip(nil 1e-06 1.1e-06)

     -------------------------------------------------------------------

    Thank you very much for your help.

    • 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