1. A method, comprising: performing a read-only memory (ROM) built-in-self-test (BIST) to determine a bit failure; identifying a row having the bit failure; comparing columns of the row having the bit failure with expected results to determine the location of the bit failure; and performing a soft repair to repair the bit failure in a ROM.