Differential content-addressable memory, dCAM, array (1600), comprising: a plurality of rows (1610) and columns (1615) of dCAM cells (1500, 1605), each row of the dCAM cells containing a high-
match line (1511) and a low-
match line (1510); a detection circuit (1620) electrically connected to the high-
match line and the low-match line, the detection circuit comprising: a
transimpedance amplifier, TIA, (1730) configured to detect a match
line current on the low-match line, and an analog-to-
digital converter, ADC, (1720) configured to detect an output
voltage of the TIA and a match line
voltage of the high-match line; and a digital-to-analog converter, DAC, (1625), which is electrically connected to each column of the dCAM cells.