1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
* Floating input, power and ground ports.

.include "models.sp"

.subckt sub I O VDD VCC GND VSS
M01 VDD I O VDD pch
M02 O I GND GND nch
.ends

.subckt testcase06 IN OUT VDD GND
X01 n1 OUT VDD n2 GND n3 sub
.ends
.end