📄 whole_cdma2000.mdl
字号:
SampleTime "-1"
}
Block {
BlockType FrameConversion
OutFrame "Frame based"
}
Block {
BlockType Inport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
LatchByDelayingOutsideSignal off
LatchByCopyingInsideSignal off
Interpolate on
}
Block {
BlockType Math
Operator "exp"
OutputSignalType "auto"
SampleTime "-1"
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType "M-S-Function"
FunctionName "mlfile"
}
Block {
BlockType Mux
Inputs "4"
DisplayOption "none"
UseBusObject off
BusObject "BusObject"
NonVirtualBus off
}
Block {
BlockType Outport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Product
Inputs "2"
Multiplication "Element-wise(.*)"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType RealImagToComplex
Input "Real and imag"
ConstantPart "0"
SampleTime "-1"
}
Block {
BlockType Reference
}
Block {
BlockType RelationalOperator
Operator ">="
InputSameDT on
LogicOutDataTypeMode "Logical (see Configuration Parameters: Optimiza"
"tion)"
LogicDataType "uint(8)"
ZeroCross on
SampleTime "-1"
}
Block {
BlockType "S-Function"
FunctionName "system"
SFunctionModules "''"
PortCounts "[]"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType UnitDelay
X0 "0"
SampleTime "1"
StateMustResolveToSignalObject off
RTWStateStorageClass "Auto"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "whole_cdma2000"
Location [0, 80, 1012, 744]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "Binary Data\nSource"
Ports [0, 1]
Position [25, 260, 115, 310]
ShowName off
AttributesFormatString "Samples per Frame = %<sampPerFrame>\\nSample Ti"
"me = %<Ts>"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels on
P "0.5"
seed "1234"
Ts "mFrameDuration/mFrameLength"
frameBased on
sampPerFrame "mFrameLength"
orient off
outDataType "double"
}
Block {
BlockType SubSystem
Name "CRC"
Ports [1, 1]
Position [160, 253, 285, 317]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskPromptString "Radio Configuration|Bit Rate|Frame Length|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;xFrameDurati"
"on=@4;"
MaskInitialization "MSFQIInitialization"
MaskDisplay "disp('Frame Quality Indicator\\n\\n(cdma 2000 M"
"S)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "mRC|mBitRate|mFrameLength|mFrameDuration"
MaskTabNameString ",,,"
System {
Name "CRC"
Location [588, 177, 973, 315]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Input"
Position [25, 43, 55, 57]
IconDisplay "Port number"
}
Block {
BlockType Reference
Name " CRC"
Ports [1, 1]
Position [165, 26, 240, 74]
SourceBlock "commcrc2/General CRC\nGenerator"
SourceType "General CRC Generator"
genPoly "p"
iniStates "[1]"
numChecksums "1"
}
Block {
BlockType Reference
Name "Zero Pad"
Ports [1, 1]
Position [90, 32, 135, 68]
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 "Output"
Position [340, 43, 370, 57]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Input"
SrcPort 1
DstBlock "Zero Pad"
DstPort 1
}
Line {
SrcBlock "Zero Pad"
SrcPort 1
DstBlock " CRC"
DstPort 1
}
Line {
SrcBlock " CRC"
SrcPort 1
DstBlock "Output"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "Constant1"
Position [720, 354, 740, 376]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Constant
Name "Constant2"
Position [565, 214, 585, 236]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType SubSystem
Name "Encoder"
Ports [1, 1]
Position [325, 255, 440, 315]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskType "Convolutional Encoder cdma 2000 MS"
MaskPromptString "Radio Configuration|Bit Rate|Frame Length|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;xFrameDurati"
"on=@4;"
MaskInitialization "MSEncoderInitialization"
MaskDisplay "disp('Convolutional Encoder\\n\\n(cdma 2000 MS)"
"')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "mRC|mBitRate|mFrameLength|mFrameDuration"
MaskTabNameString ",,,"
System {
Name "Encoder"
Location [218, 138, 648, 316]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Input"
Position [25, 48, 55, 62]
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "Convolutional\nEncoder"
Ports [1, 1]
Position [195, 25, 315, 85]
SourceBlock "commcnvcod2/Convolutional\nEncoder"
SourceType "Convolutional Encoder"
trellis " xTrellisStructure"
reset "None"
}
Block {
BlockType Reference
Name "Zero Pad"
Ports [1, 1]
Position [105, 37, 150, 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 "Output"
Position [350, 48, 380, 62]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Input"
SrcPort 1
DstBlock "Zero Pad"
DstPort 1
}
Line {
SrcBlock "Zero Pad"
SrcPort 1
DstBlock "Convolutional\nEncoder"
DstPort 1
}
Line {
SrcBlock "Convolutional\nEncoder"
SrcPort 1
DstBlock "Output"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Interleaver"
Ports [1, 1]
Position [475, 254, 585, 316]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskPromptString "Radio Configuration|Bit Rate|Frame Length|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;xFrameDurati"
"on=@4;"
MaskInitialization "MSInterleaverInitialization1"
MaskDisplay "disp('Interleaver\\n\\n(cdma 2000 MS)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "mRC|mBitRate|mFrameLength|mFrameDuration"
MaskTabNameString ",,,"
System {
Name "Interleaver"
Location [187, 181, 806, 369]
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]
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "Block Interleaver"
Ports [1, 1]
Position [340, 28, 420, 82]
SourceBlock "commblkintrlv2/General Block\nInterleaver"
SourceType "General Block Interleaver"
elements "interTable"
}
Block {
BlockType Reference
Name "Puncture"
Ports [1, 1]
Position [210, 33, 290, 77]
SourceBlock "commsequence2/Puncture"
SourceType "Puncture"
punctureVector "xPunctureVector"
}
Block {
BlockType Reference
Name "Repeat"
Ports [1, 1]
Position [80, 33, 160, 77]
SourceBlock "dspsigops/Repeat"
SourceType "Repeat"
N "xRepetitionCount"
ic "0"
mode "Maintain input frame size"
}
Block {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -