MOS开关有cmos、nmos、pmos、rcmos、rnmos、rpmos。 例子:
pmos p1 (out, data, control1);
例子:
cmos (w, datain, ncontrol, pcontrol); //is equivalent to: nmos (w, datain, ncontrol); pmos (w, datain, pcontrol);