create a cellview of type ocean possible?

  • Thread starter Svenn Are Bjerkem
  • Start date
S

Svenn Are Bjerkem

Guest
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
 
On Wed, 06 Apr 2005 13:57:28 +0200, Svenn Are Bjerkem <svenn.are@bjerkem.de>
wrote:

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?
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 wrote:

This is perfectly feasible.
Thanks for the starting points.

I also found some info in:
http://groups-beta.google.com/group/comp.cad.cadence/browse_frm/thread/3a7ed342f8592878/6ec378fdd5bedbca?q=html&rnum=1#6ec378fdd5bedbca

--
Svenn
 
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?
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
 
Jason,

On 8 Apr 2005 11:45:17 -0700, jason.dot.jacobs@gmail.com wrote:

A few questions...

Andrew Beckett wrote:
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.

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?
Yes. Look at the library manager customisation documentation. It involves
creating a cdsLibMgr.il file to do the customisation of the library manager
menus.

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.

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?
The latter is what I was suggesting.

Regards,

Andrew.
 
A few questions...

Andrew Beckett wrote:
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.

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?

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.
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
 

Welcome to EDABoard.com

Sponsor

Back
Top