|

DEFINE CASCODE vdd gnd cur3 cur1 net5 net7
SUBCIRCUIT CASCODE vdd gnd cur3 cur1 net5 net7

mn_1 vb3 out net7
mn_2 vb3 net8 net5
mn_3 cur1 net7 gnd
mn_4 cur1 net5 gnd
mp_6 cur3 net11 out
mp_8 cur3 net9 net8
mp_9 net8 vdd net11
mp_10 net8 vdd net9

SYM 1 = 2
SYM 3 = 4
SYM 6 = 8
SYM 9 = 10
