create a cellview of type ocean possible?

Discussion in 'Cadence' started by Svenn Are Bjerkem, Apr 6, 2005.

  1. Hi,

    I am wondering if it is possible to register ocean with a cellview just like
    it is possible to register the schematic editor with a schematic and the
    symbol editor with a symbol and the 'editor' with a veriloga view.

    I would very much like to save some ocean verifications together with the
    top level testbench of a DUT. It would be nice if I also could start the
    ocean simulation from the context menu just like I would open it for
    editing in my text editor. It should not be started automatically like the
    compile of a veriloga view when exiting the editor as the script may take
    some hours to finish. :)

    As I work in a grid, the start of one ocean process would preferably be sent
    to bsub and not lock up the user interface so that I could start many ocean
    verifications in parallel.

    I would be happy at the beginning if I could create an 'ocean' object type
    that opens with my text editor for a starter.

    Are these ideas possible at all?
     
    Svenn Are Bjerkem, Apr 6, 2005
    #1
  2. This is perfectly feasible.

    You'd have to add something to the registry (see
    <instdir>/share/cdssetup/registry/data for info - it's covered in the Cadence
    Application Infrastructure Guide) to specify the new view type - and what the
    co-managed files in the cellView are, etc.

    Then you'd use deRegApp() to register an application - with functions
    specifying how to open the script, in edit and read modes. I expect you might
    well make your application pop up a form, asking you whether you want to
    edit/read it, or whether you want to run it.

    Sourcelink solution 1836295 gives some pointers for some of this.

    To run it, you'd probably use ipcBeginProcess to invoke a child session, so
    that you a) can have several running at once, and b) don't block the parent
    session - as you've outlined.

    Regards,

    Andrew.
     
    Andrew Beckett, Apr 7, 2005
    #2
  3. Svenn Are Bjerkem, Apr 8, 2005
    #3
  4. A few questions...

    you whether you want to edit/read it, or whether you want to run it.

    A form is surely the easiest way to go, but is it possible to customize
    the pop-up menu used in the library browser to give the user the option
    to read, edit, or load the script?
    All IPC examples that I've run into are for Unix child processes. Is
    is possible to execute a SKILL function in a child process? Or were
    you just suggesting that he start a separate ICFB/Ocean executable
    through IPC?

    Thanks,

    Jason
     
    jason.dot.jacobs, Apr 8, 2005
    #4
  5. Svenn Are Bjerkem

    S. Badel Guest

    A form is surely the easiest way to go, but is it possible to customize
    yes, you have to create a cdsLibManager.il file to define your extensions and load
    accompanying skill code. this is explained in the 'Library Manager User Guide'.

    stéphane
     
    S. Badel, Apr 11, 2005
    #5
  6. Jason,

    Yes. Look at the library manager customisation documentation. It involves
    creating a cdsLibMgr.il file to do the customisation of the library manager
    menus.
    The latter is what I was suggesting.

    Regards,

    Andrew.
     
    Andrew Beckett, Apr 11, 2005
    #6
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.