SKill procedure in Ocean scripts ?.

Discussion in 'Cadence' started by sampah, Apr 27, 2005.

  1. sampah

    sampah Guest

    Hello all,

    Has anyone on this list tried to include a SKILL procedure defination
    inside an Ocean script ? Example,

    ;-------------- MyOcean.ocn -------------------
    simulator('spectre)
    ;
    ; Bunch of Ocean related statements
    ;
    ; Calling procedure to do something
    MyProc1(arg1, arg2)
    ;
    ; More Ocean statements.
    ;
    procedure MyProc1(

    let(.....
    ; Do this and that
    )
    )
    ;------------------------------------------

    I tried this and Ocean did not like it - not in Cadence 5.0.33 with
    HPUX anyway. If it is not possible to include user defined procedures
    inside an Ocean script, is there an alternative work around that anyone
    has tried gotten to work successfully ?.

    Thanks.

    Jon
     
    sampah, Apr 27, 2005
    #1
  2. Look into the white paper "Functional verification of a differential
    operational amplifier" from Cadence home page to see how to use SKILL
    procedures with ocean.
     
    Svenn Are Bjerkem, Apr 27, 2005
    #2
  3. sampah

    S. Badel Guest

    Ocean is SKILL. You can do what you want, no problem.
    As long as you respect SKILL language and define a procedure /before calling it/.
    Note, if you run ocean scripts from within DFII, you have access to the whole
    palette of SKILL functions, however if you run it from within the ocean executable,
    you get a subset (as far as i remember - refer to the doc or sourcelink to find out exactly).

    I have to point out, again, that "ocean did not like it" or similar statements are not very
    descriptive. You're narrowing your chances of getting a relevant answer, if any.

    cheers
    stéphane
     
    S. Badel, Apr 27, 2005
    #3
  4. sampah

    sampah Guest

    Hello everyone,

    Thanks for the tip. Yup, got it to work when I have the function
    defined *before* calling it. Got SKILL confused with Perl. Perl appears
    more forgiving and allows defination of function at the end of the
    script. I have also managed to exercise all my commonly used SKILL
    functions within Ocean without any problem at all. It appears the claim
    that Ocean *is* SKILL is correct after all :).

    Again, thanks everyone.

    Jon

    By the way, I was executing the Ocean script from the Unix comamnd line
    so I do not have the benefit of the CIW.
     
    sampah, Apr 29, 2005
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.