Home > Community > Forums > Custom IC SKILL > convertion of oldtech sechmatics to newtech schematics

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 convertion of oldtech sechmatics to newtech schematics 

Last post Mon, Jul 8 2013 5:29 AM by Andrew Beckett. 7 replies.
Started by siva 234 26 Jun 2013 05:55 AM. Topic has 7 replies and 763 views
Page 1 of 1 (8 items)
Sort Posts:
  • Wed, Jun 26 2013 5:55 AM

    • siva 234
    • Not Ranked
    • Joined on Wed, Jun 26 2013
    • Posts 5
    • Points 85
    convertion of oldtech sechmatics to newtech schematics Reply

    Hi Sir,

    I have one technolgy schematics,in that having mos's(p&n mos) and all the components like caps &resistors ,So i want to replace that mos's of old technology to new another technology mos's .

    if it is possible to convert with SKILL scrips are not please let me know

    Thanks in adavance

    venkatasiva.j

    • Post Points: 20
  • Wed, Jun 26 2013 9:17 AM

    Re: convertion of oldtech sechmatics to newtech schematics Reply

    See the SKILL code in this post. If you need to call CDF callbacks after the change, you might also need abInvokeCdfCallbacks.il which is in this Designer's Guide post.

    Kind Regards,

    Andrew.

     

    • Post Points: 20
  • Sun, Jun 30 2013 11:47 PM

    • siva 234
    • Not Ranked
    • Joined on Wed, Jun 26 2013
    • Posts 5
    • Points 85
    Re: convertion of oldtech sechmatics to newtech schematics Reply

     

    Thank you So much Andrew .

     

          whatever u given it's working but  I want  scalling of  mos widths& lengths by using one expression ,then how to write the expression

    expression:

    i want two expressions

    1. for digital schematics length fine ,but width is same as  W/L of old tech mos'es

    2.for analog schematics length will change 1/sqrt(2) of old tech length   and width is same as   W/L of old tech mos'es

      change in whatever you given fixit() skill script or other scrip required

     procedure(fixIt(inst parName val)
      printf("Fixing %s on %s\n" parName inst~>name)
      ; double the value. Note evalstring is not really a good idea,
      ; just in case the parameter value is some legal SKILL which could do
      ; something unexpected (e.g. "exit()" !)
      sprintf(nil "%n" evalstring(val)*2)
      )

    please  help on this

    Thanks in Advance 

    venkata siva

     

    • Post Points: 20
  • Mon, Jul 1 2013 2:46 AM

    Re: convertion of oldtech sechmatics to newtech schematics Reply

    First of all you'll have to distinguish between analog and digital schematics - I don't know what criteria you use to determine which is which.

    It's also not clear what you're actually trying to change - it doesn't make sense that a width would be the same as the old W/L (surely W/L will be dimensionless if you're dividing the width by the length).

    Maybe you're just saying that for digital schematics you keep the W and L the same as before, but for analog schematics the length becomes the L/sqrt(2) and leaves the width the same?

    If so, then it would be:

    procedure(MyFixLength(inst parName val)
      if(MyIsAnalog(inst~>cellView) then
        aelSuffixNotation(cdfParseFloatString(val)/sqrt(2))
      else
        val
      )
    )

    Note I'm using cdfParseFloatString and aelSuffixNotation to avoid using evalstring and sprintf (the aelSuffixNotation will make the expression prettier).

    You'd have to write MyIsAnalog() to take a cellView id to determine whether analog or digital.

    And then you'd specify MyFixLength as the function call as the third argument for mapping the length in the config file.

    Regards,

    Andrew.

    • Post Points: 20
  • Mon, Jul 1 2013 9:41 PM

    • siva 234
    • Not Ranked
    • Joined on Wed, Jun 26 2013
    • Posts 5
    • Points 85
    Re: convertion of oldtech sechmatics to newtech schematics Reply

    andrew , what iam saying is 

    I divided old technology schematics into two libraries 1.digital library 2. analog librarey

    digital library: 

    I want to change only old tech  width , old tech length is converted to new tech length(instance of new tech length like 40nm)

                     Eg: old tech    w=100n L=60n

                           new tech   w=x n  L=40n   ===>x=(w of old tech*(2/3))  keeping W/L constant in old &new technologies

    so finallay i want expression is

    old tech width * (2/3) =new tech width

    old tech length  =new tech length ( automatic change  instrance of new tech what ever you given code :procedure(fixIt1(inst parName val )
                                                                                                           printf("Fixing %s on %s\n" parName inst~>name)
                                                                                                             )

    analog library: I want to chane length and width.

    expresssions:

    new tech width = old tech width * (3/4)         

    new tech length=old tech length * (1/sqrt(2))

     

    Thanks for each quick replying of this issue.

     

    Thanks in advance,

    venkatasiva      

             

    • Post Points: 20
  • Tue, Jul 2 2013 2:30 AM

    Re: convertion of oldtech sechmatics to newtech schematics Reply

    Venkatasiva,

    Isn't this just a matter of defining:

    procedure(MyFixDigital(inst parName val)
      case(parName
        ("w" aelSuffixNotation(cdfParseFloatString(val)*2.0/3.0))
        ("l" "40n")
      )
    )

    procedure(MyFixAnalog(inst parName val)
      case(parName
        ("w" aelSuffixNotation(cdfParseFloatString(val)*3.0/4.0))
        ("l" aelSuffixNotation(cdfParseFloatString(val)/sqrt(2)))
    )

    And then having two config files - one for your analog library conversion, and one for your digital library conversion. For the w and l parameters, you'd either reference MyFixDigital or MyFixAnalog - the above functions would take care of both w and l.

    Regards,

    Andrew.

    • Post Points: 20
  • Wed, Jul 3 2013 2:40 AM

    • siva 234
    • Not Ranked
    • Joined on Wed, Jun 26 2013
    • Posts 5
    • Points 85
    Re: convertion of oldtech sechmatics to newtech schematics Reply

    Sorry Andrew, I tried as you suggested but its not working. It replaces original parameters with default parameters. Please let me know about this.

    My conv.config is
      (
      (nil
    fromLib     "tsmcN65"
        fromCell    "nch"
      toLib   "ts018_prim"
       toCell  "nmos_18"
           runCallbacks t
       params (
           ("w" "width" MyFixDigital )
           ("l" "length" MyFixDigital )
           )
       addProps (

             )
       )
    (nil
       fromLib     "tsmcN65"
       fromCell    "pch"
       toLib   "ts018_prim"
       toCell  "pmos_18"
       runCallbacks t
       params (
           ("w" "width" MyFixDigital)
           ("l" "length" MyFixDigital)
           )
       addProps (

             )
       )
    )
    I have used the below code for digital library schematics

     procedure(MyFixDigital(inst parName val)
      case(parName
        ("w" aelSuffixNotation(cdfParseFloatString(val)*2.0/3.0))
        ("l" "40n")
      )
    )

    Result: All pmos and nmos devices are converted from tsmcN65 to ts018_prim. But width and length values are default values (minimum values).


    Thanks in advance,
    Venkatasiva.j
    • Post Points: 20
  • Mon, Jul 8 2013 5:29 AM

    Re: convertion of oldtech sechmatics to newtech schematics Reply

    Venkatasiva,

    Are the parameters actually called "width" and "length" in the technology you're migrating to? If you rename "w" to "width" and the new technology doesn't use "width" but uses "w" (or some other parameter name) then it's hardly surprising that you get the default values.

    The comments in the header of the code explain that the idea is that the params mapping allows you to cope with the fact that the parameter was called one thing in the old technology, but something else in the new. You need to find what the corresponding CDF parameters are called in the old and new technologies.

    BTW Isn't ts018 a 0.18um technology? If so, does migrating the length to 40nm make sense?

    Kind Regards,

    Andrew.

    • Post Points: 5
Page 1 of 1 (8 items)
Sort Posts:
Started by siva 234 at 26 Jun 2013 05:55 AM. Topic has 7 replies.