📄 sccc_testx.mdl
字号:
System {
Name "SCCC Turbo Encoder"
Location [125, 141, 786, 413]
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 "In1"
Position [25, 38, 55, 52]
BackgroundColor "green"
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "Inner Encoder"
Ports [1, 1]
Position [330, 25, 430, 65]
BackgroundColor "green"
SourceBlock "commcnvcod2/Convolutional\nEncoder"
SourceType "Convolutional Encoder"
trellis "poly2trellis([3 3],[7 0 5;0 7 6],[7 7])"
opMode "Truncated (reset every frame)"
usePuncVector off
punctureVector "[1; 1; 0; 1; 0; 1]"
reset "Unused parameter value"
}
Block {
BlockType Reference
Name "Outer Encoder"
Ports [1, 1]
Position [80, 25, 180, 65]
BackgroundColor "green"
SourceBlock "commcnvcod2/Convolutional\nEncoder"
SourceType "Convolutional Encoder"
trellis "poly2trellis(3, [7 5],7)"
opMode "Truncated (reset every frame)"
usePuncVector off
punctureVector "[1; 1; 0; 1; 0; 1]"
reset "Unused parameter value"
}
Block {
BlockType Reference
Name "Random\nInterleaver"
Ports [1, 1]
Position [215, 25, 295, 65]
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 Outport
Name "Out1"
Position [475, 38, 505, 52]
BackgroundColor "green"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Inner Encoder"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Outer Encoder"
DstPort 1
}
Line {
SrcBlock "Outer Encoder"
SrcPort 1
DstBlock "Random\nInterleaver"
DstPort 1
}
Line {
SrcBlock "Random\nInterleaver"
SrcPort 1
DstBlock "Inner Encoder"
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 [319, 172]
ForegroundColor "[0.000000, 0.000000, 0.501961]"
DropShadow on
UseDisplayTextAsClickCallback off
FontSize 12
}
}
}
Block {
BlockType Reference
Name "Signal To\nWorkspace"
Ports [1]
Position [870, 453, 925, 487]
SourceBlock "dspsnks4/Signal To\nWorkspace"
SourceType "Signal To 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"
VariableName "BER"
MaxDataPoints "inf"
Decimation "1"
FrameMode "Concatenate frames (2-D array)"
FixptAsFi off
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [2]
Position [795, 75, 835, 135]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem"
Location [256, 191, 925, 481]
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 "In1"
Position [25, 33, 55, 47]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In2"
Position [25, 73, 55, 87]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [175, 36, 180, 74]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope"
Ports [2]
Position [250, 31, 280, 89]
Floating off
Location [168, 208, 990, 650]
Open off
NumInputPorts "2"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
TimeRange "1"
YMin "-5~-5"
YMax "5~5"
DataFormat "StructureWithTime"
SampleTime "1/9600"
}
Block {
BlockType Reference
Name "Unbuffer"
Ports [1, 1]
Position [80, 24, 120, 56]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType Reference
Name "Unbuffer1"
Ports [1, 1]
Position [80, 64, 120, 96]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Line {
SrcBlock "Unbuffer1"
SrcPort 1
Points [25, 0]
Branch {
Points [85, 0]
DstBlock "Scope"
DstPort 2
}
Branch {
Points [0, -15]
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Unbuffer"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Unbuffer1"
DstPort 1
}
Line {
SrcBlock "Unbuffer"
SrcPort 1
Points [15, 0; 0, 5]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [25, 0; 0, -10]
DstBlock "Scope"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Viterbi Decoder1"
Ports [1, 1]
Position [595, 422, 685, 478]
BackgroundColor "lightBlue"
DialogController "commDDGCreate"
DialogControllerArgs "DataTag4"
SourceBlock "commcnvcod2/Viterbi Decoder"
SourceType "Viterbi Decoder"
trellis "poly2trellis(7, [171 133])"
isPunctured off
punctureVector "[1; 1; 0; 1; 0; 1]"
erasures off
dectype "Hard decision"
runSigValErrCheck off
nsdecb "4"
smWordLength "16"
tbdepth "34"
opmode "Continuous"
reset off
outDataType "boolean"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold2"
Position [435, 260, 465, 290]
BackgroundColor "green"
SampleTime "1/NoOfItr/OffSet"
}
Line {
SrcBlock "Bernoulli Random Binary Generator"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "SCCC Turbo Encoder"
DstPort 1
}
Branch {
Points [0, 70]
Branch {
Points [565, 0]
Branch {
DstBlock "Error Rate\nCalculation"
DstPort 1
}
Branch {
Points [0, -55]
DstBlock "Subsystem"
DstPort 2
}
}
Branch {
Points [0, 100]
DstBlock "Zero-Order\nHold2"
DstPort 1
}
}
}
Line {
SrcBlock "SCCC Turbo Encoder"
SrcPort 1
DstBlock "BPSK\nModulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "AWGN\nChannel"
SrcPort 1
DstBlock "BPSK\nDemodulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "Error Rate\nCalculation"
SrcPort 1
DstBlock "Display"
DstPort 1
}
Line {
SrcBlock "SCCC Turbo Decoder"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Subsystem"
DstPort 1
}
Branch {
Points [0, 110]
DstBlock "Error Rate\nCalculation"
DstPort 2
}
}
Line {
SrcBlock "Bernoulli Random Binary Generator1"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Convolutional\nEncoder"
DstPort 1
}
Branch {
Points [0, -75]
DstBlock "Error Rate\nCalculation1"
DstPort 1
}
}
Line {
SrcBlock "Convolutional\nEncoder"
SrcPort 1
DstBlock "BPSK\nModulator\nBaseband1"
DstPort 1
}
Line {
SrcBlock "AWGN\nChannel1"
SrcPort 1
DstBlock "BPSK\nDemodulator\nBaseband1"
DstPort 1
}
Line {
SrcBlock "BPSK\nDemodulator\nBaseband1"
SrcPort 1
DstBlock "Viterbi Decoder1"
DstPort 1
}
Line {
SrcBlock "Error Rate\nCalculation1"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Display1"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "Signal To\nWorkspace"
DstPort 1
}
}
Line {
SrcBlock "Viterbi Decoder1"
SrcPort 1
Points [15, 0; 0, -50]
DstBlock "Error Rate\nCalculation1"
DstPort 2
}
Line {
SrcBlock "BPSK\nModulator\nBaseband"
SrcPort 1
DstBlock "AWGN\nChannel"
DstPort 1
}
Line {
SrcBlock "BPSK\nModulator\nBaseband1"
SrcPort 1
DstBlock "AWGN\nChannel1"
DstPort 1
}
Line {
SrcBlock "Error Rate\nCalculation2"
SrcPort 1
DstBlock "Display2"
DstPort 1
}
Line {
SrcBlock "SCCC Turbo Decoder"
SrcPort 2
Points [0, 185]
DstBlock "Error Rate\nCalculation2"
DstPort 2
}
Line {
SrcBlock "Zero-Order\nHold2"
SrcPort 1
DstBlock "Error Rate\nCalculation2"
DstPort 1
}
Line {
SrcBlock "BPSK\nDemodulator\nBaseband"
SrcPort 1
DstBlock "SCCC Turbo Decoder"
DstPort 1
}
Annotation {
Name "BER"
Position [939, 168]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "BER"
Position [934, 443]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "Santosh Shah, The LNMIIT, Jaipur\nsantosh.jnt@g"
"mail.com\nDate:- 15/03/08"
Position [462, 577]
ForegroundColor "blue"
BackgroundColor "green"
DropShadow on
UseDisplayTextAsClickCallback off
FontSize 14
}
Annotation {
Name "Iterative Decoding vs. Viterbi Decoding: A\nCom"
"parison\n(Presented in NCC-2008, INDIA)"
Position [465, 35]
ForegroundColor "[1.000000, 0.000000, 0.501961]"
DropShadow on
UseDisplayTextAsClickCallback off
FontName "Arial Rounded MT Bold"
FontSize 16
FontWeight "bold"
FontAngle "italic"
}
}
}
MatData {
NumRecords 5
DataRecord {
Tag DataTag4
Data " %)30 . < 8 ( 0 % "
"\" $ ! 0 . 0 8 ( ! % \" $ "
". 0 0 #@ %9I=&5R8FE$96-O9&5R "
}
DataRecord {
Tag DataTag3
Data " %)30 . > 8 ( 0 % "
"\" $ ! 0 . 2 8 ( ! % \" $ "
"2 0 0 $@ $)E<FYO=6QL:4)I;F%R>4=E;@ "
}
DataRecord {
Tag DataTag2
Data " %)30 . > 8 ( 0 % "
"\" $ ! 0 . 2 8 ( ! % \" $ "
"2 0 0 $@ $)E<FYO=6QL:4)I;F%R>4=E;@ "
}
DataRecord {
Tag DataTag1
Data " %)30 . < 8 ( 0 % "
"\" $ ! 0 . 0 8 ( ! % \" $ "
"/ 0 0 #P $)04TM$96UO9'5L871O<@ "
}
DataRecord {
Tag DataTag0
Data " %)30 . < 8 ( 0 % "
"\" $ ! 0 . 0 8 ( ! % \" $ "
"/ 0 0 #P $)04TM$96UO9'5L871O<@ "
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -