📄 hop1.mdl
字号:
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/500000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave6"
Ports [0, 1]
Position [90, 198, 135, 242]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "Ay"
Frequency "10^7+24*10^4+5000"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/500000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave7"
Ports [0, 1]
Position [35, 228, 80, 272]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "Ay"
Frequency "10^7+28*10^4+5000"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/500000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave8"
Ports [0, 1]
Position [90, 263, 135, 307]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "Ay"
Frequency "10^7+32*10^4+5000"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/500000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave9"
Ports [0, 1]
Position [35, 298, 80, 342]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "Ay"
Frequency "10^7+36*10^4+5000"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/500000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Outport
Name "Out1"
Position [565, 288, 595, 302]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [0, -20]
DstBlock "Add3"
DstPort 1
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
Points [170, 0; 0, -20]
DstBlock "Add3"
DstPort 2
}
Line {
SrcBlock "Sine Wave2"
SrcPort 1
Points [200, 0; 0, -15]
DstBlock "Add3"
DstPort 3
}
Line {
SrcBlock "Sine Wave3"
SrcPort 1
Points [170, 0; 0, -15]
DstBlock "Add3"
DstPort 4
}
Line {
SrcBlock "Sine Wave4"
SrcPort 1
Points [0, 5; 400, 0]
DstBlock "Add3"
DstPort 5
}
Line {
SrcBlock "Sine Wave6"
SrcPort 1
Points [175, 0; 0, -15]
DstBlock "Add3"
DstPort 6
}
Line {
SrcBlock "Sine Wave7"
SrcPort 1
Points [200, 0; 0, -10]
DstBlock "Add3"
DstPort 7
}
Line {
SrcBlock "Sine Wave8"
SrcPort 1
Points [175, 0; 0, -10]
DstBlock "Add3"
DstPort 8
}
Line {
SrcBlock "Sine Wave9"
SrcPort 1
Points [0, 5; 405, 0]
DstBlock "Add3"
DstPort 9
}
Line {
SrcBlock "Sine Wave11"
SrcPort 1
Points [175, 0; 0, -10]
DstBlock "Add3"
DstPort 10
}
Line {
SrcBlock "Sine Wave15"
SrcPort 1
Points [0, 5; 405, 0]
DstBlock "Add3"
DstPort 11
}
Line {
SrcBlock "Sine Wave12"
SrcPort 1
Points [345, 0]
DstBlock "Add3"
DstPort 12
}
Line {
SrcBlock "Sine Wave13"
SrcPort 1
Points [0, 10; 410, 0]
DstBlock "Add3"
DstPort 13
}
Line {
SrcBlock "Sine Wave14"
SrcPort 1
DstBlock "Add3"
DstPort 14
}
Line {
SrcBlock "Sine Wave10"
SrcPort 1
DstBlock "Add3"
DstPort 15
}
Line {
SrcBlock "Sine Wave5"
SrcPort 1
DstBlock "Add3"
DstPort 16
}
Line {
SrcBlock "Add3"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Line {
SrcBlock "Bernoulli Binary\nGenerator"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 320]
DstBlock "Unit Delay1"
DstPort 1
}
Branch {
Points [0, 0]
Branch {
DstBlock "Add2"
DstPort 1
}
Branch {
Points [0, -65]
DstBlock "Unit Delay2"
DstPort 1
}
}
}
Line {
SrcBlock "Uniform Random\nNumber"
SrcPort 1
DstBlock "Rounding\nFunction"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Rounding\nFunction"
SrcPort 1
Points [10, 0]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [10, 0]
Branch {
Points [0, -90; -40, 0]
DstBlock "Add2"
DstPort 2
}
Branch {
Points [25, 0]
Branch {
DstBlock "Discrete-Time\nVCO1"
DstPort 1
}
Branch {
DstBlock "Discrete-Time\nVCO3"
DstPort 1
}
}
}
Line {
SrcBlock "Add2"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Discrete-Time\nVCO"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "Discrete-Time\nVCO2"
DstPort 1
}
}
Line {
SrcBlock "Discrete-Time\nVCO"
SrcPort 1
Points [5, 0]
Branch {
Points [0, 20]
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "Scope"
DstPort 2
}
}
Line {
SrcBlock "Discrete-Time\nVCO2"
SrcPort 1
Points [0, -30]
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
Line {
SrcBlock "Discrete-Time\nVCO1"
SrcPort 1
Points [10, 0; 0, 30]
DstBlock "Real-Imag to\nComplex1"
DstPort 1
}
Line {
SrcBlock "Discrete-Time\nVCO3"
SrcPort 1
Points [10, 0; 0, -15]
DstBlock "Real-Imag to\nComplex1"
DstPort 2
}
Line {
SrcBlock "Real-Imag to\nComplex1"
SrcPort 1
Points [325, 0]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
Points [40, 0]
Branch {
Points [0, 95]
DstBlock "Spectrum\nScope"
DstPort 1
}
Branch {
DstBlock "AWGN\nChannel"
DstPort 1
}
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Complex to\nReal-Imag"
DstPort 1
}
Branch {
Points [0, 95]
DstBlock "M-FSK\nDemodulator\nBaseband"
DstPort 1
}
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 1
Points [25, 0; 0, -50]
DstBlock "Scope"
DstPort 3
}
Line {
SrcBlock "M-FSK\nDemodulator\nBaseband"
SrcPort 1
DstBlock "Add1"
DstPort 1
}
Line {
SrcBlock "Error Rate\nCalculation"
SrcPort 1
Points [0, 40]
DstBlock "Display"
DstPort 1
}
Line {
SrcBlock "Unit Delay1"
SrcPort 1
Points [395, 0]
DstBlock "Error Rate\nCalculation"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [0, -20]
DstBlock "Add1"
DstPort 2
}
Line {
SrcBlock "Add1"
SrcPort 1
Points [0, 0]
Branch {
Points [0, 240]
DstBlock "Error Rate\nCalculation"
DstPort 2
}
Branch {
Points [0, -90; -105, 0; 0, -50]
DstBlock "Scope"
DstPort 4
}
}
Line {
SrcBlock "Unit Delay2"
SrcPort 1
Points [495, 0]
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Add3"
SrcPort 1
Points [35, 0; 0, -10]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "multitone"
SrcPort 1
Points [65, 0]
Branch {
DstBlock "Add3"
DstPort 2
}
Branch {
DstBlock "Spectrum\nScope1"
DstPort 1
}
}
Line {
SrcBlock "AWGN\nChannel"
SrcPort 1
DstBlock "Add3"
DstPort 1
}
Annotation {
Position [440, 145]
}
Annotation {
Position [416, 66]
}
Annotation {
Position [386, 236]
}
Annotation {
Position [869, 435]
}
Annotation {
Position [694, 475]
}
}
}
MatData {
NumRecords 3
DataRecord {
Tag DataTag2
Data " %)30 . , 8 ( ! % "
"\" 0 0 "
}
DataRecord {
Tag DataTag1
Data " %)30 . , 8 ( ! % "
"\" 0 0 "
}
DataRecord {
Tag DataTag0
Data " %)30 . > 8 ( 0 % "
"\" $ ! 0 . 2 8 ( ! % \" $ "
"2 0 0 $@ $)E<FYO=6QL:4)I;F%R>4=E;@ "
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -