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


V

 

ASIC/FPGA Design and Verification Out Source Services

C++ Reference model for ECC main code.

  1. This code is part of the following project: A reference model, in c++, that generates ECC for a 256 bytes.

  2. The regression script is the easiest part in this small ECC project. It is a bash script, that runs the program multiple times and stores results:
    1. #!/bin/bash
    2. if [ -e "ecc_main_1.txt" ]; then #file exist remove it
    3.   rm ecc_main_1.txt
    4. fi
    5. for i in {1..600} ; do
    6.   ./a.out >> ecc_main_1.txt
    7.   sleep 1;
    8. done

    The results is of the following format: Single line without the prefix Error * is okay ( i.e. was corrected), multiple lines means multiple errors, which were not corrected.
    errors 8b 89 129 0

    errors 83 87 34 0

    errors a 4a 53 0
    errors e1 a1 217 1
    errors a 4a 53
    errors e1 a1 217
    errors eb fb 120






Search This Site


Feedback This Site




new pages on this site