📄 sccc_testx.mdl
字号:
Orientation "left"
BackgroundColor "green"
NamePlacement "alternate"
ShowName off
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "BlockSz*2"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType DiscretePulseGenerator
Name "Discrete Pulse\nGenerator"
Ports [0, 1]
Position [430, 244, 460, 276]
Orientation "left"
BackgroundColor "green"
NamePlacement "alternate"
ShowName off
Period "NoOfItr"
PulseWidth "NoOfItr-1"
PhaseDelay "1"
SampleTime "1/OffSet"
}
Block {
BlockType Product
Name "Frame Reset"
Ports [2, 1]
Position [360, 216, 405, 249]
Orientation "left"
BackgroundColor "green"
NamePlacement "alternate"
ShowName off
RndMeth "Floor"
}
Block {
BlockType Gain
Name "Gain"
Position [190, 135, 240, 175]
BackgroundColor "green"
ShowName off
Gain "2/EbNoVar"
}
Block {
BlockType SubSystem
Name "Hard Decision"
Ports [1, 1]
Position [795, 79, 855, 111]
BackgroundColor "green"
NamePlacement "alternate"
ShowName off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskType "Hard Decision"
MaskDescription "Likelihood to binary transformation.\n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Hard Decision"
Location [290, 342, 790, 683]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Lin"
Position [170, 130, 200, 140]
NamePlacement "alternate"
IconDisplay "Port number"
}
Block {
BlockType Constant
Name "Constant"
Position [105, 135, 145, 165]
ShowName off
Value "0"
VectorParams1D on
SamplingMode "Sample based"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
FramePeriod "inf"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [245, 125, 280, 160]
ShowName off
}
Block {
BlockType Outport
Name "0/1"
Position [350, 140, 380, 150]
NamePlacement "alternate"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
DstBlock "0/1"
DstPort 1
}
Line {
SrcBlock "Lin"
SrcPort 1
DstBlock "Relational\nOperator"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Relational\nOperator"
DstPort 2
}
}
}
Block {
BlockType Reference
Name "Inner Decoder"
Ports [2, 2]
Position [350, 110, 460, 170]
BackgroundColor "green"
NamePlacement "alternate"
SourceBlock "commcnvcod2/APP Decoder"
SourceType "APP Decoder"
trellis "poly2trellis([3 3],[7 0 5;0 7 6],[7 7])"
termMethod "Truncated"
algorithm "Max*"
maxStarNumScaleBits "3"
}
Block {
BlockType Reference
Name "Outer Decoder"
Ports [2, 2]
Position [655, 80, 765, 140]
BackgroundColor "green"
NamePlacement "alternate"
SourceBlock "commcnvcod2/APP Decoder"
SourceType "APP Decoder"
trellis "poly2trellis(3, [7 5],7)"
termMethod "Truncated"
algorithm "Max*"
maxStarNumScaleBits "3"
}
Block {
BlockType Reference
Name "Random\nDeinterleaver"
Ports [1, 1]
Position [525, 108, 605, 142]
BackgroundColor "green"
NamePlacement "alternate"
ShowName off
SourceBlock "commblkintrlv2/Random\nDeinterleaver"
SourceType "Random Deinterleaver"
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"
N "BlockSz*2"
seed "IntSeed"
}
Block {
BlockType Reference
Name "Random\nInterleaver1"
Ports [1, 1]
Position [605, 208, 685, 242]
Orientation "left"
BackgroundColor "green"
ShowName off
SourceBlock "commblkintrlv2/Random\nInterleaver"
SourceType "Random Interleaver"
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"
N "BlockSz*2"
seed "IntSeed"
}
Block {
BlockType Terminator
Name "Terminator1"
Position [515, 165, 535, 185]
BackgroundColor "green"
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Reference
Name "Unipolar to\nBipolar\nConverter"
Ports [1, 1]
Position [85, 135, 155, 175]
BackgroundColor "green"
NamePlacement "alternate"
ShowName off
SourceBlock "commutil2/Unipolar to\nBipolar\nConverter"
SourceType "Unipolar to Bipolar Converter"
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"
M "2"
polarity "Positive"
dataType "double"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [265, 137, 295, 173]
BackgroundColor "green"
NamePlacement "alternate"
ShowName off
SampleTime "NoOfItr/OffSet"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [895, 80, 925, 110]
BackgroundColor "green"
SampleTime "NoOfItr/OffSet"
}
Block {
BlockType SubSystem
Name "zeros"
Ports [0, 1]
Position [515, 65, 610, 85]
BackgroundColor "green"
NamePlacement "alternate"
ShowName off
AncestorBlock "dspsrcs4/DSP\nConstant"
CopyFcn "dspfixptcopycallback"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskType "DSP Constant"
MaskDescription "Output a discrete-time or continuous-time c"
"onstant."
MaskHelp "web(dspbhelp);\n"
MaskPromptString "Constant value:|Sample mode:|Output:|Output"
":|Sample time:|Frame period:|------- Show additional parameters --------|Allo"
"w overrides from DSP Fixed-Point Attributes blocks|Output data type:|Signed|W"
"ord length:|User-defined data type:|Set fraction length in output to:|Fractio"
"n length:|old Interpret as 1D checkbox|old Sample time/Frame period|old Frame"
"-based output checkbox"
MaskStyleString "edit,popup(Discrete|Continuous),popup(Sampl"
"e-based (interpret vectors as 1-D)|Sample-based|Frame-based),popup(Sample-bas"
"ed (interpret vectors as 1-D)|Sample-based),edit,edit,checkbox,checkbox,popup"
"(double|single|int8|uint8|int16|uint16|int32|uint32|boolean|Fixed-point|User-"
"defined|Inherit from 'Constant value'|Inherit via back propagation),checkbox,"
"edit,edit,popup(Best precision|User-defined),edit,edit,edit,edit"
MaskTunableValueString "on,off,off,off,off,off,off,off,off,off,off,"
"off,off,off,off,off,off"
MaskCallbackString "|dspblkdspconst2;|dspblkdspconst2;|dspblkds"
"pconst2;|||||dspblkdspconst2;|||dspblkdspconst2;|dspblkdspconst2;||||"
MaskEnableString "on,on,on,on,on,on,off,off,on,on,on,on,on,on"
",on,on,on"
MaskVisibilityString "on,on,on,off,off,on,off,off,on,off,off,off,"
"off,off,off,off,off"
MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,o"
"n,on,on"
MaskVarAliasString ",,,,,,,,,,,,,,,,"
MaskVariables "Value=@1;SampleMode=@2;discreteOutput=@3;co"
"ntinuousOutput=@4;sampTime=@5;framePeriod=@6;additionalParams=@7;allowOverrid"
"es=@8;dataType=@9;isSigned=@10;wordLen=@11;udDataType=@12;fracBitsMode=@13;nu"
"mFracBits=@14;InterpretAs1D=@15;Ts=@16;FramebasedOutput=@17;"
MaskInitialization "dspblkdspconst2('init');\ndspblkdspconst2('"
"update');"
MaskDisplay "disp(&1);"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "zeros(BlockSz,1)|Discrete|Frame-based|Sampl"
"e-based|1/OffSet|1/OffSet|off|on|Inherit from 'Constant value'|on|16|sfix(16)"
"|Best precision|15|off|1/OffSet|on"
MaskTabNameString "Main,Main,Main,Main,Main,Main,Main,Main,Dat"
"a Types,Data Types,Data Types,Data Types,Data Types,Data Types,Main,Main,Main"
System {
Name "zeros"
Location [482, 194, 783, 296]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [30, 35, 65, 55]
Value "Value"
VectorParams1D off
SamplingMode "Sample based"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "framePeriod"
FramePeriod "inf"
}
Block {
BlockType FrameConversion
Name "Frame Status Conversion"
Position [125, 25, 180, 65]
OutFrame "Frame based"
}
Block {
BlockType Outport
Name "Out"
Position [245, 38, 275, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Frame Status Conversion"
DstPort 1
}
Line {
SrcBlock "Frame Status Conversion"
SrcPort 1
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out1"
Position [960, 88, 990, 102]
BackgroundColor "green"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [960, 168, 990, 182]
BackgroundColor "green"
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Inner Decoder"
SrcPort 2
Points [35, 0]
DstBlock "Terminator1"
DstPort 1
}
Line {
SrcBlock "Inner Decoder"
SrcPort 1
DstBlock "Random\nDeinterleaver"
DstPort 1
}
Line {
SrcBlock "Random\nDeinterleaver"
SrcPort 1
DstBlock "Outer Decoder"
DstPort 2
}
Line {
SrcBlock "Outer Decoder"
SrcPort 2
Points [10, 0; 0, 100]
DstBlock "Random\nInterleaver1"
DstPort 1
}
Line {
SrcBlock "zeros"
SrcPort 1
Points [25, 0]
DstBlock "Outer Decoder"
DstPort 1
}
Line {
SrcBlock "Frame Reset"
SrcPort 1
Points [-20, 0]
DstBlock "Inner Decoder"
DstPort 1
}
Line {
SrcBlock "Random\nInterleaver1"
SrcPort 1
DstBlock "Delay"
DstPort 1
}
Line {
SrcBlock "Outer Decoder"
SrcPort 1
DstBlock "Hard Decision"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Zero-Order\nHold"
DstPort 1
}
Line {
SrcBlock "Discrete Pulse\nGenerator"
SrcPort 1
Points [0, -20]
DstBlock "Frame Reset"
DstPort 2
}
Line {
SrcBlock "Delay"
SrcPort 1
DstBlock "Frame Reset"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
DstBlock "Inner Decoder"
DstPort 2
}
Line {
SrcBlock "Hard Decision"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Zero-Order\nHold1"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "Out2"
DstPort 1
}
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Unipolar to\nBipolar\nConverter"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Unipolar to\nBipolar\nConverter"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Annotation {
Name "Ref. G. Montorsi, \"Design of Fixed-Point I"
"terative Decoders for Concatenated Codes with Interleavers\" \nIEEE Journal o"
"n Selected Area in Communication, pp-871 - 882, vol. 19 no.5 may 2001"
Position [499, 357]
ForegroundColor "[0.000000, 0.000000, 0.501961]"
DropShadow on
UseDisplayTextAsClickCallback off
FontSize 12
}
}
}
Block {
BlockType SubSystem
Name "SCCC Turbo Encoder"
Ports [1, 1]
Position [170, 80, 260, 130]
BackgroundColor "green"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -