Qualcomm interview question

how would you test a RAM ?

Interview Answers

Anonymous

Nov 19, 2012

You would write to and read from every memory block. For example, in an 8-bit RAM chip you could write 0x55 to address block 0 and then read it from address block 0 to verify that the data written matches the data read. Next you would write 0xAA to the same address to toggle all the bits and run through the same read/write cycle. Continue for all RAM memory blocks of the data read always matches your RAM is good.

3

Anonymous

Apr 11, 2013

To structurally test the memory, there are well established algorithms such as checkerboard, walking 1/0, moving inversion etc. that are used. It is also necessary to check addressing muxes to ensure correct access to memory locations. You also want to check functional behavior of memory (though only during validation, not needed for mfg....you use structural tests for that).

2