Multilevel diffraction gratings inside silicon towards spectral filtering | Synapse