1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
* Input Pin Connectivity

.include "models.sp"

.subckt testcase04 IN1_OK IN2_OK IN3_OK IN4_BAD
*.PININFO IN1_OK:I IN2_OK:I IN3_OK:I IN4_BAD:I
* MOS diode is ok
M1 IN1_OK GND GND GND nch
* MOS gate is ok
M2 VDD IN2_OK GND GND nch
* diode is ok
D1 GND IN3_OK diode
* other e.g. resistor is not ok
R1 IN4_BAD GND 100
.ends

.end