blob: 736a27cfe0971628620bdb1b562ac089c15acd46 [file] [log] [blame]
Tim Edwards5cc020d2021-05-06 11:54:28 -04001v {xschem version=2.9.9 file_version=1.2 }
2G {}
3K {}
4V {}
5S {}
6E {}
7N 300 -290 510 -290 { lab=#net1}
8N 590 -290 590 -250 { lab=#net1}
9N 300 -250 430 -250 { lab=GND}
10N 510 -250 510 -150 { lab=GND}
11N 510 -150 780 -150 { lab=GND}
12N 780 -190 780 -150 { lab=GND}
13N 690 -190 690 -150 { lab=GND}
14N 590 -190 590 -150 { lab=GND}
15N 300 -210 400 -210 { lab=#net2}
16N 480 -270 480 -210 { lab=#net2}
17N 480 -270 690 -270 { lab=#net2}
18N 690 -270 690 -250 { lab=#net2}
19N 300 10 450 10 { lab=#net3}
Tim Edwardsdba051e2021-05-06 15:14:34 -040020N 850 -270 850 0 { lab=io_analog[4]}
21N 780 -270 850 -270 { lab=io_analog[4]}
22N 780 -270 780 -250 { lab=io_analog[4]}
Tim Edwards5cc020d2021-05-06 11:54:28 -040023N 300 30 470 30 { lab=io_clamp_high[2:0]}
24N 300 50 410 50 { lab=GND}
25N 550 30 630 30 { lab=io_clamp_high[2:0]}
26N 630 30 630 90 { lab=io_clamp_high[2:0]}
27N 500 160 810 160 { lab=GND}
28N 810 -150 810 160 { lab=GND}
29N 780 -150 810 -150 { lab=GND}
30N 530 10 660 10 { lab=io_analog[10:0]}
31N 510 -290 590 -290 { lab=#net1}
32N 430 -250 510 -250 { lab=GND}
33N 400 -210 480 -210 { lab=#net2}
34N 470 30 550 30 { lab=io_clamp_high[2:0]}
35N 460 10 530 10 { lab=io_analog[10:0]}
36N 410 50 490 50 { lab=io_clamp_low[2:0]}
37N 490 50 490 160 { lab=GND}
38N 490 160 500 160 { lab=GND}
39N 300 -50 620 -50 { lab=io_oeb[26:0]}
40N 300 -70 480 -70 { lab=io_out[26:0]}
41N 520 -150 520 -60 { lab=io_oeb[16:15]}
42N 610 -150 610 -60 { lab=io_oeb[12:11]}
Tim Edwardsdba051e2021-05-06 15:14:34 -040043N 850 -0 850 40 { lab=io_analog[4]}
Tim Edwards5cc020d2021-05-06 11:54:28 -040044N 640 40 810 40 { lab=io_clamp_high[2:1]}
Tim Edwardsdba051e2021-05-06 15:14:34 -040045N 670 0 850 -0 { lab=io_analog[4]}
Tim Edwards5cc020d2021-05-06 11:54:28 -040046N 640 100 850 100 { lab=io_clamp_high[0]}
Tim Edwardsdba051e2021-05-06 15:14:34 -040047N 850 40 850 100 { lab=io_analog[4]}
48N 300 -270 400 -270 { lab=#net4}
49N 300 -230 400 -230 { lab=#net5}
50N 300 -190 400 -190 { lab=#net6}
51N 300 -190 400 -190 { lab=#net6}
52N 300 -170 400 -170 { lab=#net7}
53N 290 -150 390 -150 { lab=#net8}
54N 290 -130 390 -130 { lab=#net9}
55N 290 -110 390 -110 { lab=#net10}
56N 300 -90 400 -90 { lab=#net11}
57N 300 -30 400 -30 { lab=#net12}
58N 300 -10 400 -10 { lab=#net13}
59N 300 70 400 70 { lab=#net14}
60N -60 -290 -0 -290 { lab=#net15}
61N -60 -270 0 -270 { lab=#net16}
62N -60 -250 0 -250 { lab=#net17}
63N -60 -230 0 -230 { lab=#net18}
64N -60 -210 0 -210 { lab=#net19}
65N -60 -210 0 -210 { lab=#net19}
66N -60 -190 0 -190 { lab=#net20}
67N -60 -190 0 -190 { lab=#net20}
68N -60 -170 0 -170 { lab=#net21}
69N -60 -150 0 -150 { lab=#net22}
70N -60 -130 0 -130 { lab=#net23}
71N -60 -110 0 -110 { lab=#net24}
72N -60 -90 0 -90 { lab=#net25}
73N -60 -70 0 -70 { lab=#net26}
74N -60 -50 0 -50 { lab=#net27}
Tim Edwards5cc020d2021-05-06 11:54:28 -040075C {user_analog_project_wrapper.sym} 150 -110 0 0 {name=x1}
Tim Edwardsdba051e2021-05-06 15:14:34 -040076C {devices/vsource.sym} 590 -220 0 0 {name=V1 value="PWL(0.0 0 400u 0 5.4m 3.3)"}
77C {devices/vsource.sym} 690 -220 0 0 {name=V2 value="PWL(0.0 0 300u 0 5.3 1.8)"}
78C {devices/vsource.sym} 780 -220 0 0 {name=V3 value="PWL(0.0 0 100u 0 5m 3.3)"}
79C {devices/bus_connect.sym} 660 10 1 1 {name=l1 lab=io_analog[4]}
Tim Edwards5cc020d2021-05-06 11:54:28 -040080C {devices/gnd.sym} 730 -150 0 0 {name=l2 lab=GND}
81C {devices/bus_connect.sym} 630 30 1 0 {name=l3 lab=io_clamp_high[2:1]}
82C {devices/bus_connect.sym} 630 90 1 0 {name=l8 lab=io_clamp_high[0]}
83C {devices/lab_pin.sym} 570 30 0 0 {name=l11 sig_type=std_logic lab=io_clamp_high[2:0]}
84C {devices/lab_pin.sym} 570 10 0 0 {name=l12 sig_type=std_logic lab=io_analog[10:0]}
85C {devices/lab_pin.sym} 480 50 0 0 {name=l9 sig_type=std_logic lab=io_clamp_low[2:0]}
86C {devices/lab_pin.sym} 450 -50 0 0 {name=l4 sig_type=std_logic lab=io_oeb[26:0]}
87C {devices/lab_pin.sym} 450 -70 0 0 {name=l5 sig_type=std_logic lab=io_out[26:0]}
88C {devices/bus_connect.sym} 510 -50 0 0 {name=l6 lab=io_oeb[16:15]}
89C {devices/bus_connect.sym} 600 -50 0 0 {name=l7 lab=io_oeb[12:11]}
Tim Edwardsdba051e2021-05-06 15:14:34 -040090C {devices/code_shown.sym} 920 -130 0 0 {name=s1 only_toplevel=false value=".param mc_mm_switch=0
91.lib /usr/share/pdk/sky130A/libs.tech/ngspice/sky130.lib.spice tt
92.include /usr/share/pdk/sky130A/libs.ref/sky130_fd_sc_hvl/spice/sky130_fd_sc_hvl.spice
93.control
94tran 10u 20m
95plot V(io_out[11]) V(io_out[12]) V(io_out[15]) V(io_out[16])
96+ V(gpio_analog[3]) V(gpio_analog[7])
97.endc"}