Doped semiconductor lattice