The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Other CAD Tools >> Entry Tools >> viewtype in deNewCellView
https://designers-guide.org/forum/YaBB.pl?num=1176102754

Message started by rajdeep on Apr 9th, 2007, 12:12am

Title: viewtype in deNewCellView
Post by rajdeep on Apr 9th, 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

Title: Re: viewtype in deNewCellView
Post by Andrew Beckett on Apr 12th, 2007, 1:37am

The viewType should be "text.veriloga" .

Regards,

Andrew.

Title: Re: viewtype in deNewCellView
Post by rajdeep on 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

Title: Re: viewtype in deNewCellView
Post by rajdeep on 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

Title: Re: viewtype in deNewCellView
Post by Andrew Beckett on 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.

Title: Re: viewtype in deNewCellView
Post by rajdeep on 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

Title: Re: viewtype in deNewCellView
Post by rajdeep on 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

Title: Re: viewtype in deNewCellView
Post by Andrew Beckett on 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.

Title: Re: viewtype in deNewCellView
Post by rajdeep on 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?

Title: Re: viewtype in deNewCellView
Post by Andrew Beckett on 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.

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