📄 mimo_ofdm_4t4r_1024c.mdl
字号:
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out3"
Position [440, 243, 470, 257]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out4"
Position [440, 298, 470, 312]
Port "4"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0]
DstBlock "IFFT1"
DstPort 1
}
Line {
SrcBlock "IFFT1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Add cyclic prefix1"
DstPort 1
}
Line {
SrcBlock "Add cyclic prefix1"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
Points [0, 0]
DstBlock "IFFT2"
DstPort 1
}
Line {
SrcBlock "IFFT2"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Add cyclic prefix2"
DstPort 1
}
Line {
SrcBlock "Add cyclic prefix2"
SrcPort 1
Points [0, 0]
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "In3"
SrcPort 1
DstBlock "IFFT3"
DstPort 1
}
Line {
SrcBlock "IFFT3"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Add cyclic prefix3"
DstPort 1
}
Line {
SrcBlock "Add cyclic prefix3"
SrcPort 1
DstBlock "Out3"
DstPort 1
}
Line {
SrcBlock "In4"
SrcPort 1
DstBlock "IFFT4"
DstPort 1
}
Line {
SrcBlock "IFFT4"
SrcPort 1
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Add cyclic prefix4"
DstPort 1
}
Line {
SrcBlock "Add cyclic prefix4"
SrcPort 1
DstBlock "Out4"
DstPort 1
}
}
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [160, 173, 190, 202]
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [4, 1]
Position [485, 152, 580, 228]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem"
Location [2, 82, 1014, 721]
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 [110, 233, 140, 247]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In2"
Position [110, 298, 140, 312]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In3"
Position [110, 363, 140, 377]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In4"
Position [110, 428, 140, 442]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "Multipath Rayleigh\nFading Channel 11"
Ports [1, 1]
Position [205, 224, 300, 256]
SourceBlock "commchan3/Multipath Rayleigh\nFading Ch"
"annel"
SourceType "Multipath Rayleigh Fading Channel"
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"
maxDopplerShift "10"
pathDelays "[0, 0.2e-6, 0.6e-6, 1.6e-6, 2.4e-6, 5.0"
"e-6]"
avgPathGaindB "[-3, 0, -2, -6, -8, -10]"
normalizePathGains "on"
seed "73"
enableProbe "0"
openVisAtStart "off"
outPathGains "off"
outDelay "off"
}
Block {
BlockType Reference
Name "Multipath Rayleigh\nFading Channel 21"
Ports [1, 1]
Position [205, 289, 300, 321]
SourceBlock "commchan3/Multipath Rayleigh\nFading Ch"
"annel"
SourceType "Multipath Rayleigh Fading Channel"
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"
maxDopplerShift "10"
pathDelays "[0, 0.2e-6, 0.6e-6, 1.6e-6, 2.4e-6, 5.0"
"e-6]"
avgPathGaindB "[-3, 0, -2, -6, -8, -10]"
normalizePathGains "on"
seed "124"
enableProbe "0"
openVisAtStart "off"
outPathGains "off"
outDelay "off"
}
Block {
BlockType Reference
Name "Multipath Rayleigh\nFading Channel 31"
Ports [1, 1]
Position [205, 354, 300, 386]
SourceBlock "commchan3/Multipath Rayleigh\nFading Ch"
"annel"
SourceType "Multipath Rayleigh Fading Channel"
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"
maxDopplerShift "10"
pathDelays "[0, 0.2e-6, 0.6e-6, 1.6e-6, 2.4e-6, 5.0"
"e-6]"
avgPathGaindB "[-3, 0, -2, -6, -8, -10]"
normalizePathGains "on"
seed "2387"
enableProbe "0"
openVisAtStart "off"
outPathGains "off"
outDelay "off"
}
Block {
BlockType Reference
Name "Multipath Rayleigh\nFading Channel 41"
Ports [1, 1]
Position [205, 419, 300, 451]
SourceBlock "commchan3/Multipath Rayleigh\nFading Ch"
"annel"
SourceType "Multipath Rayleigh Fading Channel"
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"
maxDopplerShift "10"
pathDelays "[0, 0.2e-6, 0.6e-6, 1.6e-6, 2.4e-6, 5.0"
"e-6]"
avgPathGaindB "[-3, 0, -2, -6, -8, -10]"
normalizePathGains "on"
seed "9"
enableProbe "0"
openVisAtStart "off"
outPathGains "off"
outDelay "off"
}
Block {
BlockType SubSystem
Name "OFDM Demodulator"
Ports [1, 1]
Position [355, 219, 455, 261]
ShowName off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskDisplay "disp('OFDM Demodulator')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "OFDM Demodulator"
Location [290, 439, 788, 739]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000"
"00]"
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [30, 103, 60, 117]
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "FFT"
Ports [1, 1]
Position [190, 93, 230, 127]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag7"
SourceBlock "dspxfrm3/FFT"
SourceType "FFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder "off"
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 FrameConversion
Name "Frame Conversion"
Position [340, 90, 395, 130]
OutFrame "Frame based"
}
Block {
BlockType Gain
Name "Gain"
Position [270, 95, 300, 125]
Gain "1 / sqrt(1024)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Selector
Name "Remove cyclic prefix"
Ports [1, 1]
Position [100, 91, 150, 129]
InputType "Vector"
ElementSrc "Internal"
Elements "[129:1152]"
RowSrc "Internal"
Rows "1"
ColumnSrc "Internal"
Columns "1"
InputPortWidth "1152"
IndexIsStartValue off
}
Block {
BlockType Outport
Name "Out1"
Position [440, 103, 470, 117]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Remove cyclic prefix"
DstPort 1
}
Line {
SrcBlock "FFT"
SrcPort 1
Points [0, 0]
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Frame Conversion"
DstPort 1
}
Line {
SrcBlock "Frame Conversion"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Remove cyclic prefix"
SrcPort 1
DstBlock "FFT"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "OFDM Demodulator1"
Ports [1, 1]
Position [355, 284, 455, 326]
ShowName off
MinAlgLoopOccurrences
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -