Implements a generic VHDL entity for data filtering based on a bitmask and comparison modes. Supports configurable filtering modes such as 'none', 'or', 'and', 'xor', 'equal', and 'not_equal'. Integrates AXI-like valid/ready handshake for synchronous data transfer. Ensures proper handling of unrecognized modes and validates mask size at runtime.