📄 wimax_test_4.mdl
字号:
Position [40, 345, 90, 355]
ShowName off
FontName "Arial"
FontSize 8
GotoTag "DATA_RX"
IconDisplay "Signal name"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto3"
Position [40, 65, 90, 75]
ShowName off
FontName "Arial"
FontSize 8
GotoTag "DATA_TX"
IconDisplay "Signal name"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto4"
Position [355, 275, 405, 285]
Orientation "left"
ShowName off
FontName "Arial"
FontSize 8
GotoTag "IQ_RX"
IconDisplay "Signal name"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto5"
Position [435, 135, 485, 145]
Orientation "left"
ShowName off
FontName "Arial"
FontSize 8
GotoTag "OFDM_TX"
IconDisplay "Signal name"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto6"
Position [435, 275, 485, 285]
Orientation "left"
ShowName off
FontName "Arial"
FontSize 8
GotoTag "OFDM_RX"
IconDisplay "Signal name"
TagVisibility "global"
}
Block {
BlockType SubSystem
Name "IQ Demapper"
Ports [1, 1]
Position [355, 228, 410, 272]
Orientation "left"
ShowName off
FontSize 8
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskDisplay "disp('IQ Demapper');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "IQ Demapper"
Location [2, 78, 1022, 748]
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 "In"
Position [15, 33, 45, 47]
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "Gain1"
Position [175, 25, 205, 55]
ShowName off
Gain "1/sqrt(2)"
}
Block {
BlockType Reference
Name "General QAM\nDemodulator\nBaseband"
Ports [1, 1]
Position [260, 14, 335, 66]
SourceBlock "commdigbbndam2/General QAM\nDemodulator\nBa"
"seband"
SourceType "General QAM Demodulator Baseband"
SigCon "qamconst"
numSamp "1"
}
Block {
BlockType Reference
Name "Integer to Bit\nConverter"
Ports [1, 1]
Position [385, 18, 465, 62]
SourceBlock "commutil2/Integer to Bit\nConverter"
SourceType "Integer to Bit Converter"
nbits "2"
outDtype "Same as input"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [95, 25, 125, 55]
ShowName off
Operator "conj"
}
Block {
BlockType Outport
Name "Out"
Position [515, 33, 545, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "General QAM\nDemodulator\nBaseband"
SrcPort 1
DstBlock "Integer to Bit\nConverter"
DstPort 1
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "General QAM\nDemodulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "Integer to Bit\nConverter"
SrcPort 1
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "IQ Mapper"
Ports [1, 1]
Position [355, 88, 410, 132]
ShowName off
FontSize 8
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskDisplay "disp('IQ Mapper');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "IQ Mapper"
Location [2, 82, 1014, 744]
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 "In"
Position [15, 33, 45, 47]
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "Bit to Integer\nConverter1"
Ports [1, 1]
Position [95, 18, 175, 62]
SourceBlock "commutil2/Bit to Integer\nConverter"
SourceType "Bit to Integer Converter"
nbits "2"
outDtype "Same as input"
}
Block {
BlockType Gain
Name "Gain1"
Position [435, 25, 465, 55]
ShowName off
Gain "1/sqrt(2)"
}
Block {
BlockType Reference
Name "General QAM\nModulator\nBaseband"
Ports [1, 1]
Position [225, 14, 300, 66]
SourceBlock "commdigbbndam2/General QAM\nModulator\nBase"
"band"
SourceType "General QAM Modulator Baseband"
SigCon "qamconst"
numSamp "1"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [355, 25, 385, 55]
ShowName off
Operator "conj"
}
Block {
BlockType Outport
Name "Out"
Position [515, 33, 545, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Bit to Integer\nConverter1"
SrcPort 1
DstBlock "General QAM\nModulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Bit to Integer\nConverter1"
DstPort 1
}
Line {
SrcBlock "General QAM\nModulator\nBaseband"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Interleaver"
Ports [1, 1]
Position [275, 88, 330, 132]
ShowName off
FontSize 8
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskDisplay "disp('Interleaver');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Interleaver"
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 Inport
Name "In"
Position [15, 33, 45, 47]
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "General Block\nInterleaver"
Ports [1, 1]
Position [95, 13, 175, 67]
SourceBlock "commblkintrlv2/General Block\nInterleaver"
SourceType "General Block Interleaver"
elements "int_idx'"
}
Block {
BlockType Outport
Name "Out"
Position [225, 33, 255, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "General Block\nInterleaver"
DstPort 1
}
Line {
SrcBlock "General Block\nInterleaver"
SrcPort 1
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "OFDM\nData"
Ports [1, 1]
Position [435, 228, 490, 272]
Orientation "left"
ShowName off
FontSize 8
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskDisplay "disp('OFDM \\n Demodulator');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "OFDM\nData"
Location [2, 82, 1014, 744]
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 "In"
Position [15, 43, 45, 57]
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "FFT"
Ports [1, 1]
Position [195, 33, 235, 67]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag1"
SourceBlock "dspxfrm3/FFT"
SourceType "FFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder "off"
InheritFFTLength "on"
FFTLength "64"
additionalParams "off"
SkipNorm "on"
allowOverrides "on"
firstCoeffMode "Same word length as input"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
outputMode "Inherit via internal rule"
outputWordLength "16"
outputFracLength "15"
accumMode "Inherit via internal rule"
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Inherit via internal rule"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode "off"
LockScale "off"
}
Block {
BlockType Reference
Name "Frame Status\nConversion"
Ports [1, 1]
Position [285, 34, 330, 66]
SourceBlock "dspobslib/Frame Status\nConversion"
SourceType "Frame Status Conversion"
ShowPortLabels "none"
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 "Frame-based"
}
Block {
BlockType Selector
Name "Remove\n zero-padding\nand\nreorder"
Ports [1, 1]
Position [380, 28, 430, 72]
IndexOptions "Index vector (dialog)"
Indices "[29:128 130:229]"
OutputSizes "1"
InputPortWidth "256"
}
Block {
BlockType Reference
Name "Remove\nPilots"
Ports [1, 2]
Position [480, 12, 525, 83]
SourceBlock "dspindex/Multiport\nSelector"
SourceType "Multiport Selector"
rowsOrCols "Rows"
idxCellArray "{[1:12 14:37 39:62 64:87 89:112 114:137 139"
":162 164:187 189:200],[13 38 63 88 113 138 163 188]}"
idxErrMode "Clip Index"
}
Block {
BlockType Selector
Name "Remove Cyclic\nPrefix"
Ports [1, 1]
Position [95, 28, 145, 72]
IndexOptions "Index vector (dialog)"
Indices "[65:320]"
OutputSizes "1"
InputPortWidth "320"
}
Block {
BlockType Terminator
Name "Terminator"
Position [590, 58, 600, 72]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
ShowName off
}
Block {
BlockType Outport
Name "Out"
Position [575, 23, 605, 37]
IconDisplay "Port number"
BusOutputAsStruct
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -