• 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 Design
  3. How to create Metal resistor

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 13624
  • 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

How to create Metal resistor

mfaisal
mfaisal over 5 years ago

Hi I write this script but its wrong some where please advice?

///////////////////////////////////
// LAYER DERIVATIONS AND OPERATIONS
///////////////////////////////////

//-----------------------------
// Define Metal resistor
//-----------------------------

//M1RES = ME1 AND PIXELMK
//ME1 = MET1 NOT M1RES

//M6RES = ME6 AND WSYMBOL
//ME6 = MET6 NOT M6RES

//////////////////////////
// Resistor Devices
//////////////////////////
//-------------------------

//-------------------------------------
// Metal resistor
//-------------------------------------


IFDEF XRC_or_CCI
DEVICE R(res M1) M1RES ME1(POS) ME1(NEG)
[
PROPERTY W,L,RES
W = PERIMETER_COINCIDE(ME1RES, ME1) / 2
L = AREA(ME1RES) / W
Rs = 408*W/(W-0.32e-6)
RES = Rs*L/W
]

#ELSE
DEVICE R(res m1) M1RES ME1(POS) WEL(NEG)
[
PROPERTY W,L,R
W = PERIMETER_COINCIDE(ME1RES, ME1) / 2
L = AREA(ME1RES) / W
Rs = 408*W/(W-0.32e-6)
R = Rs*L/W
]
TRACE PROPERTY R(res M1) R R resR_Tol
//TRACE PROPERTY R(res M1) L L 3
//TRACE PROPERTY R(res M1) W W 3
#ENDIF

I believe my if else condition is wrong anyone please advice. 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    That appears to be a Calibre SVRF rule deck (I think - I can't be sure because I don't have access to the Calibre SVRF documentation, as it is a Mentor product not a Cadence tool). If so, you would be far better off asking this on the Mentor site, not on a Cadence forum.

    If it's not a Calibre rule deck, please indicate which tool you're using.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mfaisal
    mfaisal over 5 years ago in reply to Andrew Beckett

    Thanks Andrew for the advice.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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