Modular demodulator