1. A method comprising: outputting, from a register of a pattern-recognition device, capability data indicative of capabilities of the pattern-recognition device; and receiving mappings of bits of a plurality of registers of the pattern-recognition device to logic cells of the pattern-recognition device according to the output capability data and one or more configuration formulas encoded in a memory storage medium to calculate a number of device registers to be included in a bank of indirect registers.