saby
Guest
|
Posted:
Fri Oct 28, 2005 8:10 am Post subject:
*Error* unknown: dbSetq: Can not set attribute |
|
|
Hi,
I imported the DEF file into DFII. I want to open the imported design
with the layout view of the std-cells and not the abstract view. So, I
wrote a small piece of skill code that will replace all the "abstract"
cell views with "layout" e.g.
cv~>cellView = "layout"
But doing so gives me the error:
*Error* unknown: dbSetq: Can not set attribute - viewName
Is it an illegal operation? Becase manually I can do this by changing
the "abstract" to "layout" in properties menu. What can be the reason?
Also, is there a way to directly open the imported DEF into virtuoso
layout and not the preview? I read a similar discussion on this
lastweek, but I could not find the property that needs to be changed
that will make virtuoso( not preview) to handle the design. Any
comments?
Regards
Saby.
|
|
Andrew Beckett
Guest
|
Posted:
Sun Oct 30, 2005 9:10 pm Post subject:
Re: *Error* unknown: dbSetq: Can not set attribute |
|
|
On 27 Oct 2005 20:52:58 -0700, "saby" <s_saby23@yahoo.com> wrote:
| Quote: | Hi,
I imported the DEF file into DFII. I want to open the imported design
with the layout view of the std-cells and not the abstract view. So, I
wrote a small piece of skill code that will replace all the "abstract"
cell views with "layout" e.g.
cv~>cellView = "layout"
But doing so gives me the error:
*Error* unknown: dbSetq: Can not set attribute - viewName
Is it an illegal operation? Becase manually I can do this by changing
the "abstract" to "layout" in properties menu. What can be the reason?
Also, is there a way to directly open the imported DEF into virtuoso
layout and not the preview? I read a similar discussion on this
lastweek, but I could not find the property that needs to be changed
that will make virtuoso( not preview) to handle the design. Any
comments?
Regards
Saby.
|
Changing the cellView attribute would never be the right thing to do, since the
cellView attribute indicates which cellView the object belongs to. If it was an
instance id that you're talking about, the atttribute that most people try to
change (and fail) is viewName:
instId~>viewName="layout".
The libName, cellName, viewName attributes cannot be directly changed. You can
change the "master" attribute to the new cellView Id, and then the libName,
cellName, viewName attributes will show the right thing (effectively they're
derived in this context). The edit properties form disguises all this from you
in order to make it easier for you to change.
e.g:
instId~>master=dbOpenCellViewByType(instId~>libName instId~>cellName "layout")
or you could use the dbSetInstHeaderMasterName() function to change all
instances of the same type at the same time.
There is a menu Design->Remaster Instances which can be used for this. Simply
fill in the viewName fields only, from "abstract" to "layout". This would avoid
you having to write the SKILL in the first place.
As for changing it to open in Virtuoso Layout Editor, you can do this with the
Design->Set Default Application menu. In years gone by, I got rid of the preview
magic properties by using the following SKILL code:
/***************************************************************
* *
* (abResetViewType libName cellName viewName) *
* *
* Reset the viewType by removing the viewSubType property on *
* a cellView. *
* *
***************************************************************/
(procedure (abResetViewType libName cellName viewName)
(let (cv)
(setq cv (dbOpenCellViewByType libName cellName viewName "" "a"))
(when cv
(dbDeletePropByName cv "viewSubType")
(dbSave cv)
(dbClose cv)
)))
Regards,
Andrew. |
|