• 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 plot function

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 17151
  • 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 plot function

ahmed osama
ahmed osama over 11 years ago

 Hi All

I am facing  a problem in plotting a bus , I am using ocean script to run simulation . when i use function plot CIW gives me error it cann't plot the whole object 

I am using cadence 6.1.5 

Thanks

  • Cancel
Parents
  • ahmed osama
    ahmed osama over 11 years ago

    this the error 

     spectre completes with 1 error, 0 warnings, and 0 notices.
    Cannot start up spectre.
    WARNING (OCN-6040): The specified directory does not exist, or the directory does not contain valid PSF results.
            Ensure that the path to the directory is correct and the directory has a logFile and PSF result files.
    WARNING (OCN-6040): The specified directory does not exist, or the directory does not contain valid PSF results.
            Ensure that the path to the directory is correct and the directory has a logFile and PSF result files.
    WARNING (OCN-6034): You need to specify what results you want to look at before using this command.
            You can do this with the openResults() command. For more information type,
            ocnHelp('openResults) in the Command Interface Window (CIW).
    WARNING (OCN-6034): You need to specify what results you want to look at before using this command.
            You can do this with the openResults() command. For more information type,
            ocnHelp('openResults) in the Command Interface Window (CIW).
    Loading viva.cxt
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    ERROR (WIA-1006): Unable to plot expression <getData("/Equal")>
               because it does not evaluate to an object that can be plotted, like a waveform or
               parametric wave. See the Visualization & Analysis Tool documentation for information
               about the types of objects that can be plotted in Visualization & Analysis Tool. Only
               the expressions that evaluate to those objects can be plotted.
    *Warning* Wave1 is not a waveform object that can be displayed and
              will be DELETED automatically.
              name: "getData(\"/Equal\")"
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    ERROR (WIA-1006): Unable to plot expression <getData("/B_larger")>
               because it does not evaluate to an object that can be plotted, like a waveform or
               parametric wave. See the Visualization & Analysis Tool documentation for information
               about the types of objects that can be plotted in Visualization & Analysis Tool. Only
               the expressions that evaluate to those objects can be plotted.
    *Warning* Wave1 is not a waveform object that can be displayed and
              will be DELETED automatically.
              name: "getData(\"/Equal\")"
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    ERROR (WIA-1006): Unable to plot expression <getData("/A_larger")>
               because it does not evaluate to an object that can be plotted, like a waveform or
               parametric wave. See the Visualization & Analysis Tool documentation for information
               about the types of objects that can be plotted in Visualization & Analysis Tool. Only
               the expressions that evaluate to those objects can be plotted.
    *Warning* Wave1 is not a waveform object that can be displayed and
              will be DELETED automatically.
              name: "getData(\"/Equal\")"
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    ERROR (WIA-1006): Unable to plot expression <getData("/B<1>")>
               because it does not evaluate to an object that can be plotted, like a waveform or
               parametric wave. See the Visualization & Analysis Tool documentation for information
               about the types of objects that can be plotted in Visualization & Analysis Tool. Only
               the expressions that evaluate to those objects can be plotted.
    *Warning* Wave1 is not a waveform object that can be displayed and
              will be DELETED automatically.
              name: "getData(\"/Equal\")"
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    ERROR (WIA-1006): Unable to plot expression <getData("/B<0>")>
               because it does not evaluate to an object that can be plotted, like a waveform or
               parametric wave. See the Visualization & Analysis Tool documentation for information
               about the types of objects that can be plotted in Visualization & Analysis Tool. Only
               the expressions that evaluate to those objects can be plotted.
    *Warning* Wave1 is not a waveform object that can be displayed and
              will be DELETED automatically.
              name: "getData(\"/Equal\")"
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    ERROR (WIA-1006): Unable to plot expression <getData("/A<1>")>
               because it does not evaluate to an object that can be plotted, like a waveform or
               parametric wave. See the Visualization & Analysis Tool documentation for information
               about the types of objects that can be plotted in Visualization & Analysis Tool. Only
               the expressions that evaluate to those objects can be plotted.
    *Warning* Wave1 is not a waveform object that can be displayed and
              will be DELETED automatically.
              name: "getData(\"/Equal\")"
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    ERROR (WIA-1006): Unable to plot expression <getData("/A<0>")>
               because it does not evaluate to an object that can be plotted, like a waveform or
               parametric wave. See the Visualization & Analysis Tool documentation for information
               about the types of objects that can be plotted in Visualization & Analysis Tool. Only
               the expressions that evaluate to those objects can be plotted.
    *Warning* Wave1 is not a waveform object that can be displayed and
              will be DELETED automatically.


    ######################################

     

     This is the script i use

    simulator( 'spectre )
    design(     "/home/ososanny/simulation/compartor_n_test_bit/spectre/schematic/netlist/netlist")
    resultsDir( "/home/ososanny/simulation/compartor_n_test_bit/spectre/schematic" )
    modelFile(
        '("/home/ososanny/Desktop/cadence_work/gpdk090_v3.9/libs.oa22/gpdk090/../../models/spectre/gpdk090.scs" "NN")
    )
    stimulusFile( ?xlate nil
        "/home/ososanny/Desktop/cadence_work/compartor.scs")
    analysis('tran ?stop "30n"  ?start "0"  ?outputstart "0" 
            ?step "10p"  ?maxstep "10p"  )
    envOption(
        'analysisOrder  list("tran")
    )
    temp( 27 )
    run()
    openResults( "/home/ososanny/simulation/compartor_n_test_bit/spectre/schematic/psf" )
    selectResult( 'tran )
    selectResult( 'tran )
    plot(getData("/Equal") getData("/B_larger") getData("/A_larger") getData("/B<1>") getData("/B<0>") getData("/A<1>") getData("/A<0>") )

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ahmed osama
    ahmed osama over 11 years ago

    this the error 

     spectre completes with 1 error, 0 warnings, and 0 notices.
    Cannot start up spectre.
    WARNING (OCN-6040): The specified directory does not exist, or the directory does not contain valid PSF results.
            Ensure that the path to the directory is correct and the directory has a logFile and PSF result files.
    WARNING (OCN-6040): The specified directory does not exist, or the directory does not contain valid PSF results.
            Ensure that the path to the directory is correct and the directory has a logFile and PSF result files.
    WARNING (OCN-6034): You need to specify what results you want to look at before using this command.
            You can do this with the openResults() command. For more information type,
            ocnHelp('openResults) in the Command Interface Window (CIW).
    WARNING (OCN-6034): You need to specify what results you want to look at before using this command.
            You can do this with the openResults() command. For more information type,
            ocnHelp('openResults) in the Command Interface Window (CIW).
    Loading viva.cxt
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    ERROR (WIA-1006): Unable to plot expression <getData("/Equal")>
               because it does not evaluate to an object that can be plotted, like a waveform or
               parametric wave. See the Visualization & Analysis Tool documentation for information
               about the types of objects that can be plotted in Visualization & Analysis Tool. Only
               the expressions that evaluate to those objects can be plotted.
    *Warning* Wave1 is not a waveform object that can be displayed and
              will be DELETED automatically.
              name: "getData(\"/Equal\")"
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    ERROR (WIA-1006): Unable to plot expression <getData("/B_larger")>
               because it does not evaluate to an object that can be plotted, like a waveform or
               parametric wave. See the Visualization & Analysis Tool documentation for information
               about the types of objects that can be plotted in Visualization & Analysis Tool. Only
               the expressions that evaluate to those objects can be plotted.
    *Warning* Wave1 is not a waveform object that can be displayed and
              will be DELETED automatically.
              name: "getData(\"/Equal\")"
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    ERROR (WIA-1006): Unable to plot expression <getData("/A_larger")>
               because it does not evaluate to an object that can be plotted, like a waveform or
               parametric wave. See the Visualization & Analysis Tool documentation for information
               about the types of objects that can be plotted in Visualization & Analysis Tool. Only
               the expressions that evaluate to those objects can be plotted.
    *Warning* Wave1 is not a waveform object that can be displayed and
              will be DELETED automatically.
              name: "getData(\"/Equal\")"
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    ERROR (WIA-1006): Unable to plot expression <getData("/B<1>")>
               because it does not evaluate to an object that can be plotted, like a waveform or
               parametric wave. See the Visualization & Analysis Tool documentation for information
               about the types of objects that can be plotted in Visualization & Analysis Tool. Only
               the expressions that evaluate to those objects can be plotted.
    *Warning* Wave1 is not a waveform object that can be displayed and
              will be DELETED automatically.
              name: "getData(\"/Equal\")"
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    ERROR (WIA-1006): Unable to plot expression <getData("/B<0>")>
               because it does not evaluate to an object that can be plotted, like a waveform or
               parametric wave. See the Visualization & Analysis Tool documentation for information
               about the types of objects that can be plotted in Visualization & Analysis Tool. Only
               the expressions that evaluate to those objects can be plotted.
    *Warning* Wave1 is not a waveform object that can be displayed and
              will be DELETED automatically.
              name: "getData(\"/Equal\")"
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    ERROR (WIA-1006): Unable to plot expression <getData("/A<1>")>
               because it does not evaluate to an object that can be plotted, like a waveform or
               parametric wave. See the Visualization & Analysis Tool documentation for information
               about the types of objects that can be plotted in Visualization & Analysis Tool. Only
               the expressions that evaluate to those objects can be plotted.
    *Warning* Wave1 is not a waveform object that can be displayed and
              will be DELETED automatically.
              name: "getData(\"/Equal\")"
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    WARNING (OCN-6041): You must do openResults() and selectResults() before using this command.
            Make sure your openResults() and selectResults() commands worked. Use ocnHelp('openResults)
            and ocnHelp('selectResults) for more information.
    ERROR (WIA-1006): Unable to plot expression <getData("/A<0>")>
               because it does not evaluate to an object that can be plotted, like a waveform or
               parametric wave. See the Visualization & Analysis Tool documentation for information
               about the types of objects that can be plotted in Visualization & Analysis Tool. Only
               the expressions that evaluate to those objects can be plotted.
    *Warning* Wave1 is not a waveform object that can be displayed and
              will be DELETED automatically.


    ######################################

     

     This is the script i use

    simulator( 'spectre )
    design(     "/home/ososanny/simulation/compartor_n_test_bit/spectre/schematic/netlist/netlist")
    resultsDir( "/home/ososanny/simulation/compartor_n_test_bit/spectre/schematic" )
    modelFile(
        '("/home/ososanny/Desktop/cadence_work/gpdk090_v3.9/libs.oa22/gpdk090/../../models/spectre/gpdk090.scs" "NN")
    )
    stimulusFile( ?xlate nil
        "/home/ososanny/Desktop/cadence_work/compartor.scs")
    analysis('tran ?stop "30n"  ?start "0"  ?outputstart "0" 
            ?step "10p"  ?maxstep "10p"  )
    envOption(
        'analysisOrder  list("tran")
    )
    temp( 27 )
    run()
    openResults( "/home/ososanny/simulation/compartor_n_test_bit/spectre/schematic/psf" )
    selectResult( 'tran )
    selectResult( 'tran )
    plot(getData("/Equal") getData("/B_larger") getData("/A_larger") getData("/B<1>") getData("/B<0>") getData("/A<1>") getData("/A<0>") )

     

    • 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