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

.subckt nwellResistor d g s b W=1 L=1 Rsquare = 929
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 = 7.7
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 = 6.7
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 = 7.5
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.08
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.08
R       d s 'L*Rsquare/W'
Rg      d g 0
Rb      b 0 0
.ends

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

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

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

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

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

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

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

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

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

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

