📄 soic_16qam_turbo.mdl
字号:
Position [385, 308, 450, 437]
ShowName off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskDisplay "disp('Multiple\\nIteration\\nError Rate\\nCalcu"
"lation')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Multiple Error Rate Calculation1"
Location [2, 73, 1278, 980]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [35, 43, 65, 57]
ShowName off
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In2"
Position [35, 93, 65, 107]
ShowName off
Port "2"
IconDisplay "Port number"
}
Block {
BlockType EnablePort
Name "Enable"
Ports []
Position [89, 303, 117, 327]
}
Block {
BlockType Reference
Name "Buffer"
Ports [1, 1]
Position [540, 75, 590, 125]
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "ITERATION_Turbo"
V "0"
ic "0"
}
Block {
BlockType Constant
Name "Constant"
Position [245, 135, 275, 165]
ShowName off
Value "1"
VectorParams1D on
SamplingMode "Sample based"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "Tb*C_L*R_L/2/ITERATION_Turbo"
FramePeriod "inf"
}
Block {
BlockType Reference
Name "Error Rate Calculation1"
Ports [3, 1]
Position [300, 27, 395, 173]
ShowName off
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "0"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec1"
RsMode2 on
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType Reference
Name "Frame Status\nConversion"
Ports [1, 1]
Position [685, 84, 735, 116]
ShowName off
SourceBlock "dspobslib/Frame Status\nConversion"
SourceType "Frame Status Conversion"
ShowPortLabels off
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
growRefPort off
outframe "Sample-based"
}
Block {
BlockType Reference
Name "Mean"
Ports [2, 1]
Position [775, 85, 825, 145]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag1"
SourceBlock "dspstat3/Mean"
SourceType "Mean"
run on
reset_popup "Non-zero sample"
additionalParams off
allowOverrides on
outputMode "Same as accumulator"
outputWordLength "32"
outputFracLength "30"
accumMode "Same as input"
accumWordLength "32"
accumFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType Reference
Name "Reshape"
Ports [1, 1]
Position [950, 242, 1005, 268]
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Customize"
OutputDimensions "1"
}
Block {
BlockType Reference
Name "Reshape1"
Ports [1, 1]
Position [950, 327, 1005, 353]
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Customize"
OutputDimensions "1"
}
Block {
BlockType Reference
Name "Reshape2"
Ports [1, 1]
Position [950, 397, 1005, 423]
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Customize"
OutputDimensions "1"
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [425, 90, 475, 110]
ShowName off
InputPortWidth "3"
}
Block {
BlockType Selector
Name "Selector1"
Ports [1, 1]
Position [880, 244, 915, 266]
ShowName off
InputPortWidth "3"
}
Block {
BlockType Selector
Name "Selector2"
Ports [1, 1]
Position [880, 329, 915, 351]
ShowName off
Elements "2"
InputPortWidth "3"
}
Block {
BlockType Selector
Name "Selector3"
Ports [1, 1]
Position [880, 399, 915, 421]
ShowName off
Elements "3"
InputPortWidth "3"
}
Block {
BlockType Reference
Name "Signal From\nWorkspace"
Ports [0, 1]
Position [680, 183, 735, 217]
ShowName off
SourceBlock "dspsrcs4/Signal From\nWorkspace"
SourceType "Signal From Workspace"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
X "[1 1 1]"
Ts "Tb*C_L*R_L/2"
nsamps "1"
OutputAfterFinalValue "Setting to zero"
ignoreOrWarnInputAndFrameLengths off
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [1050, 238, 1195, 272]
VariableName "BER_ITERATION_Turbo_1"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace2"
Position [1050, 323, 1195, 357]
VariableName "BER_ITERATION_Turbo_2"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace3"
Position [1050, 393, 1195, 427]
VariableName "BER_ITERATION_Turbo_3"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [145, 32, 180, 68]
ShowName off
SampleTime "Tb*C_L*R_L/2/ITERATION_Turbo"
}
Block {
BlockType Outport
Name "Out1"
Position [885, 108, 915, 122]
ShowName off
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Zero-Order\nHold"
DstPort 1
}
Line {
SrcBlock "Error Rate Calculation1"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Buffer"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Error Rate Calculation1"
DstPort 2
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
DstBlock "Error Rate Calculation1"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Error Rate Calculation1"
DstPort 3
}
Line {
SrcBlock "Buffer"
SrcPort 1
DstBlock "Frame Status\nConversion"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion"
SrcPort 1
Points [0, 0]
DstBlock "Mean"
DstPort 1
}
Line {
SrcBlock "Mean"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Out1"
DstPort 1
}
Branch {
Points [0, 140]
Branch {
DstBlock "Selector1"
DstPort 1
}
Branch {
Points [0, 85]
Branch {
DstBlock "Selector2"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Selector3"
DstPort 1
}
}
}
}
Line {
SrcBlock "Signal From\nWorkspace"
SrcPort 1
Points [10, 0; 0, -70]
DstBlock "Mean"
DstPort 2
}
Line {
SrcBlock "Selector1"
SrcPort 1
DstBlock "Reshape"
DstPort 1
}
Line {
SrcBlock "Selector2"
SrcPort 1
DstBlock "Reshape1"
DstPort 1
}
Line {
SrcBlock "Selector3"
SrcPort 1
DstBlock "Reshape2"
DstPort 1
}
Line {
SrcBlock "Reshape"
SrcPort 1
DstBlock "To Workspace"
DstPort 1
}
Line {
SrcBlock "Reshape1"
SrcPort 1
DstBlock "To Workspace2"
DstPort 1
}
Line {
SrcBlock "Reshape2"
SrcPort 1
DstBlock "To Workspace3"
DstPort 1
}
}
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Ports [0, 1]
Position [360, 248, 405, 282]
Period "1"
PhaseDelay "1"
SampleTime "Tb*C_L*R_L/2"
}
Block {
BlockType SubSystem
Name "Receiver"
Ports [3, 1]
Position [465, 604, 605, 806]
Orientation "left"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Receiver"
Location [2, 82, 1270, 989]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Rx1"
Position [85, 358, 115, 372]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Rx2"
Position [85, 413, 115, 427]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Esti_Ch"
Position [90, 498, 120, 512]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "Buffer"
Ports [1, 1]
Position [385, 370, 435, 420]
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "C_L*R_L/4"
V "0"
ic "0"
}
Block {
BlockType Reference
Name "Buffer2"
Ports [1, 1]
Position [280, 480, 330, 530]
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "C_L*R_L/4"
V "0"
ic "0"
}
Block {
BlockType Concatenate
Name "Matrix\nConcatenation6"
Ports [2, 1]
Position [265, 335, 325, 450]
Mode "Vertical matrix concatenation"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -