how to find/save PCELL CREATION TIME ? / How to solve this ?**URGENT**

Discussion in 'Cadence' started by vivek, Jun 9, 2010.

  1. vivek

    vivek Guest

    Hi
    I want to modify some pcell's default parameters (eg : well
    enclosure of diffusion) in a skill based pcell . But i dont want
    already created pcells to be updated/evaluated with the new parameter
    when i open it .

    I have defined my parameters in the device declaration section
    of the technology file. I am using IC.6.1.3.1.500.

    Is there any way where we can get the time when the pcell was
    created ?.If it is possible , by comparing that time with the
    reference time i can decide which rule has to be taken for a
    particular enclosure (eg : well enclosure of diffusion) or any thing.
    So my old pcells remain unaffected whereas my new pcells follow the
    new rules.

    OR

    Is there a way to save the time of pcell creation (Not
    evaluation) as a pcell parameter while creating the pcell only . If
    it is possible then all my old pcells will have the default time & by
    comparing that time with the reference time i can go ahead .

    "THANKS IN
    ADVANCE"

    Anticipating your reply,
    vivek.
     
    vivek, Jun 9, 2010
    #1
  2. vivek wrote, on 06/09/10 10:18:
    Hi Vivek,

    Just catching up. This was **URGENT** a month ago, so this may be way too late
    for you.

    I'm assuming you're trying to find the date that the pcell instance was created
    - if that, then that doesn't exist. I don't think the date that the pcell itself
    was created is terribly helpful in this case.

    One way to do this is to have a pcell parameter called (say) "version" with a
    default value of 1. Then create a CDF parameter called "version" with a default
    value of 2 and storeDefault=yes.

    This will be slightly misleading because if you query existing components
    they'll show as version 2 (because they don't have a value on the instance), but
    in practice they really have a value of 1 as far as the pcell is concerned.

    This tends to work best if you've anticipated it up front, because then each and
    every instance has an appropriate "version" property stored on it. You could
    retrofit it with some SKILL code to hunt around for every instance which doesn't
    have an instsance property "version", and then set it to 1. This isn't really
    necessary to get it to do what you want, but would be less confusing for the user...

    Then your pcell code can simply look at the "version" parameter and do whatever
    version-specific thing you want.

    Regards,

    Andrew.
     
    Andrew Beckett, Jul 12, 2010
    #2
  3. vivek

    vivek Guest

    Dear Andrew,
    Thanks a lot for your reply .
    I too thought of doing something like this (storing pcell Time Stamp
    as a pcell parameter controlled by another variable like version),
    but since we couldn't find time , we fixed by creating new pcells.

    Thanks again...
    vivek.
     
    vivek, Sep 7, 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.