?? convenc.h
字號:
/* | | 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. |*//* | Project: WCDMA simulation environment | Module: Convolutional encoder | Author: Tommi Makelainen | Date: January 12, 1999 | | History: | January 12, 1999 Tommi Makelainen | Modified Rorabaugh's example code | to rate 1/3 code with constraint length | K=9 (i.e. length of memory shift register). | */#ifndef WCDMA_CONVENC_H#define WCDMA_CONVENC_H/* * Function: wcdma_1o3_k9_conv_init * Desc.: Extract given single bit value from a given byte. * * Note: * Generator polynomial are handled as bit masks. */void wcdma_1o3_k9_conv_init( MealyEncoder* this, /* data store for transitions */ int num_stages, /* length of shift register */ int gen_poly_1, /* gen. polynomial for output 1 */ int gen_poly_2, /* gen. polynomial for output 2 */ int gen_poly_3 /* gen. polynomial for output 3 */ );/* * Function: wcdma_R1o3_k9_conv_enc * Desc.: Extract given single bit value from a given byte. * * Note: */int wcdma_R1o3_k9_conv_enc( MealyEncoder* this, int input_size, int input[], int output[], int tail[]);#endif /* WCDMA_CONVENC_H */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -