⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test_blockinterleaver.c

📁 这是一个c++编写的WCDMA链路采用RAKE接收的方针源代码
💻 C
字号:
/* | | Copyright disclaimer: |   This software was developed at the National Institute of Standards |   and Technology by employees of the Federal Government in the course |   of their official duties. Pursuant to title 17 Section 105 of the |   United States Code this software is not subject to copyright |   protection and is in the public domain. | |   We would appreciate acknowledgement if the software is used. |*/#include <stdio.h>#include "interleaver.h"int main(int argc, char *argv[]){    int input[48], output[48], output2[48];    int i;    for (i=0; i < 48; i++) input[i] = i;    printf("after interleaving: ");    wcdma_block_interleaver(12, 4, input, output);    for (i=0; i < 48; i++) printf("%d ", output[i]);    printf("\n");    wcdma_block_deinterleaver(4, 12, output, output2);    printf("after de-interleaving: ");    for (i=0; i < 48; i++) printf("%d ", output2[i]);    printf("\n");    return;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -