Cell view name

N

nour

Guest
Hi!

Please is there a way to get a cell view name when knowing it's id??
I need that to close some opened cell views...

Thanks

Nour
 
nour wrote, on 11/01/08 13:37:
Hi!

Please is there a way to get a cell view name when knowing it's id??
I need that to close some opened cell views...

Thanks

Nour
cvId~>cellName
cvId~>viewName

If you do:

cvId~>??

you can see all the attributes and values.

Regards,

Andrew.
 
Salam Nour,

I'm a little bit confused .... :-(
You've got the Id of the cellView and you look for it's name in order
to close it. I thought the dbClose needs the id to close the cellView,
not the name ....
I missing something there ... Never mind !

Cheers,
Riad.
 
On Nov 3, 3:39 am, Riad KACED <riad.ka...@gmail.com> wrote:
Salam Nour,

I'm a little bit confused .... :-(
You've got the Id of the cellView and you look for it's name in order
to close it. I thought the dbClose needs the id to close the cellView,
not the name ....
I missing something there ... Never mind !

Cheers,
Riad.
hello please clear my doubt also

im able to get coordinates of all instances in the cell view but how
can i get the names of each instance please reply
 
Hi Sai,

Do you mind if I repeat what Andrew just said above ?

"If you do:
cvId~>??
you can see all the attributes and values."

If you followed Andrew's advice, you would have seen an attribute
called 'name' which give the instance name. That's what your are
looking for ? aren't you ?
For more information about the DFII database objects and attributes,
it might be useful for you to look at this doc:

The CadenceŽ Design Framework II SKILL Functions Reference
UNIX> acroread $CDSHOME/doc/skdfref/skdfref.pdf

Give it a look at Chapter 2, Database Access, section "Description of
Database Objects".
If you scroll down until the 'Instance Attributes' part, you would see
the following :
"name" -> Name of the instance

Have a good reading !

Regards,
Riad.
 
On Nov 3, 5:37 pm, Riad KACED <riad.ka...@gmail.com> wrote:
Hi Sai,

Do you mind if I repeat what Andrew just said above ?

"If you do:
cvId~>??
you can see all the attributes and values."

If you followed Andrew's advice, you would have seen an attribute
called 'name' which give the instance name. That's what your are
looking for ? aren't you ?
For more information about the DFII database objects and attributes,
it might be useful for you to look at this doc:

The CadenceŽ Design Framework II SKILL Functions Reference
UNIX> acroread $CDSHOME/doc/skdfref/skdfref.pdf

Give it a look at Chapter 2, Database Access, section "Description of
Database Objects".
If you scroll down until the 'Instance Attributes' part, you would see
the following :
"name" -> Name of the instance

Have a good reading !

Regards,
Riad.
yeah
thanx ,but i have a still bigger problem and i have asked this before
but dint cleared
i need to transfer this circuit using the skill to a xcircuit window
the libraries will be the same ,so i just need to know names and
coordinates
how can i do the shifting?
 
Hi Sai,

I still don't understand your question to be honest with you.
If you have the id of a selected instance, then you can get it's name
and coordinates using the 'name' and 'xy' attributes:
There is an example:
instanceId=geGetSelSet()
instName=instanceId~>name
instXy=instanceId~>xy

and BTW, since you want to make a copy, why don't you use the
dbCopyFig function ? It will copy your instance with all the
attributes and properties. You don't need to bother about the names
and locations.

dbCopyFig(instId destCvId list(0:0 "R0" 1.0))

You might give more details about your problem if you need further
help.

Regards,
Riad.
 
On Nov 5, 4:49 am, Riad KACED <riad.ka...@gmail.com> wrote:
Hi Sai,

I still don't understand your question to be honest with you.
If you have the id of a selected instance, then you can get it's name
and coordinates using the 'name' and 'xy' attributes:
There is an example:
instanceId=geGetSelSet()
instName=instanceId~>name
instXy=instanceId~>xy

and BTW, since you want to make a copy, why don't you use the
dbCopyFig function ? It will copy your instance with all the
attributes and properties. You don't need to bother about the names
and locations.

dbCopyFig(instId destCvId list(0:0 "R0" 1.0))

You might give more details about your problem if you need further
help.

Regards,
Riad.
@riad
thanks for helping but my problem is not yet solved

i guess u know abt another circuit tool called """"xcircuit""""
similar to cadence.I have to transfer my schematic instance by
instance to the same position in the xcircuit window.This xcircuit is
known to give better postscript files than the cadence one.

another doubt-- i have used the dbWriteSkill() command to get the
skill code for a schematic .I am unable to copnvert this into another
schematic using skill.can you please provide the required info abt
ths,
 
thanks for helping but my problem is not yet solved

i guess u know abt another circuit tool called """"xcircuit""""
similar to cadence.I have to transfer my schematic instance by
instance to the same position in the xcircuit window.This xcircuit is
known to give better postscript files than the cadence one.

another doubt-- i have used the dbWriteSkill() command to get the
skill code for a schematic .I am unable to copnvert this into another
schematic using skill.can you please provide the required info abt
ths,
Given that xcircuit will not understand SKILL, that's hardly surprising.

You'd need to write some kind of interface which extracts the relevant
information from the Cadence database, and then formulates that in the command
language of xcircuit (Tcl, from a quick google search) to recreate the schematic.

I've never seen xcircuit in real life. It's unlikely somebody in this forum
would do all this work for you - by all means we can make suggestions as to how
to retrieve information (which is what we've done), but what you're asking for
is similar to "design my chip for me please"...

Andrew.
 
On Nov 16, 9:02 am, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:

Given that xcircuit will not understand SKILL, that's hardly surprising.

But you can write Tcl procedures that resembles the few SKILL commands
that are used in the schematic dump file. Then you can source the
SKILL dump file and have Tcl do the converting work. This is not a
task for somebody completely new to Tcl and SKILL, but with some
poking around on wiki.tcl.tk you will find that several pages are
dedicated to mimic other languages in Tcl. One of these languages is
Lisp (Which is the family that SKILL belongs to)

You'd need to write some kind of interface which extracts the relevant
information from the Cadence database, and then formulates that in the command
language of xcircuit (Tcl, from a quick google search) to recreate the schematic.
If OP is just looking for pushing postscript, OP could also draw stuff
diretcly into a Tk canvas and export postscript directly from that
one. Never mind that things are not anti-aliased in the canvas, on a
postscript printer things come out like postscript is supposed to do.
(Beware, Tk Canvas does not rotate text)

I've never seen xcircuit in real life. It's unlikely somebody in this forum
would do all this work for you - by all means we can make suggestions as to how
to retrieve information (which is what we've done), but what you're asking for
is similar to "design my chip for me please"...
Well, if OP publishes his circuit and/or the appropriate dump of it,
maybe somebody will pick it up and do the work, just for fun. It's a
give and take world, you know. :)
If schematics could be transported from Composer to xcircuit, maybe
xcircuit would catch some momentum.
Don't try to convert to xcircuit file format, write a script that is
run from within xcircuit using the xcircuit API (which indeed is Tcl)

--
Kind regards,
Svenn
 
Hi,

I'm very sorry to back to the original question again but I still
don't see what's wrong with Cadence's EPS. I have been using it for
many years, in 4 different companies and have used it to publish
papers in the Latex IEEE style and everything was alright. I have
never used xcircuit but as far I understand, it is just a drawing
program as xFig (which I used quite often). Anyway, my thinking is
rather to work on why the Cadence's EPS is not suitable for you. I'm
might be missing something though :-(
I couldn't help that much in xCircuit anyway, TCL is not really my
language :-(

Good luck anyway !

Cheers,
Riad.
 

Welcome to EDABoard.com

Sponsor

Back
Top