.subckt nwellResistor d g s b W=1 L=1 Rsquare = 1744
R       d s 'L*Rsquare/W'
Rg      d g 0
Rb      b 0 0
.ends

.subckt polyResistor d g s b W=1 L=1 Rsquare = 26.5
R       d s 'L*Rsquare/W'
Rg      d g 0
Rb      b 0 0
.ends

.subckt poly2Resistor d g s b W=1 L=1 Rsquare = 
R       d s 'L*Rsquare/W'
Rg      d g 0
Rb      b 0 0
.ends

.subckt ndiffResistor d g s b W=1 L=1 Rsquare = 57.3
R       d s 'L*Rsquare/W'
Rg      d g 0
Rb      b 0 0
.ends

.subckt pdiffResistor d g s b W=1 L=1 Rsquare = 78.8
R       d s 'L*Rsquare/W'
Rg      d g 0
Rb      b 0 0
.ends

.subckt metal1Resistor d g s b W=1 L=1 Rsquare = 0.05
R       d s 'L*Rsquare/W'
Rg      d g 0
Rb      b 0 0
.ends

.subckt metal2Resistor d g s b W=1 L=1 Rsquare = 0.03
R       d s 'L*Rsquare/W'
Rg      d g 0
Rb      b 0 0
.ends

