A method for forming a shallow trench isolation layer that includes:
forming a pad oxide on a substrate; forming a hard mask silicon nitride
on the pad oxide; forming a moat pattern on the pad oxide and hard mask;
etching partially the pad oxide and hard mask with the moat pattern to
open the silicon nitride; and ashing process for removing the moat
pattern.