📄 phy_cdma_coin_sig_recv_rrc_final.mdl
字号:
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType ComplexToRealImag
Output "Real and imag"
SampleTime "-1"
}
Block {
BlockType Constant
Value "1"
VectorParams1D on
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
}
Block {
BlockType DataTypeConversion
OutDataTypeMode "Inherit via back propagation"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
ConvertRealWorld "Real World Value (RWV)"
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Display
Format "short"
Decimation "10"
Floating off
SampleTime "-1"
}
Block {
BlockType FrameConversion
OutFrame "Frame based"
}
Block {
BlockType FromWorkspace
VariableName "simulink_input"
SampleTime "-1"
Interpolate on
ZeroCross off
OutputAfterFinalValue "Extrapolation"
}
Block {
BlockType Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ParameterDataTypeMode "Same as input"
ParameterDataType "sfix(16)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "2^0"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Inport
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
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 RelationalOperator
Operator ">="
InputSameDT on
LogicOutDataTypeMode "Logical (see Configuration Parameters: Optimiza"
"tion)"
LogicDataType "uint(8)"
ZeroCross on
SampleTime "-1"
}
Block {
BlockType Rounding
Operator "floor"
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 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 ToWorkspace
VariableName "simulink_output"
MaxDataPoints "1000"
Decimation "1"
SampleTime "0"
FixptAsFi off
}
}
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 "phy_cdma_coin_sig_recv_RRC_final"
Location [206, 328, 1277, 680]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 212
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "Add FQI"
Ports [1, 1]
Position [180, 38, 250, 112]
ShowName off
SourceBlock "commcrc2/General CRC\nGenerator"
SourceType "General CRC Generator"
genPoly "[12 11 10 9 8 4 1 0]"
iniStates "[1]"
numChecksums "1"
}
Block {
BlockType Display
Name "BER Measurements2"
Ports [1]
Position [305, 239, 395, 301]
BackgroundColor "[1.000000, 0.788235, 0.576471]"
ShowName off
FontName "Arial"
Decimation "1"
}
Block {
BlockType Reference
Name "Bernoulli Binary\nGenerator"
Ports [0, 1]
Position [55, 46, 140, 104]
ShowName off
FontName "Arial"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels on
P "0.5"
seed "61"
Ts "20e-3*1/172"
frameBased on
sampPerFrame "172"
orient off
outDataType "double"
}
Block {
BlockType Reference
Name "Block Deinterleaver"
Ports [1, 1]
Position [700, 147, 780, 213]
Orientation "left"
ShowName off
SourceBlock "commblkintrlv2/General Block\nDeinterleaver"
SourceType "General Block Deinterleaver"
elements "interTable"
}
Block {
BlockType Reference
Name "Block Interleaver"
Ports [1, 1]
Position [700, 40, 775, 110]
ShowName off
SourceBlock "commblkintrlv2/General Block\nInterleaver"
SourceType "General Block Interleaver"
elements "interTable"
}
Block {
BlockType Reference
Name "Convolutional\nEncoder1"
Ports [1, 1]
Position [390, 42, 485, 108]
ShowName off
SourceBlock "commcnvcod2/Convolutional\nEncoder"
SourceType "Convolutional Encoder"
trellis "poly2trellis(9, [765 671 513 473])"
reset "On each frame"
}
Block {
BlockType Reference
Name "DePuncture"
Ports [1, 1]
Position [585, 158, 665, 202]
Orientation "left"
ShowName off
SourceBlock "commsequence2/Insert Zero"
SourceType "Insert Zero"
insertZeroVector "1"
}
Block {
BlockType Reference
Name "Derepeat"
Ports [1, 1]
Position [430, 147, 535, 213]
Orientation "left"
ShowName off
SourceBlock "commsequence2/Derepeat"
SourceType "Derepeat"
N "1"
ic "0"
mode "Maintain input frame rate"
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [70, 275, 160, 305]
Decimation "1"
}
Block {
BlockType Reference
Name "Encoder\nTail Bits"
Ports [1, 1]
Position [295, 40, 345, 110]
ShowName off
SourceBlock "dspsigops/Zero Pad"
SourceType "Zero Pad"
padSigAt "End"
zpadAlong "Columns"
padNumOutRowsSpecMethod "User-specified"
numOutRows "172 + 12 + 8"
padNumOutColsSpecMethod "User-specified"
numOutCols "1"
trunc_flag "None"
}
Block {
BlockType Reference
Name "Encoder\nTail Bits1"
Ports [1, 1]
Position [170, 162, 215, 198]
Orientation "left"
ShowName off
SourceBlock "dspsigops/Zero Pad"
SourceType "Zero Pad"
padSigAt "End"
zpadAlong "Columns"
padNumOutRowsSpecMethod "User-specified"
numOutRows "172 + 12"
padNumOutColsSpecMethod "User-specified"
numOutCols "1"
trunc_flag "None"
}
Block {
BlockType Reference
Name "Error Rate\nCalculation"
Ports [2, 1]
Position [215, 240, 290, 295]
BackgroundColor "[0.992157, 0.941176, 0.658824]"
ShowName off
AttributesFormatString "Received Delay = %<N>"
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "344"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType Reference
Name "Extract FQI"
Ports [1, 2]
Position [55, 153, 130, 202]
Orientation "left"
ShowName off
SourceBlock "commcrc2/General CRC\nSyndrome\nDetector"
SourceType "General CRC Syndrome Detector"
genPoly "[12 11 10 9 8 4 1 0]"
iniStates "[1]"
numChecksums "1"
}
Block {
BlockType Reference
Name "Puncture"
Ports [1, 1]
Position [605, 39, 675, 111]
ShowName off
SourceBlock "commsequence2/Puncture"
SourceType "Puncture"
punctureVector "1"
}
Block {
BlockType Reference
Name "Repeat"
Ports [1, 1]
Position [515, 42, 580, 108]
ShowName off
SourceBlock "dspsigops/Repeat"
SourceType "Repeat"
N "1"
ic "0"
mode "Maintain input frame rate"
}
Block {
BlockType SubSystem
Name "Subsystem7"
Ports [2, 1]
Position [810, 140, 885, 215]
Orientation "left"
NamePlacement "alternate"
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "walshcode|LongPN Mask"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "walshcode=@1;mask=@2;"
MaskDisplay "disp('Reciever');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -