| * Copyright 2020 The SkyWater PDK Authors |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * https://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| |
| * SKY130 Spice File. |
| .subckt sky130_fd_pr__res_iso_pw r0 r1 b |
| + |
| .param l = -1 mult = 1.0 |
| + w = 2.65 |
| + dl = 0.52 |
| + av = 0.0133 |
| + bv = 0.0302 |
| + tref = 30.0 |
| + vt = 3.531e-3 |
| + ut = 7.238e-6 |
| rpwres r0 r1 |
| + r = rspwres*((l+dl)/w)*(1-av*(max(v(r0),v(r1))-min(v(r0),v(r1))))*(1+bv*(v(b)-min(v(r0),v(r1))))*(1+vt*(temp-tref)+ut*(temp-tref)*(temp-tref)) |
| .ends sky130_fd_pr__res_iso_pw |