1. A system comprising: a device including a plurality of memory locations, the plurality of memory locations including a set of memory locations encoded with device capability data, wherein the device is a pattern-recognition device; wherein the system is configured to access the device capability data from the set of memory locations and configure the device based on the device capability data, wherein configuring the device includes automatically calculating a number of device registers to be included in a bank of indirect registers.