Neural network for real-time synthesis of FIR filters