The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 5th, 2024, 8:53am
Pages: 1
Send Topic Print
Creating Symbol from VerilogA view (Read 1388 times)
rajdeep
Senior Member
****
Offline



Posts: 220
UK
Creating Symbol from VerilogA view
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

Back to top
 
 

Design is fun, verification is a requirement.
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: Creating Symbol from VerilogA view
Reply #1 - Apr 19th, 2007, 3:37am
 
See my other responses on this - no point in me repeating myself.

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
rajdeep
Senior Member
****
Offline



Posts: 220
UK
Re: Creating Symbol from VerilogA view
Reply #2 - 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!!! Huh

What can be the reason??
Back to top
 
« Last Edit: Apr 19th, 2007, 6:13am by rajdeep »  

Design is fun, verification is a requirement.
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: Creating Symbol from VerilogA view
Reply #3 - 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.
Back to top
 
 
View Profile WWW   IP Logged
rajdeep
Senior Member
****
Offline



Posts: 220
UK
Re: Creating Symbol from VerilogA view
Reply #4 - 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
Back to top
 
 

Design is fun, verification is a requirement.
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: Creating Symbol from VerilogA view
Reply #5 - 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.
Back to top
 
 
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.