RXXXXXXX N1 N2 VALUE
Examples:
R1 1 2 100 RC1 12 17 1K RL OUT 0 RLOAD
N1 and N2 are the two element nodes. VALUE is the resistance (in ohms) and may be positive or negative but not zero.
Resistor Model
Example:
.MODEL RLOAD RES (R=1 TC1=.01 TC2=.005)
Resistor Model Parameters-
| Name | Meaning | Units | Default |
| R | Resistance multiplier | 1 | |
| TC1 | Temperature coefficient (linear) | °C-1 | 0 |
| TC2 | Temperature coefficient (quadratic) | °C-2 | 0 |
| TCE | Temperature coefficient (exponential) | %/°C | 0 |
Semiconductor Resistors ---
RXXXXXXX N1 N2 <VALUE> <MNAME> <L=LENGTH> <W=WIDTH>
Examples:
RLOAD 2 10 10K RMOD 3 7 RMODEL L=10u W=1u
This is the more common format of the resistor presented earlier; it allows for the modeling of temperature effects and for the calculation of the actual resistance value from strictly geometric information and the specifications of the process. If you specify VALUE, it overrides the geometric information and defines the resistance. If you use MNAME, the resistance can be calculated from the process information in the model MNAME and the given LENGTH and WIDTH. If you do not specify VALUE, then you must use MNAME and LENGTH. If you do not specify WIDTH, then it is taken from the default width given in the model.
Semiconductor Resistor Model
The semiconductor resistor model consists of process-related device data that allow the resistance to be calculated from geometric information and to be corrected for temperature.
Semiconductor Resistor Model Parameters -
| Name | Meaning | Units | Default |
| TC1 | First order temperature coefficient | W/°C | 0.0 |
| TC2 | Second order temperature coefficient | W/°C | 0.0 |
| RSH | Sheet resistance | W/square | |
| DEFW | Default width | m | 1e-6 |
| NARROW | Narrowing from side etching | m | 0.0 |
The sheet resistance is used with the narrowing parameter and L and W from the resistor statement to determine the nominal resistance by the formula:
DEFW is used to supply a default value for W if one is not specified on the device statement. If either RSH or L is not specified, then the standard default resistance value of 1 kW is used. After the nominal resistance is calculated, it is adjusted for temperature by the formula: