Cell view name

Discussion in 'Cadence' started by nour, Nov 1, 2008.

  1. nour

    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, Nov 1, 2008
    #1
  2. nour wrote, on 11/01/08 13:37:
    cvId~>cellName
    cvId~>viewName

    If you do:

    cvId~>??

    you can see all the attributes and values.

    Regards,

    Andrew.
     
    Andrew Beckett, Nov 2, 2008
    #2
  3. nour

    Riad KACED Guest

    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.
     
    Riad KACED, Nov 2, 2008
    #3
  4. nour

    sai dhiraj Guest

    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
     
    sai dhiraj, Nov 3, 2008
    #4
  5. nour

    Riad KACED Guest

    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.
     
    Riad KACED, Nov 3, 2008
    #5
  6. nour

    sai dhiraj Guest

    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?
     
    sai dhiraj, Nov 4, 2008
    #6
  7. nour

    Riad KACED Guest

    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 KACED, Nov 4, 2008
    #7
  8. nour

    sai dhiraj Guest

    @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,
     
    sai dhiraj, Nov 5, 2008
    #8
  9. 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.
     
    Andrew Beckett, Nov 16, 2008
    #9
  10. 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)
    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)
    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)
     
    Svenn Are Bjerkem, Nov 16, 2008
    #10
  11. nour

    Riad KACED Guest

    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.
     
    Riad KACED, Nov 18, 2008
    #11
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.