place mosaic then increment in skill

Discussion in 'Cadence' started by rick, Jun 8, 2010.

  1. rick

    rick Guest

    Im looking for a way to do an incremental placement of a via-array or
    mosaic . The number of times is a parameter. The placement of the
    second via will start at the initial plus an offset which will be
    determined by the number of times it needs to go through th e look,
    Hope this makes sense!

    if incNumber >1 then we start
    place first via at "x" <--anchor/
    start location
    loop incNumber -1 <--number of
    times
    place next via at "x+(incNumber * offset) <--compute the next
    location

    Thanks
     
    rick, Jun 8, 2010
    #1
  2. rick wrote, on 06/08/10 22:23:
    Isn't this just a for() loop (or "look" ;->) with some dbCreate.* functions
    inside, and a bit of maths to compute the location.

    Or you could use a while() loop.

    I must be missing something - this seems particularly straightforward?

    Regards,

    Andrew.
     
    Andrew Beckett, Jun 14, 2010
    #2
  3. rick

    rick Guest

    The number of placements are fingers in my pcell and are variable.
    There is an issue with the
    the for loop looking at the re-evaluated pcell. This is a pcell that
    instantiates a pcell. Currently
    the code places 1 since the native cell has only one even though the
    user has just keyed in 4
    fingers. I have one working solution that instatiates a mosaic but
    the its one piece metal with
    the correct number of vias. I have not been able to replicate what
    can be done in VXL where you
    can create an array of 2x1 vias. That was the root of the question
    but I would prefer a more elegant
    solution. This function can be used for dropping the poly contacts
    and finger connections to power
    and ground

    Rick
     
    rick, Jun 15, 2010
    #3
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.