The Automatic Gain Control (AGC) IP is a digital signal processing core designed to maintain a stable signal amplitude in systems where input signal strength can vary dynamically. It operates as a closed-loop control system that continuously monitors the signal magnitude and adjusts the gain to maintain a consistent output level suitable for downstream processing. The core implements several key functional stages, including DC offset compensation, magnitude calculation, IIR-based averaging, adaptive step size generation, and gain accumulation. These modules work together to dynamically equalize input signal variations and smooth out rapid fluctuations, ensuring signal stability. The AGC IP supports real-time operation with fast convergence (within tens of clock cycles) and provides configurable parameters for tuning response behavior based on system requirements. It also includes features such as hold functionality to preserve gain during packet processing and bypass capability for flexible operation modes.