Skip to content

Commit

Permalink
decoder testing
Browse files Browse the repository at this point in the history
  • Loading branch information
saeidEmadi committed May 8, 2024
1 parent 908ec70 commit 81a7947
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
int main(){
std::cout << "\n [Binary Convolutional Code run ...]\n";
std::cout << " Errors and Error Correcting Codes\n";
encoder e = encoder();
/*encoder e = encoder();
int bit;
while (true) {
std::cout << "enter bit : ";
Expand All @@ -15,7 +15,10 @@ int main(){
break;
}
e.encode(bool(bit & 0x1));
}
}*/

decoder d = decoder();
d.decode(0xD4);

return 0;
}

0 comments on commit 81a7947

Please sign in to comment.