📄 dvbt_simt.mdl
字号:
nbits "8"
}
Block {
BlockType SubSystem
Name "Mapper"
Ports [1, 1]
Position [700, 112, 770, 168]
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "DVB-T 64-QAM Mapper"
MaskDisplay "disp('DVB-T\\n64-QAM\\nMapper')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Mapper"
Location [275, 380, 741, 525]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [30, 48, 60, 62]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Bit to Integer\nConverter"
Ports [1, 1]
Position [120, 33, 200, 77]
SourceBlock "commutil2/Bit to Integer\nConverter"
SourceType "Bit to Integer Converter"
nbits "6"
}
Block {
BlockType Reference
Name "General QAM\nModulator\nBaseband"
Ports [1, 1]
Position [265, 29, 340, 81]
SourceBlock "commdigbbndam2/General QAM\nModulator\nBase"
"band"
SourceType "General QAM Modulator Baseband"
SigCon "dvbt_qam"
numSamp "1"
}
Block {
BlockType Outport
Name "Out1"
Position [400, 48, 430, 62]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "General QAM\nModulator\nBaseband"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Bit to Integer\nConverter"
DstPort 1
}
Line {
SrcBlock "Bit to Integer\nConverter"
SrcPort 1
DstBlock "General QAM\nModulator\nBaseband"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Model Info"
Ports []
Position [25, 434, 76, 474]
BackgroundColor "lightBlue"
ShowName off
CopyFcn "slcm CopyBlock;"
DeleteFcn "slcm Cancel;"
LoadFcn "slcm LoadBlock;"
PostSaveFcn "slcm('UpdateAllCMBlocksInThisModel')"
InitFcn "slcm('UpdateAllCMBlocksInThisModelInit')"
NameChangeFcn "slcm Rename;"
OpenFcn "commdemohelp;"
FontName "Arial"
FontSize 12
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "CMBlock"
MaskDescription "This block allows revision control information "
"to be displayed within the model."
MaskPromptString "InitialSaveTempField|InitialBlockCM|BlockCM|Fra"
"me|SaveTempField|DisplayStringWithTags|MaskDisplayString|HorizontalTextAlignm"
"ent|LeftAlignmentValue|SourceBlockDiagram|TagMaxNumber|CMTag1|CMTag2|CMTag3|C"
"MTag4|CMTag5|CMTag6|CMTag7|CMTag8|CMTag9|CMTag10|CMTag11|CMTag12|CMTag13|CMTa"
"g14|CMTag15|CMTag16|CMTag17|CMTag18|CMTag19|CMTag20"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit,edit,edit,ed"
"it,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit"
",edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
MaskCallbackString "||||||||||||||||||||||||||||||"
MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
MaskVisibilityString "off,off,off,off,off,off,off,off,off,off,off,off"
",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off"
MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"
MaskVariables "InitialSaveTempField=&1;InitialBlockCM=&2;Block"
"CM=&3;Frame=&4;SaveTempField=&5;DisplayStringWithTags=&6;MaskDisplayString=&7"
";HorizontalTextAlignment=&8;LeftAlignmentValue=&9;SourceBlockDiagram=&10;TagM"
"axNumber=@11;CMTag1=&12;CMTag2=&13;CMTag3=&14;CMTag4=&15;CMTag5=&16;CMTag6=&1"
"7;CMTag7=&18;CMTag8=&19;CMTag9=&20;CMTag10=&21;CMTag11=&22;CMTag12=&23;CMTag1"
"3=&24;CMTag14=&25;CMTag15=&26;CMTag16=&27;CMTag17=&28;CMTag18=&29;CMTag19=&30"
";CMTag20=&31;"
MaskDisplay "text(str2num(LeftAlignmentValue), 0.5, MaskDisp"
"layString, 'HorizontalAlignment', HorizontalTextAlignment)\n"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "normalized"
MaskValueString "|none|none|on||Info|Info|Center|0.5|dvbt_simt|2"
"0||||||||||||||||||||"
MaskTabNameString ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"
System {
Name "Model Info"
Location [154, 467, 416, 618]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType SubSystem
Name "EmptySubsystem"
Ports []
Position [115, 50, 145, 80]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "EmptySubsystem"
Location [146, 180, 902, 673]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
}
}
Block {
BlockType SubSystem
Name "OFDM Receiver"
Ports [1, 1]
Position [825, 422, 890, 478]
Orientation "left"
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('OFDM\\nReceiver')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "OFDM Receiver"
Location [151, 127, 739, 246]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Received signal"
Position [45, 43, 75, 57]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "FFT"
Ports [1, 1]
Position [135, 33, 175, 67]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag0"
SourceBlock "dspxfrm3/FFT"
SourceType "FFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder off
additionalParams off
SkipNorm off
allowOverrides on
firstCoeffMode "User-defined"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
outputMode "Same as input"
outputWordLength "16"
outputFracLength "12"
accumMode "Same as product output"
accumWordLength "32"
accumFracLength "24"
prodOutputMode "Same as input"
prodOutputWordLength "32"
prodOutputFracLength "24"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType Reference
Name "Frame Status\nConversion"
Ports [1, 1]
Position [240, 34, 285, 66]
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
ShowPortLabels off
growRefPort off
outframe "Frame-based"
}
Block {
BlockType SubSystem
Name "Remove zero pad\nfrom OFDM"
Ports [1, 1]
Position [340, 22, 425, 78]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('Remove zero\\npad from OFDM');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Remove zero pad\nfrom OFDM"
Location [267, 458, 582, 558]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [30, 43, 60, 57]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [125, 30, 180, 70]
ShowName off
Elements "[1:756 1293:2048]"
InputPortWidth "2048"
}
Block {
BlockType Outport
Name "Out1"
Position [250, 43, 280, 57]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "OFDM Spectrum"
Position [495, 43, 525, 57]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Remove zero pad\nfrom OFDM"
SrcPort 1
DstBlock "OFDM Spectrum"
DstPort 1
}
Line {
SrcBlock "Received signal"
SrcPort 1
DstBlock "FFT"
DstPort 1
}
Line {
SrcBlock "FFT"
SrcPort 1
DstBlock "Frame Status\nConversion"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion"
SrcPort 1
DstBlock "Remove zero pad\nfrom OFDM"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "OFDM Transmitter"
Ports [1, 1]
Position [820, 113, 885, 167]
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('OFDM\\nTransmitter')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "OFDM Transmitter"
Location [186, 133, 559, 265]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [30, 63, 60, 77]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "IFFT"
Ports [1, 1]
Position [205, 54, 245, 86]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag1"
SourceBlock "dspxfrm3/IFFT"
SourceType "IFFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder off
cs_in off
SkipNorm off
mode "Complex"
additionalParams off
allowOverrides on
firstCoeffMode "User-defined"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
outputMode "Same as input"
outputWordLength "16"
outputFracLength "12"
accumMode "Same as product output"
accumWordLength "32"
accumFracLength "24"
prodOutputMode "Same as input"
prodOutputWordLength "32"
prodOutputFracLength "24"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType SubSystem
Name "Zero pad for OFDM"
Ports [1, 1]
Position [100, 46, 155, 94]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('Zero pad\\nfor OFDM');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Zero pad for OFDM"
Location [355, 177, 677, 298]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [30, 43, 60, 57]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [175, 28, 225, 72]
Elements "[1:756 1513:2048 757:1512]"
InputPortWidth "2048"
}
Block {
BlockType Reference
Name "Zero Pad"
Ports [1, 1]
Position [100, 32, 145, 68]
SourceBlock "dspsigops/Zero Pad"
SourceType "Zero Pad"
padSigAt "End"
zpadAlong "Columns"
padNumOutRowsSpecMethod "User-specified"
numOutRows "2048"
padNumOutColsSpecMethod "User-specified"
numOutCols "1"
trunc_flag "None"
}
Block {
BlockType Outport
Name "Out1"
Position [250, 43, 280, 57]
IconDisplay "Port number"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -