arXiv:2610.38752cs.DCOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.38752

Hardwired Distributed Processing Units at the Sensor: Truly Parallel Vision Pre-Processing that Frees the Host CPU

Raj Mali

Raj Mali

Independent Researcher

raj.mali.research@gmail.com

ORCID: 0009-0001-6351-0062

Abstract—A vision system that sends every pixel to its host processor makes that processor wait for each complete frame and then spend part of every frame period on routine preprocessing. We propose instead to distribute this work into hardwired distributed processing units (HDPUs): small fixed datapaths attached directly to the sensor, each dedicated to one always-on task, all operating truly in parallel on the same pixel stream and passing compact results to the host. From a single library of 3×33 \times 3 operators with a common two-clock latency, we build three HDPUs (Canny edges, Harris corners and a line tracker that emits a steering decision) and run them side by side on one camera stream in a low-cost Artix-7 FPGA, using 2,568 LUTs and an estimated 0.318 W. Every stage of every HDPU is bit-exact with its software model. In a full-system simulation with a datasheet camera model, the HDPUs deliver each decision within 11.03 camera lines of its pixel, 22−67×22-67\times sooner than the earliest moment a frame-based program on the host could, with a latency that varies by at most 17 ns, whereas the host's own run times reached 12.5×12.5\times their median. Offloading the three tasks returns to the host 18–30 % of a core in every frame period at 640×480640 \times 480, and 63 % of the frame period, using all its threads, at 1080p. HDPU cost grows with frame width only through line buffers, and in a closed-loop model of a line-following vehicle the HDPU raises the highest speed at which the line is held from 4.75 to 10.00 m/s.

Index Terms—hardwired distributed processing units, near-sensor computing, FPGA, hardwired datapath, parallelism, off-load, latency, determinism, Canny, Harris corners

I. INTRODUCTION

In most vision systems, the camera sends every pixel to a central processor, which stores the frame and then runs a program over it. Modern processors do this well: with SIMD units, multiple cores and a library such as OpenCV [1], a laptop processes a VGA frame through several detectors in a few milliseconds [2]. Yet this organisation makes the processor the bottleneck for two reasons. It cannot decide anything until the whole frame has arrived, which takes tens of milliseconds; and the routine pre-processing (edges, corners, a tracking signal) consumes part of every frame period, every frame, leaving less time for the work that actually needs a processor.

We argue for a distributed organisation in which such routine, time-critical tasks run in hardwired distributed processing units (HDPUs) placed at the sensor, in the spirit of near-sensor computing [3]. An HDPU is a fixed datapath for one task, with no instruction stream, operating system or frame buffer. Pixels

flow from the sensor pins through its logic, and every result leaves a fixed number of clock cycles and image lines after its input. Several HDPUs observe the same pixel stream at the same time, each with its own logic, so they are parallel in the literal sense: no unit waits for, shares a bus with, or is scheduled against another. The host remains the master core: it receives compact results (an edge map, a list of corners, a steering code) instead of raw frames, and spends its time on the flexible work that only it can do. We call the always-on task that an HDPU performs a reflex.

A companion paper [4] presented one such unit, a Canny edge detector [5] built from a library of 3×33 \times 3 operators with a common two-clock latency. This paper asks whether the approach generalises to a set of cooperating units, and what the system gains from them. Our contributions are:

  1. Three HDPUs from one operator library, the Canny unit and two new ones, a Harris corner detector [6] and a dark-line tracker that turns morphological filtering [7] into a steering decision, running in parallel on one camera stream with one shared Gaussian stage in a single low-cost FPGA (Section III).

  2. A verification chain in which every HDPU is bit-exact, stage by stage, across a Python model, RTL simulation, a full-system simulation with a camera model, and a C++ port (Section IV).

  3. A quantified case for offloading: decision latency from the sensor, its variation, the share of the host's frame period returned to it, and the data that must be held before a decision, measured against carefully controlled host software (Section V).

  4. A resolution-scaling study from 320×240320 \times 240 to 1920×10801920 \times 1080, and a closed-loop model that shows what the HDPU's latency means for a vehicle (Sections V-F and V-G).