| * 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. |
| * statistics { |
| * mismatch { |
| * } |
| * } |
| .subckt sky130_fd_pr__cap_vpp_11p5x11p7_m1m2_noshield c0 c1 b |
| + |
| .param mult = 1 presim_flag = 0.0 |
| + |
| + lvpp = 5.1 wm1 = 0.14 wm2 = 0.14 |
| + ctot_a = {74.6e-15*sky130_fd_pr__cap_vpp_04p4x04p6_m1m2m3_shieldl1__cor+0.0283/sqrt(11.5*11.7*2*mult)*74.6e-15*sky130_fd_pr__cap_vpp_04p4x04p6_m1m2m3_shieldl1__cor*sky130_fd_pr__cap_vpp_08p6x07p8_l1m1m2_noshield_o1__generic_slope} |
| + rat_m2 = 0.5767 |
| + rat_m1 = 0.4233 |
| + cap_m2 = {rat_m2*ctot_a} |
| + cap_m1 = {rat_m1*ctot_a} |
| + caps_c0 = {(3.56+presim_flag*0.55)*1e-15*cli2s_vpp} |
| + caps_c1 = {2.01e-15*cli2s_vpp} |
| + nvia_c0 = 124.0 |
| + nvia_c1 = 62.0 |
| + nf = 40.0 |
| rm21 c0 a1 r = {2*rm2*lvpp/wm2*(1/3)*(1/nf)} |
| ccmvpp11p5x11p7_m1m2 a1 c1 c = {cap_m2} |
| rvia1 c0 d0 r = {rcvia/nvia_c0} |
| rvia2 c1 d1 r = {rcvia/nvia_c1} |
| rm11 d0 b1 r = {2*rm1*lvpp/wm1*(1/3)*(1/nf)} |
| cm1 b1 d1 c = {cap_m1} |
| csli1 d0 b c = {caps_c0} |
| csli2 d1 b c = {caps_c1} |
| .ends sky130_fd_pr__cap_vpp_11p5x11p7_m1m2_noshield |