The heterostructure ferromagnetic/semiconductor ZnSiAs2<Mn>/Si was obtained by using the Si-ZnAs2 phase diagram. The magnetic properties of Zn1-XMnXSiAs2 bulk crystals and ferromagnetic layered heterostructures were similar. The same method was used for preparing a ferromagnetic layer ZnGeAs2<Mn> on a germanium substrate.