📄 msmodulation2.mdl
字号:
FunctionName "system"
PortCounts "[]"
SFunctionModules "''"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType UnitDelay
X0 "0"
SampleTime "1"
StateMustResolveToSignalObject off
RTWStateStorageClass "Auto"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "msmodulation2"
Location [65, 158, 946, 614]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "FCH Frame Data"
Ports [1, 1]
Position [120, 153, 230, 227]
BackgroundColor "[0.000000, 0.501961, 1.000000]"
DropShadow on
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "FCH Frame Data"
Location [223, 475, 969, 919]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Relative Gain"
Position [685, 178, 715, 192]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType SubSystem
Name "CRC"
Ports [1, 1]
Position [200, 68, 340, 132]
AncestorBlock "CRC/Subsystem"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "Frame Quality Indicator(cdma2000 MS)"
MaskDescription "Add FRame Quality Indicator(FQI) to the cdm"
"a2000 MS input frame.\nThe length of FQI is decided by the input Frame length"
" and the Radio Configuration."
MaskHelp "Add Frame Quality Indicator(FQI) to the cdm"
"a2000 MS input frame.\nThe length of FQI is decided by the input Frame length"
" and the Radio Configuration."
MaskPromptString "Radio Configuration|Bit Rate|Frame Length|F"
"rame Duration"
MaskStyleString "edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVarAliasString ",,,"
MaskVariables "xRC=@1;xBitRate=@2;xFrameLength=@3;xFrameDu"
"ration=@4;"
MaskInitialization "MS_FQI_Initialization"
MaskDisplay "disp('Frame Quality Indicator\\n\\n(cdma200"
"0 MS)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "mRC|mBitRate|mFrameLength|mFrameDuration"
MaskTabNameString ",,,"
System {
Name "CRC"
Location [436, 249, 904, 425]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 43, 55, 57]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "General CRC\nGenerator"
Ports [1, 1]
Position [220, 26, 295, 74]
SourceBlock "commcrc2/General CRC\nGenerator"
SourceType "General CRC Generator"
genPoly "xGenPoly"
iniStates "[0]"
numChecksums "1"
}
Block {
BlockType Reference
Name "Zero Pad"
Ports [1, 1]
Position [120, 32, 165, 68]
SourceBlock "dspsigops/Zero Pad"
SourceType "Zero Pad"
padSigAt "End"
zpadAlong "Columns"
padNumOutRowsSpecMethod "User-specified"
numOutRows "xPaddedFrameLen"
padNumOutColsSpecMethod "User-specified"
numOutCols "1"
trunc_flag "None"
}
Block {
BlockType Outport
Name "Out1"
Position [365, 43, 395, 57]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "General CRC\nGenerator"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Zero Pad"
SrcPort 1
DstBlock "General CRC\nGenerator"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Zero Pad"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Encoder"
Ports [1, 1]
Position [385, 73, 540, 137]
AncestorBlock "Encoder/Subsystem"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Radio Configuration|Bit Rate|Frame Length|F"
"rame duration"
MaskStyleString "edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVarAliasString ",,,"
MaskVariables "xRC=@1;xBitRate=@2;xFrameLength=@3;xFrameDu"
"ration=@4;"
MaskInitialization "MS_Encoder_Initialization"
MaskDisplay "disp('Convolutional Encoder\\n\\n(cdma2000 "
"MS)');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "mRC|mBitRate|mFrameLength|mFrameDuration"
MaskTabNameString ",,,"
System {
Name "Encoder"
Location [358, 251, 840, 425]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 48, 55, 62]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Convolutional\nEncoder"
Ports [1, 1]
Position [220, 25, 340, 85]
SourceBlock "commcnvcod2/Convolutional\nEncoder"
SourceType "Convolutional Encoder"
trellis "xTrellisStructure"
reset "None"
}
Block {
BlockType Reference
Name "Zero Pad"
Ports [1, 1]
Position [120, 37, 165, 73]
SourceBlock "dspsigops/Zero Pad"
SourceType "Zero Pad"
padSigAt "End"
zpadAlong "Columns"
padNumOutRowsSpecMethod "User-specified"
numOutRows "xPaddedFrameLength"
padNumOutColsSpecMethod "User-specified"
numOutCols "1"
trunc_flag "None"
}
Block {
BlockType Outport
Name "Out1"
Position [405, 43, 435, 57]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Convolutional\nEncoder"
SrcPort 1
Points [45, 0]
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Zero Pad"
SrcPort 1
DstBlock "Convolutional\nEncoder"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Zero Pad"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Interleaver"
Ports [1, 1]
Position [580, 80, 740, 130]
AncestorBlock "Interleaver/Subsystem"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Radio Configuration|Bit Rate|Raw Bits per F"
"rame|Frame duration"
MaskStyleString "edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVarAliasString ",,,"
MaskVariables "xRC=@1;xBitRate=@2;xFrameLength=@3;xFrameDu"
"ration=@4;"
MaskInitialization "MS_Interleaver_Initialization"
MaskDisplay "disp('Turbo Encoder\\n\\n(cdma 2000 MS)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "mRC|mBitRate|mFrameLength|mFrameDuration"
MaskTabNameString ",,,"
System {
Name "Interleaver"
Location [124, 296, 849, 398]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 43, 55, 57]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Frame Status\nConversion"
Ports [1, 1]
Position [325, 32, 375, 68]
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
ShowPortLabels off
growRefPort off
outframe "Sample-based"
}
Block {
BlockType Reference
Name "Frame Status\nConversion1"
Ports [1, 1]
Position [555, 32, 605, 68]
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
ShowPortLabels off
growRefPort off
outframe "Frame-based"
}
Block {
BlockType Reference
Name "Puncture"
Ports [1, 1]
Position [190, 28, 270, 72]
SourceBlock "commsequence2/Puncture"
SourceType "Puncture"
punctureVector "xPunctureVector"
}
Block {
BlockType Reference
Name "Repeat"
Ports [1, 1]
Position [105, 33, 145, 67]
SourceBlock "dspsigops/Repeat"
SourceType "Repeat"
N "xRepetitionCount"
ic "0"
mode "Maintain input frame rate"
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1]
Position [415, 25, 525, 75]
FunctionName "MS_SFUN_Interleaver"
Parameters "xInterleaverSize"
MaskPromptString "Frame Length|Code Rate"
MaskStyleString "edit,popup(rate 1/2|rate 1/3|rate 1/4)"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "xFrameLength=@1;xCodeRate=@2;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0|rate 1/2"
MaskTabNameString ","
}
Block {
BlockType Outport
Name "Out1"
Position [670, 38, 700, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Frame Status\nConversion1"
SrcPort 1
Points [45, 0]
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "S-Function"
SrcPort 1
DstBlock "Frame Status\nConversion1"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "Puncture"
SrcPort 1
DstBlock "Frame Status\nConversion"
DstPort 1
}
Line {
SrcBlock "Repeat"
SrcPort 1
DstBlock "Puncture"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Repeat"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Orthogonal Spreading"
Ports [2, 1]
Position [795, 76, 920, 194]
AncestorBlock "orthogonalspreading/Subsystem"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Radio Configuration|Bit Rate|Channel Type|R"
"aw Bits per Frame|Frame Duration"
MaskStyleString "edit,edit,popup(Reverse Fundamental Channel"
"|Reverse Supplementary Channel 1|Reverse Supplementary Channel 2|Reverse Dedi"
"cated Control Channel|Reverse Common Control Channel|Reverse Pilot Channel|En"
"hanced Access Channel),edit,edit"
MaskTunableValueString "on,on,on,on,on"
MaskCallbackString "||||"
MaskEnableString "on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on"
MaskToolTipString "on,on,on,on,on"
MaskVarAliasString ",,,,"
MaskVariables "xRC=@1;xBitRate=@2;xChannelType=@3;xFrameLe"
"ngth=@4;xFrameDuration=@5;"
MaskInitialization "MS_OrthogonalSpreading_Initialization"
MaskDisplay "disp('Orthogonal Spreading\\n\\n(cdma 2000 "
"MS)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "mRC|mBitRate|Reverse Fundamental Channel|mF"
"rameLength|mFrameDuration"
MaskTabNameString ",,,,"
System {
Name "Orthogonal Spreading"
Location [47, 176, 875, 487]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In2"
Position [55, 18, 85, 32]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In1"
Position [25, 143, 55, 157]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Hadamard\nCode Generator"
Ports [0, 1]
Position [340, 243, 425, 287]
SourceBlock "commseqgen2/Hadamard\nCode Generator"
SourceType "Hadamard Code Generator"
ShowPortLabels on
length "xWalshCodeLength"
index "xWalshCodeIndex"
ts "1/1228800"
frameBased off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -