📄 cr_sender.mdl
字号:
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [745, 522, 775, 553]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "0.01/8/4"
}
Block {
BlockType Reference
Name "Raised Cosine\nTransmit Filter"
Ports [1, 1]
Position [525, 238, 605, 282]
SourceBlock "commfilt2/Raised Cosine\nTransmit Filter"
SourceType "Raised Cosine Transmit Filter"
ShowPortLabels on
filtType "Normal"
D "4"
R "0.2"
sampMode "Sample-based"
N "8"
checkGain "Normalized"
filterGain "1"
checkCoeff off
variableName "rcTxFilt"
launchFVT off
}
Block {
BlockType Reference
Name "Raised Cosine\nTransmit Filter1"
Ports [1, 1]
Position [535, 598, 615, 642]
SourceBlock "commfilt2/Raised Cosine\nTransmit Filter"
SourceType "Raised Cosine Transmit Filter"
ShowPortLabels on
filtType "Normal"
D "4"
R "0.2"
sampMode "Sample-based"
N "8"
checkGain "Normalized"
filterGain "1"
checkCoeff off
variableName "rcTxFilt1"
launchFVT off
}
Block {
BlockType Reference
Name "Random Integer\nGenerator"
Ports [0, 1]
Position [130, 78, 210, 122]
FontName "Arial"
SourceBlock "commrandsrc2/Random Integer\nGenerator"
SourceType "Random Integer Generator"
ShowPortLabels on
mul "2"
seed "37"
Ts "0.08"
frameBased off
sampPerFrame "1"
orient off
}
Block {
BlockType Reference
Name "Random Integer\nGenerator1"
Ports [0, 1]
Position [140, 443, 220, 487]
FontName "Arial"
SourceBlock "commrandsrc2/Random Integer\nGenerator"
SourceType "Random Integer Generator"
ShowPortLabels on
mul "2"
seed "37"
Ts "0.08"
frameBased off
sampPerFrame "1"
orient off
}
Block {
BlockType RateTransition
Name "Rate Transition"
Position [219, 165, 261, 205]
Orientation "down"
OutPortSampleTime "0.01"
}
Block {
BlockType RateTransition
Name "Rate Transition1"
Position [655, 239, 695, 281]
OutPortSampleTime "0.01/8/4"
}
Block {
BlockType RateTransition
Name "Rate Transition2"
Position [229, 525, 271, 565]
Orientation "down"
OutPortSampleTime "0.01"
}
Block {
BlockType RateTransition
Name "Rate Transition3"
Position [635, 599, 675, 641]
OutPortSampleTime "0.01/8/4"
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [810, 208, 840, 237]
Input "Real and imag"
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex1"
Ports [2, 1]
Position [820, 568, 850, 597]
Input "Real and imag"
}
Block {
BlockType Sin
Name "Sin Wave"
Ports [0, 1]
Position [670, 310, 700, 340]
SineType "Time based"
Frequency "500*2*pi"
SampleTime "0.01/8/4"
}
Block {
BlockType Sin
Name "SinL"
Ports [0, 1]
Position [680, 670, 710, 700]
SineType "Time based"
Frequency "3173.0086"
SampleTime "0.01/8/4"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [990, 210, 1050, 240]
VariableName "s_bpsk"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace2"
Position [1010, 570, 1070, 600]
VariableName "L_bpsk"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Line {
SrcBlock "PN Sequence\nGenerator"
SrcPort 1
Points [5, 0; 0, -55]
DstBlock "Logical\nOperator"
DstPort 2
}
Line {
SrcBlock "Random Integer\nGenerator"
SrcPort 1
Points [25, 0]
DstBlock "Rate Transition"
DstPort 1
}
Line {
SrcBlock "Rate Transition"
SrcPort 1
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "Data Type Conversion"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Sin Wave"
SrcPort 1
Points [15, 0]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Raised Cosine\nTransmit Filter"
SrcPort 1
DstBlock "Rate Transition1"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
DstBlock "Data Type Conversion"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Raised Cosine\nTransmit Filter"
DstPort 1
}
Line {
SrcBlock "Rate Transition1"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, -75]
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Cos Wave"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
DstBlock "DelayR"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [10, 0; 0, 35]
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [10, 0; 0, -40]
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
Line {
SrcBlock "PN Sequence\nGenerator1"
SrcPort 1
Points [5, 0; 0, -55]
DstBlock "Logical\nOperator1"
DstPort 2
}
Line {
SrcBlock "Random Integer\nGenerator1"
SrcPort 1
Points [25, 0]
DstBlock "Rate Transition2"
DstPort 1
}
Line {
SrcBlock "Rate Transition2"
SrcPort 1
DstBlock "Logical\nOperator1"
DstPort 1
}
Line {
SrcBlock "Data Type Conversion1"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "SinL"
SrcPort 1
Points [15, 0]
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Raised Cosine\nTransmit Filter1"
SrcPort 1
DstBlock "Rate Transition3"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator1"
SrcPort 1
DstBlock "Data Type Conversion1"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Raised Cosine\nTransmit Filter1"
DstPort 1
}
Line {
SrcBlock "Rate Transition3"
SrcPort 1
Points [30, 0; 15, 0]
Branch {
Points [0, -75]
DstBlock "Product3"
DstPort 2
}
Branch {
DstBlock "Product2"
DstPort 1
}
}
Line {
SrcBlock "CosL"
SrcPort 1
DstBlock "Product3"
DstPort 1
}
Line {
SrcBlock "Real-Imag to\nComplex1"
SrcPort 1
DstBlock "DelayL"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [10, 0; 0, 35]
DstBlock "Real-Imag to\nComplex1"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [10, 0; 0, -40]
DstBlock "Real-Imag to\nComplex1"
DstPort 2
}
Line {
SrcBlock "DelayL"
SrcPort 1
DstBlock "To Workspace2"
DstPort 1
}
Line {
SrcBlock "DelayR"
SrcPort 1
DstBlock "To Workspace1"
DstPort 1
}
Annotation {
Name "T=2.^5=32"
Position [136, 381]
}
Annotation {
Name "Tc=0.01"
Position [348, 325]
}
Annotation {
Name "right"
Position [1448, 196]
}
Annotation {
Name "T=2.^5"
Position [146, 741]
}
Annotation {
Name "Tb=0.08"
Position [136, 165]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -