* C:\Users\mypc\eSim-Workspace\pseudo.cir

.lib "models/sky130.lib.spice" tt

XM2  D0 A0BAR Net-_M2-Pad3_ GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM3  Net-_M2-Pad3_ A1BAR GND GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM1  D0 GND Vdd Vdd sky130_fd_pr__pfet_01v8 w=1 l=0.5	
XM4  D0 D0 Vdd Vdd sky130_fd_pr__pfet_01v8 w=1 l=0.5		
XM5  D0 D0 GND GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM7  D1 A1BAR Net-_M7-Pad3_ GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM8  Net-_M7-Pad3_ A0 GND GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5	
XM6  D1 GND Vdd Vdd sky130_fd_pr__pfet_01v8 w=1 l=0.5		
XM9  D1 D1 Vdd Vdd sky130_fd_pr__pfet_01v8 w=1 l=0.5		
XM10  D1 D1 GND GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM12  D2 A1 Net-_M12-Pad3_ GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM13  Net-_M12-Pad3_ A0BAR GND GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM15  D2 D2 GND GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM19  D3 D3 Vdd Vdd sky130_fd_pr__pfet_01v8 w=1 l=0.5		
XM20  D3 D3 GND GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM21  A0BAR A0 Vdd Vdd sky130_fd_pr__pfet_01v8 w=1 l=0.5		
XM22  A0BAR A0 GND GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM23  A1BAR A1 Vdd Vdd sky130_fd_pr__pfet_01v8 w=1 l=0.5		
XM24  A1BAR A1 GND GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM18  Net-_M17-Pad3_ A0 GND GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM17  D3 A1 Net-_M17-Pad3_ GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM14  D2 D2 Vdd Vdd sky130_fd_pr__pfet_01v8 w=1 l=0.5		
		
XM11  D2 GND Vdd Vdd sky130_fd_pr__pfet_01v8 w=1 l=0.5		
XM16  D3 GND Vdd Vdd sky130_fd_pr__pfet_01v8 w=1 l=0.5

Vdd Vdd 0 3.3
Vd0 A0 0 pulse(0 1.8 0s 0s 0s 5us 10us)
Vd1 A1 0 pulse(0 1.8 0s 0s 0s 10us 20us)

.tran 0.1us 40us
.control
run
 
plot V(A0) 
plot V(A1)
plot V(A0BAR)
plot V(A1BAR) 
plot V(D0) 
plot V(D1)
plot V(D2)
plot V(D3)
.endc
 .end











* C:\Users\mypc\eSim-Workspace\passtransistor.cir

.lib "models/sky130.lib.spice" tt

XM1  D3 GND Vdd Vdd sky130_fd_pr__pfet_01v8 w=1 l=0.5	
XM2  D2 GND Vdd Vdd sky130_fd_pr__pfet_01v8 w=1 l=0.5		
XM3  D1 GND Vdd Vdd sky130_fd_pr__pfet_01v8 w=1 l=0.5		
XM4  D0 GND Vdd Vdd sky130_fd_pr__pfet_01v8 w=1 l=0.5		
XM6  D1 A1 GND Net-_M6-Pad4_ sky130_fd_pr__nfet_01v8 w=.42 l=0.5	
XM7  D0 Net-_M6-Pad4_ GND GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM8  D3 A1BAR GND Net-_M8-Pad4_ sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM9  D2 Net-_M8-Pad4_ GND GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5	
XM10  D2 A0 GND Net-_M10-Pad4_ sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM11  D0 Net-_M10-Pad4_ GND GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM12  D3 A0BAR GND Net-_M12-Pad4_ sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM13  D1 Net-_M12-Pad4_ GND GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM14  A0BAR A0 Vdd Vdd  sky130_fd_pr__pfet_01v8 w=1 l=0.5		
XM15  A0BAR A0 GND GND sky130_fd_pr__nfet_01v8 w=.42 l=0.5		
XM16  A1BAR A1 Vdd Vdd sky130_fd_pr__pfet_01v8 w=1 l=0.5	
XM17  A1BAR A1 GND GND 	sky130_fd_pr__nfet_01v8 w=.42 l=0.5	
		

Vdd Vdd 0 3.3
Vd0 A0 0 pulse(0 1.8 0s 0s 0s 5us 10us)
Vd1 A1 0 pulse(0 1.8 0s 0s 0s 10us 20us)

.tran 0.1us 40us
.control
run
 
plot V(A0) 
plot V(A1)
plot V(A0BAR)
plot V(A1BAR) 
plot V(D0) 
plot V(D1)
plot V(D2)
plot V(D3)
.endc
.end
