📄 soic_16qam_turbo.mdl
字号:
BlockType Concatenate
NumInputs "2"
}
Block {
BlockType Constant
}
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 DiscretePulseGenerator
PulseType "Sample based"
TimeSource "Use simulation time"
Amplitude "1"
Period "2"
PulseWidth "1"
PhaseDelay "0"
SampleTime "1"
VectorParams1D on
}
Block {
BlockType Display
Format "short"
Decimation "10"
Floating off
SampleTime "-1"
}
Block {
BlockType EnablePort
StatesWhenEnabling "held"
ShowOutputPort off
ZeroCross on
}
Block {
BlockType FrameConversion
OutFrame "Frame based"
}
Block {
BlockType From
IconDisplay "Tag"
}
Block {
BlockType FromWorkspace
VariableName "simulink_input"
SampleTime "-1"
Interpolate on
ZeroCross off
OutputAfterFinalValue "Extrapolation"
}
Block {
BlockType Goto
IconDisplay "Tag"
}
Block {
BlockType Ground
}
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 MATLABFcn
MATLABFcn "sin"
OutputDimensions "-1"
OutputSignalType "auto"
Output1D on
SampleTime "-1"
}
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 RelationalOperator
Operator ">="
InputSameDT on
LogicOutDataTypeMode "Logical (see Configuration Parameters: Optimiza"
"tion)"
LogicDataType "uint(8)"
ZeroCross on
SampleTime "-1"
}
Block {
BlockType Selector
InputType "Vector"
IndexMode "One-based"
ElementSrc "Internal"
Elements "1"
RowSrc "Internal"
Rows "1"
ColumnSrc "Internal"
Columns "1"
InputPortWidth "-1"
IndexIsStartValue off
OutputPortSize "1"
}
Block {
BlockType "S-Function"
FunctionName "system"
SFunctionModules "''"
PortCounts "[]"
}
Block {
BlockType SignalSpecification
Dimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
TreatAsAtomicUnit off
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
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 Switch
Criteria "u2 >= Threshold"
Threshold "0"
InputSameDT on
OutDataTypeMode "Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow on
ZeroCross on
SampleTime "-1"
}
Block {
BlockType Terminator
}
Block {
BlockType ToWorkspace
VariableName "simulink_output"
MaxDataPoints "1000"
Decimation "1"
SampleTime "0"
FixptAsFi off
}
Block {
BlockType UnitDelay
X0 "0"
SampleTime "1"
StateMustResolveToSignalObject off
RTWStateStorageClass "Auto"
}
Block {
BlockType ZeroOrderHold
SampleTime "1"
}
}
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 "SoIC_16QAM_Turbo"
Location [2, 79, 1005, 718]
Open on
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"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name " "
Ports []
Position [110, 744, 306, 835]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskPromptString "snr(dB)|M point modulation(M)|ITERATION_SoIC|IT"
"ERATION_Turbo|Source sample time(Tb)|Number of rows(R_L)|Number of columns(C_"
"L)"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on"
MaskCallbackString "||||||"
MaskEnableString "on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,"
MaskVariables "snr=@1;M=@2;ITERATION_SoIC=@3;ITERATION_Turbo=@"
"4;Tb=@5;R_L=@6;C_L=@7;"
MaskInitialization "assignin('base','snr',snr);\nassignin('base','M"
"',M);\nassignin('base','ITERATION_SoIC',ITERATION_SoIC);\nassignin('base','IT"
"ERATION_Turbo',ITERATION_Turbo);\nassignin('base','Tb',Tb);\nassignin('base',"
"'C_L',C_L);\nassignin('base','R_L',R_L);"
MaskDisplay "disp('Simulation \\n Parameters Configuration')"
";"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "snr|16|1|3|0.0000078125|4|4"
MaskTabNameString ",,,,,,"
System {
Name " "
Location [433, 403, 931, 703]
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 Reference
Name "Bernoulli Binary\nGenerator"
Ports [0, 1]
Position [90, 163, 170, 207]
DialogController "commDDGCreate"
DialogControllerArgs "DataTag0"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
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"
P "0.5"
seed "896896"
Ts "Tb"
frameBased on
sampPerFrame "C_L*R_L/2"
orient off
outDataType "double"
}
Block {
BlockType SubSystem
Name "Channel Estimation"
Ports [0, 1]
Position [710, 749, 810, 791]
Orientation "left"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Channel Estimation"
Location [2, 78, 1278, 973]
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 From
Name "From"
Position [145, 265, 215, 295]
CloseFcn "tagdialog Close"
GotoTag "ch11"
}
Block {
BlockType From
Name "From1"
Position [145, 343, 215, 367]
CloseFcn "tagdialog Close"
GotoTag "ch12"
}
Block {
BlockType From
Name "From4"
Position [140, 418, 210, 442]
CloseFcn "tagdialog Close"
GotoTag "ch21"
}
Block {
BlockType From
Name "From5"
Position [140, 496, 215, 524]
CloseFcn "tagdialog Close"
GotoTag "ch22"
}
Block {
BlockType Concatenate
Name "Matrix\nConcatenation"
Ports [2, 1]
Position [695, 304, 750, 346]
Mode "Horizontal matrix concatenation"
}
Block {
BlockType Concatenate
Name "Matrix\nConcatenation1"
Ports [2, 1]
Position [695, 454, 750, 496]
Mode "Horizontal matrix concatenation"
}
Block {
BlockType Concatenate
Name "Matrix\nConcatenation4"
Ports [2, 1]
Position [880, 379, 935, 421]
Mode "Vertical matrix concatenation"
}
Block {
BlockType Reference
Name "Reshape4"
Ports [1, 1]
Position [495, 270, 545, 290]
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Customize"
OutputDimensions "[1,1]"
}
Block {
BlockType Reference
Name "Reshape5"
Ports [1, 1]
Position [500, 345, 555, 365]
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Customize"
OutputDimensions "[1,1]"
}
Block {
BlockType Reference
Name "Reshape8"
Ports [1, 1]
Position [500, 418, 560, 442]
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Customize"
OutputDimensions "[1,1]"
}
Block {
BlockType Reference
Name "Reshape9"
Ports [1, 1]
Position [500, 498, 560, 522]
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Customize"
OutputDimensions "[1,1]"
}
Block {
BlockType Outport
Name "Esti_Ch"
Position [1050, 393, 1080, 407]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Matrix\nConcatenation1"
SrcPort 1
Points [55, 0; 0, -65]
DstBlock "Matrix\nConcatenation4"
DstPort 2
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
Points [55, 0; 0, 65]
DstBlock "Matrix\nConcatenation4"
DstPort 1
}
Line {
SrcBlock "Reshape9"
SrcPort 1
Points [55, 0; 0, -25]
DstBlock "Matrix\nConcatenation1"
DstPort 2
}
Line {
SrcBlock "Reshape8"
SrcPort 1
Points [55, 0; 0, 35]
DstBlock "Matrix\nConcatenation1"
DstPort 1
}
Line {
SrcBlock "Reshape5"
SrcPort 1
Points [60, 0; 0, -20]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -