; this is double nmos current mirror

DEFINE DOUBLE_NMIRR net1 net2 gnd
SUBCIRCUIT DOUBLE_NMIRR net1 net2 gnd

mn_1 net3 net1 net5
mn_2 net3 net2 net6
mn_3 net4 net5 gnd
mn_4 net4 net6 gnd

SYM 1 = 2
SYM 3 = 4
