• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. Abutment of one object with itself. How?

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 142
  • Views 6865
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Abutment of one object with itself. How?

Zelli
Zelli over 16 years ago

I do not have left and right objects. (leftdiff, rightdiff). I have one diffusion object. Thus, I cannot use this standart:

"procedure(tranAbutFunction(instA instB pinA pinB pinAside conn event @optional group)

let(( result pinAcontP pinAstrP pinBcontP pinBstrP pinAw pinBw pinAcontV

pinAstrV pinBcontV pinBstrV drop_moving debugging eqW )"

And how I may use abutment in my case ?

 

  • Cancel
Parents
  • Zelli
    Zelli over 16 years ago

    Thanks, but... I will explain:

    Аssume there is such transistor (I will try to represent top view):

    bgss
    bgds
    bgss

    b - substrate
    g - gate
    s - source
    d - drain

    I want that abutment worked like this:

    bgss     ssgb     bgsssgb
    bgds +  sdgb =  bgdsdgb
    bgss     ssgb     bgsssgb


    And I write:

      when(diff~>dbId != nil objId = diff~>dbId
               when(objId~>pin != nil objId~>pin~>name = "source")
               dbReplaceProp(objId "vxlInstSpacingDir" "list" list("right"))
               dbReplaceProp(objId "vxlInstSpacingRule" "float" msdd)
               dbReplaceProp(objId "abutAccessDir" "list" list("right"))
               dbReplaceProp(objId "abutFunction" "string" "tranAbutFunction")
               dbReplaceProp(objId "w" "float" W)
               ;dbReplaceProp(objId "contactParam" "string" "leftcnt")
              )

    Result:

    >>> spcMosAbutFunction
    instA~>name = "|MA1"
    instB~>name = "|MA4"
    pinA~>pin~>name = "source"
    pinB~>pin~>name = "source"
    pinAside = 8
    conn = 1
    event = 2
    group = db:239227436
    *Error* get/getq: second arg must be a symbol or a string – nil

    >>> spcMosAbutFunction
    instA~>name = "|MA1"
    instB~>name = "|MA4"
    pinA~>pin~>name = nil
    pinB~>pin~>name = nil
    pinAside = 0
    conn = 0
    event = 3
    group = db:239227436
    Calculating un-abutment
    Returning result t

    :(((((

    But in standart example it is written:

      when(leftdiff~>dbId != nil objId = leftdiff~>dbId
               when(objId~>pin != nil objId~>pin~>name = "source")
               dbReplaceProp(objId "vxlInstSpacingDir" "list" list("left"))
               dbReplaceProp(objId "vxlInstSpacingRule" "float" msdd)
               dbReplaceProp(objId "abutAccessDir" "list" list("left"))
               ;dbReplaceProp(objId "abutClass" "string" cellViewId~>cellName)
               dbReplaceProp(objId "abutFunction" "string" "tranAbutFunction")
               dbReplaceProp(objId "w" "float" W)
               dbReplaceProp(objId "contactParam" "string" "leftcnt")
              )

      when(rightdiff~>dbId != nil objId = rightdiff~>dbId
               when(objId~>pin != nil objId~>pin~>name = "drain")
               dbReplaceProp(objId "vxlInstSpacingDir" "list" list("right"))
               dbReplaceProp(objId "vxlInstSpacingRule" "float" msdd)
               dbReplaceProp(objId "abutAccessDir" "list" list("right"))
               ;dbReplaceProp(objId "abutClass" "string" cellViewId~>cellName)
               dbReplaceProp(objId "abutFunction" "string" "tranAbutFunction")
               dbReplaceProp(objId "w" "float" W)
               dbReplaceProp(objId "contactParam" "string" "rightcnt")
              )

    and abutment work in this case:

    sgd     sgd    sg*gd
    sgd +  sgd = sg*gd

    and in this:

    sgd     dgs    sgdgs
    sgd +  dgs = sgdgs


    Why does not work  my variant ?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Zelli
    Zelli over 16 years ago

    Thanks, but... I will explain:

    Аssume there is such transistor (I will try to represent top view):

    bgss
    bgds
    bgss

    b - substrate
    g - gate
    s - source
    d - drain

    I want that abutment worked like this:

    bgss     ssgb     bgsssgb
    bgds +  sdgb =  bgdsdgb
    bgss     ssgb     bgsssgb


    And I write:

      when(diff~>dbId != nil objId = diff~>dbId
               when(objId~>pin != nil objId~>pin~>name = "source")
               dbReplaceProp(objId "vxlInstSpacingDir" "list" list("right"))
               dbReplaceProp(objId "vxlInstSpacingRule" "float" msdd)
               dbReplaceProp(objId "abutAccessDir" "list" list("right"))
               dbReplaceProp(objId "abutFunction" "string" "tranAbutFunction")
               dbReplaceProp(objId "w" "float" W)
               ;dbReplaceProp(objId "contactParam" "string" "leftcnt")
              )

    Result:

    >>> spcMosAbutFunction
    instA~>name = "|MA1"
    instB~>name = "|MA4"
    pinA~>pin~>name = "source"
    pinB~>pin~>name = "source"
    pinAside = 8
    conn = 1
    event = 2
    group = db:239227436
    *Error* get/getq: second arg must be a symbol or a string – nil

    >>> spcMosAbutFunction
    instA~>name = "|MA1"
    instB~>name = "|MA4"
    pinA~>pin~>name = nil
    pinB~>pin~>name = nil
    pinAside = 0
    conn = 0
    event = 3
    group = db:239227436
    Calculating un-abutment
    Returning result t

    :(((((

    But in standart example it is written:

      when(leftdiff~>dbId != nil objId = leftdiff~>dbId
               when(objId~>pin != nil objId~>pin~>name = "source")
               dbReplaceProp(objId "vxlInstSpacingDir" "list" list("left"))
               dbReplaceProp(objId "vxlInstSpacingRule" "float" msdd)
               dbReplaceProp(objId "abutAccessDir" "list" list("left"))
               ;dbReplaceProp(objId "abutClass" "string" cellViewId~>cellName)
               dbReplaceProp(objId "abutFunction" "string" "tranAbutFunction")
               dbReplaceProp(objId "w" "float" W)
               dbReplaceProp(objId "contactParam" "string" "leftcnt")
              )

      when(rightdiff~>dbId != nil objId = rightdiff~>dbId
               when(objId~>pin != nil objId~>pin~>name = "drain")
               dbReplaceProp(objId "vxlInstSpacingDir" "list" list("right"))
               dbReplaceProp(objId "vxlInstSpacingRule" "float" msdd)
               dbReplaceProp(objId "abutAccessDir" "list" list("right"))
               ;dbReplaceProp(objId "abutClass" "string" cellViewId~>cellName)
               dbReplaceProp(objId "abutFunction" "string" "tranAbutFunction")
               dbReplaceProp(objId "w" "float" W)
               dbReplaceProp(objId "contactParam" "string" "rightcnt")
              )

    and abutment work in this case:

    sgd     sgd    sg*gd
    sgd +  sgd = sg*gd

    and in this:

    sgd     dgs    sgdgs
    sgd +  dgs = sgdgs


    Why does not work  my variant ?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information