ASIC/FPGA Design and Verification Out Source Services
C++ Reference model for ECC main code.
-
This code is part of the following
project:
A reference model, in c++, that generates ECC for a 256 bytes.
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:
- #!/bin/bash
- if [ -e "ecc_main_1.txt" ]; then #file exist remove it
- rm ecc_main_1.txt
- fi
- for i in {1..600} ; do
- ./a.out >> ecc_main_1.txt
- sleep 1;
- 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
|