📄 ofdm_13.mdl
字号:
}
Block {
BlockType Reference
Name "Compare\nTo Constant4"
Ports [1, 1]
Position [240, 340, 270, 370]
SourceBlock "simulink/Logic and Bit\nOperations/Compare\nTo Constant"
SourceType "Compare To Constant"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
relop "=="
const "4"
LogicOutDataTypeMode "boolean"
ZeroCross off
}
Block {
BlockType Reference
Name "Compare\nTo Constant5"
Ports [1, 1]
Position [240, 480, 270, 510]
SourceBlock "simulink/Logic and Bit\nOperations/Compare\nTo Constant"
SourceType "Compare To Constant"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
relop "=="
const "5"
LogicOutDataTypeMode "boolean"
ZeroCross off
}
Block {
BlockType Goto
Name "Goto"
Position [410, 136, 455, 154]
GotoTag "Byp_1"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto1"
Position [410, 286, 455, 304]
GotoTag "Disp"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto2"
Position [385, 441, 430, 459]
GotoTag "Fade"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto3"
Position [645, 251, 690, 269]
GotoTag "AWGN"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto4"
Position [650, 346, 695, 364]
GotoTag "Byp_2"
TagVisibility "global"
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [2, 1]
Position [325, 127, 355, 158]
Operator "OR"
AllPortsSameDT off
OutDataTypeMode "boolean"
}
Block {
BlockType Logic
Name "Logical\nOperator1"
Ports [3, 1]
Position [475, 316, 510, 394]
Operator "OR"
Inputs "3"
AllPortsSameDT off
OutDataTypeMode "boolean"
}
Block {
BlockType Logic
Name "Logical\nOperator2"
Ports [2, 1]
Position [325, 277, 355, 308]
Operator "OR"
AllPortsSameDT off
OutDataTypeMode "boolean"
}
Block {
BlockType Logic
Name "Logical\nOperator3"
Ports [2, 1]
Position [320, 432, 350, 463]
Operator "OR"
AllPortsSameDT off
OutDataTypeMode "boolean"
}
Block {
BlockType Logic
Name "Logical\nOperator4"
Ports [1, 1]
Position [570, 316, 605, 394]
Operator "NOT"
Inputs "3"
AllPortsSameDT off
OutDataTypeMode "boolean"
}
Block {
BlockType Rounding
Name "Rounding\nFunction"
Position [70, 95, 100, 125]
}
Block {
BlockType Saturate
Name "Saturation"
Position [145, 95, 175, 125]
UpperLimit "5"
LowerLimit "0"
LinearizeAsGain off
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Rounding\nFunction"
DstPort 1
}
Line {
SrcBlock "Compare\nTo Constant"
SrcPort 1
Points [15, 0; 0, 25]
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "Compare\nTo Constant3"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -35]
DstBlock "Logical\nOperator"
DstPort 2
}
Branch {
Points [0, 145]
DstBlock "Logical\nOperator1"
DstPort 1
}
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
DstBlock "Goto"
DstPort 1
}
Line {
SrcBlock "Compare\nTo Constant4"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Logical\nOperator1"
DstPort 2
}
Branch {
Points [0, -55]
DstBlock "Logical\nOperator2"
DstPort 2
}
}
Line {
SrcBlock "Compare\nTo Constant5"
SrcPort 1
Points [25, 0]
Branch {
Points [155, 0; 0, -115]
DstBlock "Logical\nOperator1"
DstPort 3
}
Branch {
Points [0, -40]
DstBlock "Logical\nOperator3"
DstPort 2
}
}
Line {
SrcBlock "Compare\nTo Constant1"
SrcPort 1
DstBlock "Logical\nOperator2"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator2"
SrcPort 1
DstBlock "Goto1"
DstPort 1
}
Line {
SrcBlock "Compare\nTo Constant2"
SrcPort 1
Points [15, 0; 0, 10]
DstBlock "Logical\nOperator3"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator3"
SrcPort 1
DstBlock "Goto2"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator1"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Logical\nOperator4"
DstPort 1
}
Branch {
Points [0, -95]
DstBlock "Goto3"
DstPort 1
}
}
Line {
SrcBlock "Logical\nOperator4"
SrcPort 1
DstBlock "Goto4"
DstPort 1
}
Line {
SrcBlock "Rounding\nFunction"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Compare\nTo Constant"
DstPort 1
}
Branch {
Points [0, 75]
Branch {
Points [0, 100]
Branch {
DstBlock "Compare\nTo Constant1"
DstPort 1
}
Branch {
Points [0, 70]
Branch {
DstBlock "Compare\nTo Constant4"
DstPort 1
}
Branch {
Points [0, 75]
Branch {
DstBlock "Compare\nTo Constant2"
DstPort 1
}
Branch {
Points [0, 65]
DstBlock "Compare\nTo Constant5"
DstPort 1
}
}
}
}
Branch {
DstBlock "Compare\nTo Constant3"
DstPort 1
}
}
}
}
}
Block {
BlockType Constant
Name "Constant"
Position [95, 335, 125, 365]
Value "515"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType SubSystem
Name "Dispersive"
Ports [1, 1, 1]
Position [325, 178, 415, 242]
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "Dispersive"
Location [90, 178, 569, 376]
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 [110, 103, 140, 117]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType EnablePort
Name "Enable"
Ports []
Position [235, 20, 255, 40]
}
Block {
BlockType Reference
Name "Dispersive Channel"
Ports [1, 1]
Position [205, 83, 290, 137]
DialogController "dspdialog.DigitalFilter"
DialogControllerArgs "DataTag0"
SourceBlock "dsparch4/Digital Filter"
SourceType "Digital Filter"
TypePopup "FIR (all zeros)"
IIRFiltStruct "Direct form II transposed"
AllPoleFiltStruct "Direct form"
FIRFiltStruct "Direct form"
CoeffSource "Specify via dialog"
NumCoeffs "[1 0 0 0.8 0 0 0 -0.7 j*.500 0 0 0 0 0 0 0 -.5 0 0 0 0 0 0 0 0 .5]/1.8"
DenCoeffs "[1 0.1]"
BiQuadCoeffs "[1 0.3 0.4 1 0.1 0.2]"
LatticeCoeffs "[0.2 0.4]"
denIgnore on
FiltPerSampPopup "One filter per frame"
IC "0"
ICnum "0"
ICden "0"
additionalParams off
allowOverrides on
showCoeff off
firstCoeffMode "Same word length as input"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
secondCoeffMode "Same as numerator"
secondCoeffWordLength "16"
secondCoeffFracLength "15"
thirdCoeffMode "Same as input"
thirdCoeffWordLength "16"
thirdCoeffFracLength "15"
showOut off
outputMode "Same as accumulator"
outputWordLength "16"
outputFracLength "15"
showAcc off
accumMode "Same as product output"
accumWordLength "32"
accumFracLength "30"
showMpy off
prodOutputMode "Same as input"
prodOutputWordLength "32"
prodOutputFracLength "30"
showMem off
memoryMode "Same as accumulator"
memoryWordLength "16"
memoryFracLength "15"
roundingMode "Floor"
overflowMode off
ScaleValues "1"
scaleValueFracLength "14"
tapSumMode "Same as input"
tapSumWordLength "32"
tapSumFracLength "30"
stageIOMode "Same as input"
stageIOWordLength "16"
stageInFracLength "15"
stageOutFracLength "15"
LockScale off
FilterSource "Specify via dialog"
dfiltObjectName "dfilt.dffir([1 2 1])"
multiplicandMode "Same as output"
multiplicandWordLength "32"
multiplicandFracLength "30"
}
Block {
BlockType Outport
Name "Out1"
Position [360, 103, 390, 117]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
OutputWhenDisabled "reset"
InitialOutput "0+j*eps"
}
Line {
SrcBlock "Dispersive Channel"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Dispersive Channel"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Fading"
Ports [1, 1, 1]
Position [325, 303, 415, 367]
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -