Text this: Built-in self test logic for a histogrammer memory chip