.subckt nwellFig1bResistor d g s b W=1 L=1 Rsquare = 1017
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 = 1017
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 = 8.1
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 = 80.9
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 = 152.7
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.07
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.07
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.07
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.04
R       d s 'L*Rsquare/W'
Rg      d g 0
Rb      b 0 0
.ends

