An AHDL-based methodology for computer simulation of switched-capacitor filters