📄 ofdm1.mdl
字号:
Ports [2, 1]
Position [405, 108, 440, 237]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [415, 429, 450, 551]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide"
Ports [2, 1]
Position [585, 236, 630, 414]
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [170, 245, 200, 275]
Operator "magnitude^2"
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [170, 170, 200, 200]
Operator "conj"
}
Block {
BlockType Math
Name "Math\nFunction2"
Ports [1, 1]
Position [175, 430, 205, 460]
Operator "conj"
}
Block {
BlockType Math
Name "Math\nFunction3"
Ports [1, 1]
Position [175, 505, 205, 535]
Operator "magnitude^2"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [740, 552, 770, 583]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [270, 122, 300, 153]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [275, 382, 305, 413]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [845, 318, 875, 332]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
Points [105, 0; 0, 70]
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "Math\nFunction1"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Math\nFunction"
DstPort 1
}
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
Points [25, 0; 0, -40]
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "In3"
SrcPort 1
Points [100, 0; 0, 70]
DstBlock "Product3"
DstPort 1
}
Line {
SrcBlock "In4"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Math\nFunction2"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Math\nFunction3"
DstPort 1
}
}
Line {
SrcBlock "Math\nFunction2"
SrcPort 1
Points [25, 0; 0, -40]
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [30, 0; 0, -195]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [170, 0; 0, 200]
DstBlock "Add1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction3"
SrcPort 1
DstBlock "Add1"
DstPort 2
}
Line {
SrcBlock "Add1"
SrcPort 1
Points [55, 0; 0, -120]
DstBlock "Divide"
DstPort 2
}
Line {
SrcBlock "Add"
SrcPort 1
Points [60, 0; 0, 105]
DstBlock "Divide"
DstPort 1
}
Line {
SrcBlock "Divide"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Unbuffer"
Ports [1, 1]
Position [450, 112, 485, 168]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "1"
}
Block {
BlockType Reference
Name "Unbuffer1"
Ports [1, 1]
Position [1170, 136, 1220, 184]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "1"
}
Block {
BlockType Reference
Name "Unbuffer2"
Ports [1, 1]
Position [540, 360, 570, 420]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "1"
}
Block {
BlockType Reference
Name "Unbuffer4"
Ports [1, 1]
Position [860, 378, 890, 442]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "1"
}
Block {
BlockType Reference
Name "Zero Pad"
Ports [1, 1]
Position [590, 122, 635, 158]
SourceBlock "dspsigops/Zero Pad"
SourceType "Zero Pad"
padSigAt "Beginning"
zpadAlong "Columns"
padNumOutRowsSpecMethod "User-specified"
numOutRows "124"
padNumOutColsSpecMethod "User-specified"
numOutCols "1"
trunc_flag "None"
}
Block {
BlockType Reference
Name "Zero Pad1"
Ports [1, 1]
Position [665, 122, 710, 158]
SourceBlock "dspsigops/Zero Pad"
SourceType "Zero Pad"
padSigAt "End"
zpadAlong "Columns"
padNumOutRowsSpecMethod "User-specified"
numOutRows "128"
padNumOutColsSpecMethod "User-specified"
numOutCols "1"
trunc_flag "None"
}
Line {
SrcBlock "Bernoulli Binary\nGenerator"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "BPSK\nModulator\nBaseband"
DstPort 1
}
Branch {
Points [0, 105; 905, 0]
Branch {
Points [0, 210]
DstBlock "Error Rate\nCalculation1"
DstPort 1
}
Branch {
Points [20, 0; 0, 55]
DstBlock "Error Rate\nCalculation"
DstPort 1
}
}
}
Line {
SrcBlock "BPSK\nModulator\nBaseband"
SrcPort 1
DstBlock "Buffer"
DstPort 1
}
Line {
SrcBlock "Buffer"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 2
}
Line {
SrcBlock "DSP\nConstant"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 1
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
DstBlock "Unbuffer"
DstPort 1
}
Line {
SrcBlock "Unbuffer"
SrcPort 1
DstBlock "Buffer1"
DstPort 1
}
Line {
SrcBlock "Buffer1"
SrcPort 1
DstBlock "Zero Pad"
DstPort 1
}
Line {
SrcBlock "Zero Pad"
SrcPort 1
DstBlock "Zero Pad1"
DstPort 1
}
Line {
SrcBlock "Zero Pad1"
SrcPort 1
DstBlock "IFFT"
DstPort 1
}
Line {
SrcBlock "IFFT"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Frame Conversion"
DstPort 1
}
Line {
SrcBlock "Frame Conversion"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Unbuffer1"
DstPort 1
}
Line {
SrcBlock "Unbuffer1"
SrcPort 1
Points [30, 0; 0, -115; -1245, 0; 0, 285]
Branch {
DstBlock "Subsystem"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Subsystem1"
DstPort 1
}
}
Line {
SrcBlock "Subsystem2"
SrcPort 1
DstBlock "Unbuffer2"
DstPort 1
}
Line {
SrcBlock "Unbuffer2"
SrcPort 1
DstBlock "Buffer3"
DstPort 1
}
Line {
SrcBlock "Buffer3"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Matrix\nConcatenation1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
DstBlock "Matrix\nConcatenation1"
DstPort 3
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Matrix\nConcatenation1"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 5
DstBlock "Matrix\nConcatenation1"
DstPort 4
}
Line {
SrcBlock "Matrix\nConcatenation1"
SrcPort 1
DstBlock "Unbuffer4"
DstPort 1
}
Line {
SrcBlock "Unbuffer4"
SrcPort 1
DstBlock "BPSK\nDemodulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "BPSK\nDemodulator\nBaseband"
SrcPort 1
Points [20, 0]
Branch {
Points [0, -35]
DstBlock "Error Rate\nCalculation"
DstPort 2
}
Branch {
Points [0, 120]
DstBlock "Error Rate\nCalculation1"
DstPort 2
}
}
Line {
SrcBlock "Error Rate\nCalculation"
SrcPort 1
Points [70, 0]
DstBlock "Display"
DstPort 1
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [55, 0; 0, 35]
DstBlock "Subsystem2"
DstPort 1
}
Line {
SrcBlock "Subsystem"
SrcPort 2
Points [45, 0; 0, 35]
DstBlock "Subsystem2"
DstPort 2
}
Line {
SrcBlock "Subsystem1"
SrcPort 1
DstBlock "Subsystem2"
DstPort 3
}
Line {
SrcBlock "Subsystem1"
SrcPort 2
DstBlock "Subsystem2"
DstPort 4
}
}
}
MatData {
NumRecords 3
DataRecord {
Tag DataTag2
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"# 0 0 , 1D94 "
}
DataRecord {
Tag DataTag1
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"# 0 0 , 1D94 "
}
DataRecord {
Tag DataTag0
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"$ 0 0 0 249&5 "
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -