Email: bknpk@hotmail.com Phone: +972-54-7649119


V

 

ASIC/FPGA Design and Verification Out Source Services

C++ Reference model for ECC.

  1. For an SD slave with Samsung flash (k9f1208) project, I wrote a reference model, in c++, that generates ECC for a 256 bytes.

  2. The model is based on a technical note from Micron namely TN-29-63: Error Correction Code (ECC) in SLC NAND.

  3. The code is built from three main blocks:
    1. The c++ main block: runs the code, randomize error location (byte and bit address), number of errors and checks results.
    2. The ECC block: calculates the ECC and allows for data correction.
    3. The random block: facilities randomization, which is required for testing.

  4. A bash script is used to run the test multiple times, generates random data and error locations and checks the results.


main, random, ECC, script,
The code is not free. To get it, please send an e-mail and put sd_cpp_ecc_single_errHamming in the subject.




Search This Site


Feedback This Site




new pages on this site