Spectral techniques in digital logic