A filtering device having a hierarchical structure configurable to carry out either finite impulse response linear filtering functions or infinite impulse response linear filtering functions and being able to be combined with one or more devices of the same type, said device comprising at least one first and second filtering module, comprising means for carrying out filtering functions with N configurable coefficients, wherein a first subset of the N coefficients of a filtering module is configured to carry out non-recursive filtering functions, a second subset of said coefficients can be configured to carry out recursive filtering functions, one or more feedback loops can be activated per filtering module, the device being configured such that the output samples of the first filtering module are either directed directly at the input of the second filtering module or at an output port of the filtering device, at least one result sample of the filtering result being generated at each clock cycle, the filtering device comprising at least: a main input port transmitting, to the filtering device, a stream of samples to be filtered, said port being connected to the two filtering modules (1, 2); a secondary input port connected to the first filtering module to transmit a second stream of samples to the filtering device; a main output port to transmit the result of the filtering operations at the output of the filtering device after combination of the streams at the output of each reconfigurable filtering module; a secondary output port to transmit a result after filtering consisting of a stream of samples taken at the output of the second filtering module, said port being able to be connected to the secondary input port of another digital filtering device; and a first LIFO circuit placed at the output of the first filtering module and a second LIFO circuit placed at the input of the second filtering module to generate anti-causal streams of samples, said LIFO circuits being inactivated when the filtering modules are configured to execute finite impulse response filters and the LIFO circuits being activated when the filtering modules are configured to execute infinite impulse response filters, said LIFO circuits, when activated, simultaneously carrying out a causal recursive processing of the stream of samples to be filtered, the order of samples at the output of the first filtering module being reversed by the first LIFO circuit and an anti-causal recursive processing of the stream of samples to be filtered, where the order of the samples is reversed by the second LIFO circuit. a main input port transmitting, to the filtering device, a stream of samples to be filtered, said port being connected to the two filtering modules (1, 2); a secondary input port connected to the first filtering module to transmit a second stream of samples to the filtering device; a main output port to transmit the result of the filtering operations at the output of the filtering device after combination of the streams at the output of each reconfigurable filtering module; a secondary output port to transmit a result after filtering consisting of a stream of samples taken at the output of the second filtering module, said port being able to be connected to the secondary input port of another digital filtering device; and a first LIFO circuit placed at the output of the first filtering module and a second LIFO circuit placed at the input of the second filtering module to generate anti-causal streams of samples, said LIFO circuits being inactivated when the filtering modules are configured to execute finite impulse response filters and the LIFO circuits being activated when the filtering modules are configured to execute infinite impulse response filters, said LIFO circuits, when activated, simultaneously carrying out a causal recursive processing of the stream of samples to be filtered, the order of samples at the output of the first filtering module being reversed by the first LIFO circuit and an anti-causal recursive processing of the stream of samples to be filtered, where the order of the samples is reversed by the second LIFO circuit.