The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 5th, 2024, 11:03am
Pages: 1
Send Topic Print
viewtype in deNewCellView (Read 10867 times)
rajdeep
Senior Member
****
Offline



Posts: 220
UK
viewtype in deNewCellView
Apr 09th, 2007, 12:12am
 
Hi all,

Can anybody tell me what should be the viewtype correspnding to veriloga view?
The function is as follows:
deNewCellView("VAmodels" "testbus" "veriloga" "text" nil)
[In the example viewType for "layout" view is given as "maskLayout"]


I have used "text"  as a possible viewType for veriloga view. But it did not work.
It gave the following warning and returned nil:
*WARNING* Function "ddsTextEnableTrigger" is not callable

Please 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: viewtype in deNewCellView
Reply #1 - Apr 12th, 2007, 1:37am
 
The viewType should be "text.veriloga" .

Regards,

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



Posts: 220
UK
Re: viewtype in deNewCellView
Reply #2 - Apr 16th, 2007, 5:40am
 
Thanks Andrew, text.veriloga worked for the deNewCellView function.
But it is not working for deOpenCellViewByType function.
In the skdfrefpdf I could not find the correct viewtype for veriloga view.
The examples in the pdf are all for layout and its corresponding viewtype masklayout!!!

Help again!
Rajdeep
Back to top
 
 

Design is fun, verification is a requirement.
View Profile   IP Logged
rajdeep
Senior Member
****
Offline



Posts: 220
UK
Re: viewtype in deNewCellView
Reply #3 - Apr 16th, 2007, 7:14am
 
Hello,

In this site http://www.newsfeeds.com/archive/comp-cad-cadence/msg01198.html I have found something terrible for me!!
dbOpenCellViewByType can not handle verilogA view type!!

Well, currently I'm using the following lines of SKILL functions:
deNewCellView("VAmodels" "testbus" "veriloga" "text.veriloga" nil)
hiFormDone(deNewForm)

This is creating a veriloga directory but not creating the internal db and cdb files. The last argument should not be nil.
For the layout example in skdfref.pdf it is given to be list(list(0 0) list(500 600)). This does not work for veriogA though.

May be I'm not trying the correct fumctions.  So can anyone tell me how to do the following?

I already have a schematic view for the cell named testbus in VAmodels library. I also have its symbol view created.
I want to create a veriloga view of the same design i.e. I want the same symbol for both the veriloga and schematic view.
So, I guess I need some sort of binding between these different views.
I thought dbOpenCellViewByType is perfect, but then the above mentioned site is such a setback.

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: viewtype in deNewCellView
Reply #4 - Apr 16th, 2007, 10:52pm
 
Well, using dbOpenCellViewByType() is not going to work with a textual view, since it is not a database view. That's why you can't use it.

Most likely you probably want to use something like:

Code:
ahdlPinListToveriloga("test" "rcac" "veriloga" schSchemToPinList("test" "rcac" "schematic"))
ahdlUpdateViewInfo("test" ?cell "rcac" ?view "veriloga") 



I was working from a lib/cell/view of test/rcac/schematic and generating test/rcac/veriloga. The first is the code used by create cellView from cellView (you'll see these functions if you inspect variables schViewToPinListReg and schPinListToViewReg), and the second updates the shadow CDB files and CDF for the new veriloga.

Of course, none of this is going to work unless you put some proper modeling in the veriloga, but hopefully it will get you moving.

Regards,

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



Posts: 220
UK
Re: viewtype in deNewCellView
Reply #5 - Apr 16th, 2007, 11:15pm
 
Hi Andrew,

I just tried it. But it gave an error *Error* eval: undefined function - ahdlPinListToveriloga !!
I tried to use it through the ocean interface. Is it the right way of using it?

By the way, I think this is exatly what I want. I just want to create this veriloga cellview from an existing schematic.
Hopefully this will create the necessary cdb and db and master.tag and the veriloga file. Then I'll just replace the veriloga file
with another veriloga file, which was created seperately.
I know it has the risk of not going through the parser, but that's ok with me!!!

Thanks again Andrew.
Rajdeep
Back to top
 
 

Design is fun, verification is a requirement.
View Profile   IP Logged
rajdeep
Senior Member
****
Offline



Posts: 220
UK
Re: viewtype in deNewCellView
Reply #6 - Apr 17th, 2007, 1:30am
 
Is  ahdlPinListToveriloga a private function?
Is there no SKILL function that can create a veriloga view of a design that has
i) no schematic view
ii) a schematic view.

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: viewtype in deNewCellView
Reply #7 - Apr 19th, 2007, 3:36am
 
You should be able to do this via schViewToView(), or using the above function (which is (sort of) private).

However, as I said in another response just now, doing this from ocean will not work. You need to use a DFII executable that has schematic/symbol editing capability, otherwise the functions aren't present.

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



Posts: 220
UK
Re: viewtype in deNewCellView
Reply #8 - Apr 19th, 2007, 4:59am
 
What is the meaning of  DFII executable? Is CIW  a DFII executable?
Is CIW the only interface through wcich one can use APIs like schHiViewToView?
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: viewtype in deNewCellView
Reply #9 - Apr 20th, 2007, 1:58am
 
DFII (Design Framework II) executables are things like "icms", "icfb", "layout" etc - tools which bring up a CIW.

The issue is not really that it has a CIW, more that it has the schematic tools built in. So "layout" is no good, but "icms", "icfb", "icde", "icds" "msfb", "layoutPlus" are OK.

Note, these differing executables are going to be going away in the IC61 stream, with the executable for framework being called "virtuoso" - avoiding having this bewildering choice of executable names!

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.