Working on a bear metal application in a Nios II embedded processor. A requirement of the product is that it does a full range memory test of the SRAM which the application