The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Other CAD Tools >> Entry Tools >> Creating Symbol from VerilogA view
https://designers-guide.org/forum/YaBB.pl?num=1176965163

Message started by rajdeep on Apr 18th, 2007, 11:46pm

Title: Creating Symbol from VerilogA view
Post by rajdeep on Apr 18th, 2007, 11:46pm

Hi all,

I was trying to create symbol view of a cell from its VerilogA view.
When I do it manually, I just open the VerilogA file from the library maanger. Make some modification
and close the editor by using :wq ( I use a vi editor). A dialogue Box pops up. I press YES,, a FORM pops up.
I just press OK, and a window opens with the symbol created.

I want to replicate the above steps using SKILL commands. I use the following commands in the order given below:

editor="touch"
ddsServOpen("lp3918_13nep108_rajdeep_VAmodels" "testbus_cell_baba" "veriloga" "edit")
hiDBoxOK(_schDBox)
hiFormDone(hiGetCurrentForm())
hiCloseWindow(getCurrentWindow())
editor="xterm -e vim"

But it does not work. The problem is due to the command, coloured red. I thought this will do the same thing as pressing YES
in the dialogue box, that pops up after I quit the editor. In the next two commands I have used functions which return  current forms and current window. But, I could not find the same for a dialogue box. Is there any such command?

Any other set of functions that can create a symbol from a Veriloga view will also do for me.

Plz help!
Rajdeep


Title: Re: Creating Symbol from VerilogA view
Post by Andrew Beckett on Apr 19th, 2007, 3:37am

See my other responses on this - no point in me repeating myself.

Andrew.

Title: Re: Creating Symbol from VerilogA view
Post by rajdeep on Apr 19th, 2007, 4:51am

I've found the solution..these are the funcions/commands to be used sequentially.

schHiViewToView("lp3918_13nep108_rajdeep_VAmodels" "testbus_cell" "veriloga" "symbol" "Composer-Symbol")
hiFormDone(hiGetCurrentForm())
hiCloseWindow(getCurrentWindow())


The only problem is that the final window containing the symbol remains open!!!
But  hiCloseWindow(getCurrentWindow()) should have closed the window!!! :-?

What can be the reason??

Title: Re: Creating Symbol from VerilogA view
Post by Andrew Beckett on Apr 20th, 2007, 1:55am

Well, if you'd used schViewToView (not schHiViewToView) the UI and so on would not have opened, I think.

The close window didn't fire because something was not blocking, and probably the window was not open yet. Something like that.

Andrew.

Title: Re: Creating Symbol from VerilogA view
Post by rajdeep on Apr 20th, 2007, 10:17pm


Andrew Beckett wrote on Apr 20th, 2007, 1:55am:
The close window didn't fire because something was not blocking, and probably the window was not open yet. Something like that.


How can I make this work like a sequential program?  When the comand hiFormDone(hiGetCurrentForm()) was executed, the window
opened. If the next command hiCloseWindow(getCurrentWindow()) runs after this, we can close the window. As you said, the problem is
that the command is getting executed before the target window is opened.
Is there any way to make this skill fucntions run sequentially i,e the next command can only get executed after the previous commands' results  are all evaluated?

Rajdeep

Title: Re: Creating Symbol from VerilogA view
Post by Andrew Beckett on May 8th, 2007, 7:51am

Yes, don't use the "HI" version of the commands. (I suggested this previously - use the schViewToView function instead).

Andrew.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.