📄 gmsksimulation_acc.h
字号:
/*
* GMSKsimulation_acc.h
*
* Real-Time Workshop code generation for Simulink model "GMSKsimulation_acc.mdl".
*
* Model Version : 1.4
* Real-Time Workshop version : 6.6 (R2007a) 01-Feb-2007
* C source code generated on : Wed Mar 26 19:41:57 2008
*/
#ifndef _RTW_HEADER_GMSKsimulation_acc_h_
#define _RTW_HEADER_GMSKsimulation_acc_h_
#ifndef _GMSKsimulation_acc_COMMON_INCLUDES_
# define _GMSKsimulation_acc_COMMON_INCLUDES_
#include <math.h>
#include <stdlib.h>
#define S_FUNCTION_NAME simulink_only_sfcn
#define S_FUNCTION_LEVEL 2
#define RTW_GENERATED_S_FUNCTION
#include "rtwtypes.h"
#include "simstruc.h"
#include "fixedpoint.h"
#include "stdlib.h"
#include "cpm_rt.h"
#include "rt_nonfinite.h"
#endif /* _GMSKsimulation_acc_COMMON_INCLUDES_ */
#include "GMSKsimulation_acc_types.h"
/* Block signals (auto storage) */
typedef struct {
real_T B_0_2_0; /* '<S2>/Relational Operator' */
real_T B_0_6_0; /* '<S3>/CPM Demodulator Baseband' */
} BlockIO;
/* Block states (auto storage) for system '<Root>' */
typedef struct {
creal_T InputBuff[2]; /* '<S3>/CPM Demodulator Baseband' */
creal_T ModOutVec; /* '<S3>/CPM Demodulator Baseband' */
creal_T TrOutput[64]; /* '<S3>/CPM Demodulator Baseband' */
creal_T RxSym; /* '<S3>/CPM Demodulator Baseband' */
creal_T RefSym[2]; /* '<S3>/CPM Demodulator Baseband' */
real_T CPMModulatorBaseband_TapDelayBu[4];/* '<S4>/CPM Modulator Baseband' */
real_T TapDLineBuff[4]; /* '<S3>/CPM Demodulator Baseband' */
real_T OutBuff[2]; /* '<S3>/CPM Demodulator Baseband' */
real_T PhState; /* '<S3>/CPM Demodulator Baseband' */
real_T PhVect[2]; /* '<S3>/CPM Demodulator Baseband' */
real_T Phase[8]; /* '<S3>/CPM Demodulator Baseband' */
real_T StPhase[32]; /* '<S3>/CPM Demodulator Baseband' */
real_T TrNxtPhase[64]; /* '<S3>/CPM Demodulator Baseband' */
real_T MetricVec[2]; /* '<S3>/CPM Demodulator Baseband' */
real_T PathMemMetric[32]; /* '<S3>/CPM Demodulator Baseband' */
real_T TmpPMemMetric[32]; /* '<S3>/CPM Demodulator Baseband' */
real_T ModInVec[3]; /* '<S3>/CPM Demodulator Baseband' */
real_T PreHistData[3]; /* '<S3>/CPM Demodulator Baseband' */
real_T TmpInitData[3]; /* '<S3>/CPM Demodulator Baseband' */
creal_T CPMModulatorBaseband_TmpOut; /* '<S4>/CPM Modulator Baseband' */
real_T RandomSource_STATE_DWORK[35]; /* '<S2>/Random Source' */
real_T CPMModulatorBaseband_OutBuff[2];/* '<S4>/CPM Modulator Baseband' */
real_T CPMModulatorBaseband_phaseState;/* '<S4>/CPM Modulator Baseband' */
real_T CPMModulatorBaseband_phaseVecto[2];/* '<S4>/CPM Modulator Baseband' */
real_T CPMModulatorBaseband_bin2intVec;/* '<S4>/CPM Modulator Baseband' */
real_T CPMModulatorBaseband_Prehistory[3];/* '<S4>/CPM Modulator Baseband' */
real_T DynamicAWGN_STDDEV; /* '<S1>/Dynamic AWGN' */
real_T ErrorRateCalculation_ratio; /* '<Root>/Error Rate Calculation' */
real_T ErrorRateCalculation_errors; /* '<Root>/Error Rate Calculation' */
real_T ErrorRateCalculation_symbols; /* '<Root>/Error Rate Calculation' */
real_T ErrorRateCalculation_txBuff[6];/* '<Root>/Error Rate Calculation' */
void *CPMModulatorBaseband_PWORK; /* '<S4>/CPM Modulator Baseband' */
struct {
void *curTx;
void *curFr;
} ErrorRateCalculation_PWORK; /* '<Root>/Error Rate Calculation' */
int32_T InBuffTopIdx; /* '<S3>/CPM Demodulator Baseband' */
int32_T InBuffDtAvail; /* '<S3>/CPM Demodulator Baseband' */
int32_T InBuffBotIdx; /* '<S3>/CPM Demodulator Baseband' */
int32_T OutputBuff[8]; /* '<S3>/CPM Demodulator Baseband' */
int32_T OutBuffTopIdx; /* '<S3>/CPM Demodulator Baseband' */
int32_T OutBuffDtAvail; /* '<S3>/CPM Demodulator Baseband' */
int32_T OutBuffBotIdx; /* '<S3>/CPM Demodulator Baseband' */
int32_T TmpOutSymbols; /* '<S3>/CPM Demodulator Baseband' */
int32_T InitCondPtr[5]; /* '<S3>/CPM Demodulator Baseband' */
int32_T TapIdx; /* '<S3>/CPM Demodulator Baseband' */
int32_T RdIdx; /* '<S3>/CPM Demodulator Baseband' */
int32_T WrIdx; /* '<S3>/CPM Demodulator Baseband' */
int32_T TrInput[64]; /* '<S3>/CPM Demodulator Baseband' */
int32_T DecPathPos; /* '<S3>/CPM Demodulator Baseband' */
int32_T DecStMemInput[160]; /* '<S3>/CPM Demodulator Baseband' */
int32_T DecStMemPrevSt[160]; /* '<S3>/CPM Demodulator Baseband' */
int32_T StData[96]; /* '<S3>/CPM Demodulator Baseband' */
int32_T TmpDataInt[192]; /* '<S3>/CPM Demodulator Baseband' */
int32_T CPMModulatorBaseband_TapDelayIn;/* '<S4>/CPM Modulator Baseband' */
int32_T CPMModulatorBaseband_WriteIndex;/* '<S4>/CPM Modulator Baseband' */
int32_T CPMModulatorBaseband_ReadIndex;/* '<S4>/CPM Modulator Baseband' */
int32_T ErrorRateCalculation_STDelay;/* '<Root>/Error Rate Calculation' */
int32_T ErrorRateCalculation_width; /* '<Root>/Error Rate Calculation' */
uint32_T RandomSource_SEED_DWORK; /* '<S2>/Random Source' */
uint32_T RandomSource_SEED_DWORK_a; /* '<S1>/Random Source' */
uint32_T RandomSource_STATE_DWORK_h[2];/* '<S1>/Random Source' */
boolean_T DecTBack; /* '<S3>/CPM Demodulator Baseband' */
boolean_T ErrorRateCalculation_frBuff[6];/* '<Root>/Error Rate Calculation' */
boolean_T ErrorRateCalculation_useFrame;/* '<Root>/Error Rate Calculation' */
boolean_T ErrorRateCalculation_txScalar;/* '<Root>/Error Rate Calculation' */
boolean_T ErrorRateCalculation_rxScalar;/* '<Root>/Error Rate Calculation' */
char pad_ErrorRateCalculation_rxScalar[6];
} D_Work;
/* Parameters (auto storage) */
struct Parameters {
real_T P_0; /* Expression: MinVal
* '<S2>/Random Source'
*/
real_T P_1; /* Expression: MaxVal
* '<S2>/Random Source'
*/
real_T P_2; /* Expression: Value
* '<S5>/Constant'
*/
real_T P_3[5]; /* Expression: params.gMod
* '<S4>/CPM Modulator Baseband'
*/
real_T P_4; /* Expression: phaseOffset
* '<S4>/CPM Modulator Baseband'
*/
real_T P_5; /* Computed Parameter: VarianceRTP
* '<S1>/Random Source'
*/
real_T P_6; /* Expression: SNRdB
* '<S1>/Dynamic AWGN'
*/
real_T P_7; /* Expression: Ps
* '<S1>/Dynamic AWGN'
*/
real_T P_8[3]; /* Expression: params.preHistory
* '<S3>/CPM Demodulator Baseband'
*/
real_T P_9[5]; /* Expression: params.gMod
* '<S3>/CPM Demodulator Baseband'
*/
real_T P_10; /* Expression: phaseOffset
* '<S3>/CPM Demodulator Baseband'
*/
creal_T P_11; /* Computed Parameter: MeanRTP
* '<S1>/Random Source'
*/
uint32_T P_12; /* Computed Parameter: InitSeed
* '<S2>/Random Source'
*/
uint32_T P_13; /* Computed Parameter: InitSeed
* '<S1>/Random Source'
*/
};
extern Parameters rtDefaultParameters; /* parameters */
#endif /* _RTW_HEADER_GMSKsimulation_acc_h_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -