A time-of-flight (ToF) sensor comprising: an array of pixels arranged in rows and columns, the array of pixels comprising first and second subsets of pixels , each pixel of the array of pixels configured to generate event signals; a first plurality of time to digital converters (TDCs); a second plurality of TDCs; a first routing bus coupled to the first and second pluralities of TDCs and to the first and second subsets of pixels, the first routing bus comprising a first plurality of bus drivers associated with the first subset of pixels and a second plurality of bus drivers associated with the second subset of pixels, the first plurality of bus drivers coupled to the second plurality of TDCs via the second plurality of bus drivers, and the second plurality of bus drivers coupled to the first plurality of TDCs via the first plurality of bus drivers; and a controller configured to: when the first subset of pixels is active and the second subset of pixels is not active, control the first plurality of bus drivers to route event signals from half of the pixels of the first subset of pixels to the first plurality of TDCs and control the first and second plurality of bus drivers to route event signals from the other half of the pixels of the first subset of pixels to the second plurality of TDCs, and when the first subset of pixels is not active and the second subset of pixels is active, control the first plurality of bus drivers to route event signals from the second subset of pixels to the first plurality of TDCs. an array of pixels arranged in rows and columns, the array of pixels comprising first and second subsets of pixels , each pixel of the array of pixels configured to generate event signals; a first plurality of time to digital converters (TDCs); a second plurality of TDCs; a first routing bus coupled to the first and second pluralities of TDCs and to the first and second subsets of pixels, the first routing bus comprising a first plurality of bus drivers associated with the first subset of pixels and a second plurality of bus drivers associated with the second subset of pixels, the first plurality of bus drivers coupled to the second plurality of TDCs via the second plurality of bus drivers, and the second plurality of bus drivers coupled to the first plurality of TDCs via the first plurality of bus drivers; and a controller configured to: when the first subset of pixels is active and the second subset of pixels is not active, control the first plurality of bus drivers to route event signals from half of the pixels of the first subset of pixels to the first plurality of TDCs and control the first and second plurality of bus drivers to route event signals from the other half of the pixels of the first subset of pixels to the second plurality of TDCs, and when the first subset of pixels is not active and the second subset of pixels is active, control the first plurality of bus drivers to route event signals from the second subset of pixels to the first plurality of TDCs. when the first subset of pixels is active and the second subset of pixels is not active, control the first plurality of bus drivers to route event signals from half of the pixels of the first subset of pixels to the first plurality of TDCs and control the first and second plurality of bus drivers to route event signals from the other half of the pixels of the first subset of pixels to the second plurality of TDCs, and when the first subset of pixels is not active and the second subset of pixels is active, control the first plurality of bus drivers to route event signals from the second subset of pixels to the first plurality of TDCs. <EOS>