blob: 34663961db8f5f79b824a3173ae8f56c59fee8e4 [file] [log] [blame]
v {xschem version=2.9.9 file_version=1.2
* Copyright 2020 Stefan Frederik Schippers
*
* 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.
}
G {}
K {type=n_diffusion_resistor
format="@spiceprefix@name @pinlist sky130_fd_pr__@model W=@W L=@L mult=@mult m=@mult"
template="name=R1
rho=120
W=1
L=1
model=res_generic_nd
spiceprefix=X
mult=1"
}
V {}
S {}
E {}
L 4 0 20 0 30 {}
L 4 0 20 7.5 17.5 {}
L 4 -7.5 12.5 7.5 17.5 {}
L 4 -7.5 12.5 7.5 7.5 {}
L 4 -7.5 2.5 7.5 7.5 {}
L 4 -7.5 2.5 7.5 -2.5 {}
L 4 -7.5 -7.5 7.5 -2.5 {}
L 4 -7.5 -7.5 7.5 -12.5 {}
L 4 -7.5 -17.5 7.5 -12.5 {}
L 4 -7.5 -17.5 0 -20 {}
L 4 0 -30 0 -20 {}
L 4 -8.75 -27.5 -8.75 -17.5 {}
L 4 -8.75 17.5 -8.75 27.5 {}
L 4 -15 22.5 -12.5 22.5 {}
L 4 -15 -22.5 -15 22.5 {}
L 4 -15 -22.5 -12.5 -22.5 {}
L 4 -20 -0 -15 0 {}
L 4 -8.75 22.5 0 22.5 {}
L 4 -8.75 -22.5 0 -22.5 {}
B 5 -2.5 27.5 2.5 32.5 {name=M dir=inout propag=1 pinnumber=2}
B 5 -2.5 -32.5 2.5 -27.5 {name=P dir=inout propag=0 pinnumber=1}
B 5 -22.5 -2.5 -17.5 2.5 {name=B dir=inout pinnumber=1}
P 4 4 -12.5 -25 -12.5 -20 -8.75 -22.5 -12.5 -25 {}
P 4 4 -12.5 20 -12.5 25 -8.75 22.5 -12.5 20 {}
T {B} -15 -12.5 0 1 0.15 0.15 {layer=7}
T {@name} 15 -28.75 0 0 0.2 0.2 {}
T {@mult * @W / @L} 15 6.25 0 0 0.2 0.2 {layer=13}
T {@model} 15 -11.25 0 0 0.2 0.2 {}