📄 whole_cdma2000.mdl
字号:
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 Reference
Name "Spectrum\nScope"
Ports [1]
Position [835, 215, 870, 265]
LinkData {
BlockName "Short-Time FFT/Magnitude\nFFT/FFT"
DialogParameters {
BitRevOrder "off"
}
BlockName "Short-Time FFT/Magnitude\nFFT/Magnitude\n"
"Squared"
DialogParameters {
OutputSignalType "auto"
}
}
DialogController "dspdialog.SpectrumScope"
DialogControllerArgs "DataTag2"
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels off
ScopeProperties off
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "128"
Overlap "64"
inpFftLenInherit on
FFTlength "128"
numAvg "10"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "get(0,'defaultfigureposition')"
AxisProperties on
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-65"
YMax "15"
YLabel "Magnitude, dB"
LineProperties off
wintypeSpecScope "Hann"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Symmetric"
}
Block {
BlockType Outport
Name "Out1"
Position [875, 113, 905, 127]
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
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 [15, 0]
Branch {
DstBlock "Spectrum\nScope"
DstPort 1
}
Branch {
Points [0, -120]
DstBlock "Out1"
DstPort 1
}
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "FIR\nInterpolation"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
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
}
}
Line {
SrcBlock "FIR\nInterpolation"
SrcPort 1
Points [65, 0; 0, 100]
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Line {
SrcBlock "FIR\nInterpolation1"
SrcPort 1
Points [60, 0; 0, -120]
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
}
}
Line {
SrcBlock "Binary Data\nSource"
SrcPort 1
DstBlock "CRC"
DstPort 1
}
Line {
SrcBlock "CRC"
SrcPort 1
DstBlock "Encoder"
DstPort 1
}
Line {
SrcBlock "Encoder"
SrcPort 1
DstBlock "Interleaver"
DstPort 1
}
Line {
SrcBlock "Orthogonal Spreading"
SrcPort 1
DstBlock "Subsystem"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [15, 0; 0, -65]
DstBlock "Subsystem"
DstPort 2
}
Line {
Points [935, 285; 25, 0]
}
Line {
SrcBlock "Interleaver"
SrcPort 1
DstBlock "Orthogonal Spreading"
DstPort 2
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [15, 0; 0, 30]
DstBlock "Orthogonal Spreading"
DstPort 1
}
}
}
MatData {
NumRecords 3
DataRecord {
Tag DataTag2
Data " %)30 . , 8 ( ! % "
"\" 0 0 "
}
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 + -