| v {xschem version=3.0.0 file_version=1.2 |
| |
| * Copyright 2021 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 {} |
| V {} |
| S {} |
| E {} |
| N 660 -350 700 -350 { lab=ZN} |
| N 780 -350 820 -350 { lab=ZZ} |
| N 500 -370 540 -370 { lab=AA} |
| N 500 -330 540 -330 { lab=BB} |
| N 230 -410 230 -390 { lab=VSS} |
| N 230 -490 230 -470 { lab=VCC} |
| N 230 -230 230 -210 { lab=VSS} |
| N 230 -310 230 -290 { lab=AA} |
| N 230 -90 230 -70 { lab=VSS} |
| N 230 -170 230 -150 { lab=BB} |
| N 340 -410 340 -390 { lab=0} |
| N 340 -490 340 -470 { lab=VSS} |
| C {devices/title.sym} 160 -30 0 0 {name=l1 author="Stefan Schippers"} |
| C {sky130_tests/lvnand.sym} 590 -350 0 0 {name=x1 WidthN=1 LenN=0.15 WidthP=1 LenP=0.15 VCCPIN=VCC VSSPIN=VSS m=1} |
| C {devices/lab_wire.sym} 690 -350 0 0 {name=l2 sig_type=std_logic lab=ZN} |
| C {devices/lab_wire.sym} 820 -350 0 0 {name=l3 sig_type=std_logic lab=ZZ} |
| C {devices/lab_pin.sym} 500 -370 0 0 {name=l4 sig_type=std_logic lab=AA} |
| C {devices/lab_pin.sym} 500 -330 0 0 {name=l5 sig_type=std_logic lab=BB} |
| C {devices/vsource.sym} 230 -440 0 0 {name=V1 value=1.8} |
| C {devices/lab_pin.sym} 230 -390 0 0 {name=l6 sig_type=std_logic lab=VSS} |
| C {devices/lab_pin.sym} 230 -490 0 0 {name=l7 sig_type=std_logic lab=VCC} |
| C {devices/vsource.sym} 230 -260 0 0 {name=V2 value="pulse 0 1.8 0 1n 1n 10n 20n"} |
| C {devices/lab_pin.sym} 230 -210 0 0 {name=l8 sig_type=std_logic lab=VSS} |
| C {devices/lab_pin.sym} 230 -310 0 0 {name=l9 sig_type=std_logic lab=AA} |
| C {devices/vsource.sym} 230 -120 0 0 {name=V3 value="pulse 0 1.8 0 1n 1n 13n 26n"} |
| C {devices/lab_pin.sym} 230 -70 0 0 {name=l10 sig_type=std_logic lab=VSS} |
| C {devices/lab_pin.sym} 230 -170 0 0 {name=l11 sig_type=std_logic lab=BB} |
| C {sky130_tests/not.sym} 740 -350 0 0 {name=x3 m=1 |
| + W_N=1 L_N=0.15 W_P=2 L_P=0.15 |
| + VCCPIN=VCC VSSPIN=VSS} |
| C {devices/code.sym} 20 -440 0 0 {name=NGSPICE |
| only_toplevel=true |
| value=" |
| .control |
| tran 0.1n 200n |
| save all |
| plot aa bb+2 zz+4 |
| .endc |
| " } |
| C {devices/code.sym} 20 -240 0 0 {name=TT_MODELS |
| only_toplevel=true |
| format="tcleval( @value )" |
| value=" |
| ** opencircuitdesign pdks install |
| .lib $::SKYWATER_MODELS/sky130.lib.spice tt |
| |
| " |
| spice_ignore=false} |
| C {devices/vsource.sym} 340 -440 0 0 {name=V4 value=0} |
| C {devices/lab_pin.sym} 340 -390 0 0 {name=l12 sig_type=std_logic lab=0} |
| C {devices/lab_pin.sym} 340 -490 0 0 {name=l13 sig_type=std_logic lab=VSS} |