1module nmos_trans #(.Diz(1), .Dgz(1)) (Z, S, G); 2 input ${SGZ_RANGE} S, G; 3 output ${SGZ_RANGE} Z; 4 5// specify 6// (G *> Z) = Dgz; 7// (S *> Z) = Diz; 8// endspecify 9 10 nmos #Dgz mos${SGZ_RANGE} (Z, ${invZ}S, G); 11 12endmodule // nmos_trans 13