A device for distributing the convolution coefficients of a least one convolution kernel of a convolutional neural network, said coefficients being carried by an input bus, to a set of processing units in a processor based on a convolutional-neural-network architecture, wherein the device comprises at least one switching network that is controlled by at least one control unit, the switching network comprising a set of switches that are arranged to apply circular shifts to at least one portion of the input bus, and in that, for each convolution kernel, each control unit is configured to dynamically control certain at least of the switches of the switching networks in response to an input event applied to the convolution kernel and at least one parameter representing the maximum size of the convolution kernels.