Retrieving transistor location (x,y) on a placed design

Discussion in 'Cadence' started by shikhanshu, Mar 24, 2009.

  1. shikhanshu

    shikhanshu Guest

    Hello,

    Lets say I have this small test design comprising of 15 transistors.
    Lets not worry about its functionality (i.e. how the transistors are
    connected). The circuit does something.

    Now, I want to place and route this circuit/netlist. Lets say I use
    Encounter for this (I don't know how to, but I will do it). So now
    this design is placed and routed.

    After this, shouldn't I be able to retrieve the following set of
    information for every transistor:
    I need these two pieces of information for every transistor in a
    placed design for the next thing in my project.

    What tool can do this? Or if not a tool, how can I extract this info
    from which file after placement has been performed?

    Please assume I know nothing (which is sort of true). :)

    Thanks.
    Shikhanshu.
     
    shikhanshu, Mar 24, 2009
    #1
  2. shikhanshu wrote, on 03/24/09 00:08:
    If each transistor is an instance, you should be able to use this (untested, off
    the top of my head, so don't blame me if it doesn't work) SKILL:

    cv=geGetEditCellView()
    fptr=outfile("./instreport.txt")
    foreach(inst cv~>instances
    fprintf(fptr "%s %s %d %d\n" inst~>name inst~>cellName
    xCoord(inst~>xy) yCoord(inst~>xy)
    )
    )
    close(fptr)

    Routing transistors with Encounter is a rather unusual approach. It's not really
    designed for that. And it's not designed for routing 15 transistors! That's
    rather like using a sledgehammer to crack a very small nut. VCAR might be a more
    appropriate router.

    Regards,

    Andrew.
     
    Andrew Beckett, Mar 24, 2009
    #2
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.