목록coding (1)
컴공생의 다이어리
[c] 2-layer channel coding Encoder(인코더)와 Decoder(디코더)
2-layer channel coding Encoder(인코더) Code - Encoder의 입력은 16bit, 출력은 42bit의 codeword // 2-layer Channel Coding Encoder #include #include int main() { char input[17] = { 0 }; int input_shift[24] = { 0, }; int g[9] = { 1,0,0,0,0,0,1,1,1 }; char temp[25] = { 0 }; printf("--------- 2-layer Channel Coding Encoder ---------\n"); printf("Input: "); scanf("%s",input); ///////////////////// crc-8 encoder /..
Development/C & C++
2021. 6. 11. 00:01