📄 modulation_susystem.mdl
字号:
SourceType "PN Sequence Generator"
poly "xLongCodeGenerator"
ini_sta "[zeros(1,41) 1]"
shift "xLongCodeMask"
Ts "xSampleTime"
frameBased "off"
sampPerFrame "1"
reset "off"
outDataType "double"
}
Block {
BlockType Reference
Name "PN I Converter"
Ports [1, 1]
Position [340, 26, 420, 74]
SourceBlock "commutil2/Unipolar to\nBipolar\nConvert"
"er"
SourceType "Unipolar to Bipolar Converter"
ShowPortLabels "on"
M "2"
polarity "Negative"
}
Block {
BlockType Reference
Name "PN Q Converter"
Ports [1, 1]
Position [345, 211, 425, 259]
SourceBlock "commutil2/Unipolar to\nBipolar\nConvert"
"er"
SourceType "Unipolar to Bipolar Converter"
ShowPortLabels "on"
M "2"
polarity "Negative"
}
Block {
BlockType Reference
Name "PN Sequence\nGenerator"
Ports [0, 1]
Position [25, 28, 105, 72]
SourceBlock "commseqgen2/PN Sequence\nGenerator"
SourceType "PN Sequence Generator"
poly "xPNGeneratorI"
ini_sta "[zeros(1,14) 1]"
shift "[zeros(1,14) 1]"
Ts "2^15/1228800/(2^15-1)"
frameBased "on"
sampPerFrame "2^15-1"
reset "off"
outDataType "double"
}
Block {
BlockType Reference
Name "PN Sequence\nGenerator1"
Ports [0, 1]
Position [25, 213, 105, 257]
SourceBlock "commseqgen2/PN Sequence\nGenerator"
SourceType "PN Sequence Generator"
poly "xPNGeneratorQ"
ini_sta "[zeros(1,14) 1]"
shift "[zeros(1,14) 1]"
Ts "2^15/1228800/(2^15-1)"
frameBased "on"
sampPerFrame "2^15-1"
reset "off"
outDataType "double"
}
Block {
BlockType Product
Name "Q Product1"
Ports [2, 1]
Position [570, 162, 625, 258]
RndMeth "Floor"
}
Block {
BlockType Product
Name "Q Product2"
Ports [2, 1]
Position [780, 137, 835, 233]
RndMeth "Floor"
}
Block {
BlockType Reference
Name "Unbuffer"
Ports [1, 1]
Position [225, 26, 275, 74]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType Reference
Name "Unbuffer1"
Ports [1, 1]
Position [225, 211, 275, 259]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [475, 165, 510, 205]
SampleTime "xSampleTime"
}
Block {
BlockType Outport
Name "I branch"
Position [885, 78, 915, 92]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Q branch"
Position [890, 178, 920, 192]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "PN Sequence\nGenerator"
SrcPort 1
DstBlock "Insert Zero"
DstPort 1
}
Line {
SrcBlock "Insert Zero"
SrcPort 1
DstBlock "Unbuffer"
DstPort 1
}
Line {
SrcBlock "PN Sequence\nGenerator1"
SrcPort 1
DstBlock "Insert Zero1"
DstPort 1
}
Line {
SrcBlock "Insert Zero1"
SrcPort 1
DstBlock "Unbuffer1"
DstPort 1
}
Line {
SrcBlock "Unbuffer"
SrcPort 1
DstBlock "PN I Converter"
DstPort 1
}
Line {
SrcBlock "Long Code\nGenerator"
SrcPort 1
DstBlock "LC Converter"
DstPort 1
}
Line {
SrcBlock "Unbuffer1"
SrcPort 1
DstBlock "PN Q Converter"
DstPort 1
}
Line {
SrcBlock "LC Converter"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, 45]
DstBlock "Unit Delay"
DstPort 1
}
Branch {
Points [0, -35]
DstBlock "I Product"
DstPort 2
}
}
Line {
SrcBlock "PN I Converter"
SrcPort 1
Points [40, 0; 0, 10]
DstBlock "I Product"
DstPort 1
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
DstBlock "Q Product1"
DstPort 1
}
Line {
SrcBlock "PN Q Converter"
SrcPort 1
DstBlock "Q Product1"
DstPort 2
}
Line {
SrcBlock "Q Product1"
SrcPort 1
DstBlock "Conversion"
DstPort 1
}
Line {
SrcBlock "Conversion"
SrcPort 1
DstBlock "Q Product2"
DstPort 2
}
Line {
SrcBlock "I Product"
SrcPort 1
Points [0, 0; 125, 0]
Branch {
DstBlock "I branch"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Q Product2"
DstPort 1
}
}
Line {
SrcBlock "Q Product2"
SrcPort 1
DstBlock "Q branch"
DstPort 1
}
}
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [345, 66, 390, 99]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [345, 331, 390, 364]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [645, 163, 700, 252]
}
Block {
BlockType Outport
Name "Signal"
Position [820, 233, 850, 247]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "PN Sequence"
SrcPort 1
Points [145, 0; 0, 310]
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "PN Sequence"
SrcPort 2
Points [0, 0]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
Points [20, 0]
DstBlock "Gain Product3"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [15, 0; 0, -80]
DstBlock "Gain Product3"
DstPort 2
}
Line {
SrcBlock "Gain Product3"
SrcPort 1
Points [0, 0]
DstBlock "Signal"
DstPort 1
}
Line {
SrcBlock "FIR\nInterpolation"
SrcPort 1
Points [120, 0; 0, 100]
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Line {
SrcBlock "FIR\nInterpolation1"
SrcPort 1
Points [115, 0; 0, -120]
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [15, 0]
DstBlock "FIR\nInterpolation"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [20, 0]
DstBlock "FIR\nInterpolation1"
DstPort 1
}
Line {
SrcBlock "FCH"
SrcPort 1
Points [0, 0; 50, 0]
Branch {
Points [0, -125]
DstBlock "Product1"
DstPort 2
}
Branch {
Points [0, 125]
DstBlock "Product2"
DstPort 1
}
}
}
}
Block {
BlockType Outport
Name "Signal"
Position [810, 348, 840, 362]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "FCH"
SrcPort 1
Points [120, 0; 0, -25]
DstBlock "Subsystem"
DstPort 1
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [70, 0; 0, 35]
DstBlock "Signal"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, -90; -310, 0]
DstBlock "Subsystem"
DstPort 2
}
}
}
MatData {
NumRecords 2
DataRecord {
Tag DataTag1
Data " %)30 . < 8 ( 0 % "
"\" $ ! 0 . 0 8 ( ! % \" $ "
", 0 0 # $9)4D1E8TEN=&5R< "
}
DataRecord {
Tag DataTag0
Data " %)30 . < 8 ( 0 % "
"\" $ ! 0 . 0 8 ( ! % \" $ "
", 0 0 # $9)4D1E8TEN=&5R< "
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -