📄 cdma2000tr.mdl
字号:
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [240, 56, 285, 89]
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [240, 151, 285, 184]
InputSameDT off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [240, 241, 285, 274]
InputSameDT off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [240, 326, 285, 359]
InputSameDT off
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [540, 158, 595, 247]
Input "Real and imag"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [115, 266, 165, 339]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1]
Position [105, 135, 165, 225]
ShowName off
Inputs "+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [340, 259, 390, 326]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [340, 73, 380, 142]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Signal"
Position [715, 228, 745, 242]
}
Line {
SrcBlock "SCH2"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "PCH"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "DCCH"
SrcPort 1
DstBlock "Sum1"
DstPort 3
}
Line {
SrcBlock "FCH"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "SCH1/CCCH/EACH"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "PN Sequence"
SrcPort 1
Points [40, 0; 0, 25]
Branch {
Points [0, 285]
DstBlock "Product3"
DstPort 2
}
Branch {
DstBlock "Product"
DstPort 1
}
}
Line {
SrcBlock "PN Sequence"
SrcPort 2
Points [45, 0; 0, 105]
Branch {
DstBlock "Product1"
DstPort 2
}
Branch {
Points [0, 75]
DstBlock "Product2"
DstPort 1
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [50, 0; 0, -20]
Branch {
DstBlock "Product1"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "Product"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [55, 0]
Branch {
DstBlock "Product2"
DstPort 2
}
Branch {
DstBlock "Product3"
DstPort 1
}
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [20, 0; 0, 105]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [20, 0; 0, -35]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
DstBlock "Gain Product4"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [15, 0; 0, -80]
DstBlock "Gain Product4"
DstPort 2
}
Line {
SrcBlock "Gain Product4"
SrcPort 1
DstBlock "Signal"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [35, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [15, 0; 0, 15]
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "FIR\nInterpolation1"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "FIR\nInterpolation"
DstPort 1
}
Line {
SrcBlock "FIR\nInterpolation"
SrcPort 1
Points [15, 0; 0, 70]
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Line {
SrcBlock "FIR\nInterpolation1"
SrcPort 1
Points [15, 0; 0, -70]
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "Orthogonal Spreading"
Ports [2, 1]
Position [450, 309, 565, 371]
TreatAsAtomicUnit off
MaskPromptString "Radio Configuration|Bit Rate|Frame Length|Frame"
" Duration|Channel Type"
MaskStyleString "edit,edit,edit,edit,popup(Reverse Fundamental C"
"hannel|Reverse Supplementary Channel 1|Reverse Supplementary Channel 2|Revers"
"e Dedicated Control Channel|Reverse Common Control Channel|Reverse Pilot Chan"
"nel|Enhanced Access Channel)"
MaskTunableValueString "on,on,on,on,on"
MaskCallbackString "||||"
MaskEnableString "on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on"
MaskToolTipString "on,on,on,on,on"
MaskVarAliasString ",,,,"
MaskVariables "xRC=@1;xBitRate=@2;xFrameLength=@3;xFrameDurati"
"on=@4;xChannelType=@5;"
MaskInitialization "MSOrthogonalSpreadingInitialization"
MaskDisplay "disp('Orthogonal Spreading\\n\\n(cdma 2000 MS)'"
")"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "mRC|mBitRate|mFrameLength|mFrameDuration|Revers"
"e Fundamental Channel"
System {
Name "Orthogonal Spreading"
Location [130, 219, 861, 541]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Relative Gain"
Position [25, 28, 55, 42]
}
Block {
BlockType Inport
Name "Input"
Position [25, 108, 55, 122]
Port "2"
}
Block {
BlockType Reference
Name "Hadamard\nCode Generator"
Ports [0, 1]
Position [275, 188, 380, 242]
SourceBlock "commseqgen2/Hadamard\nCode Generator"
SourceType "Hadamard Code Generator"
length "xWalshCodeLength"
index "xWalshCodeIndex"
ts "1/1228800"
frameBased off
sampPerFrame "1"
}
Block {
BlockType Product
Name "Power Control"
Ports [2, 1]
Position [575, 36, 625, 174]
}
Block {
BlockType Reference
Name "Repeat"
Ports [1, 1]
Position [100, 93, 180, 137]
SourceBlock "dspsigops/Repeat"
SourceType "Repeat"
N "xRepetitionCount"
ic "0"
mode "Maintain input frame size"
}
Block {
BlockType Product
Name "Spread"
Ports [2, 1]
Position [470, 90, 525, 185]
}
Block {
BlockType Reference
Name "Unbuffer"
Ports [1, 1]
Position [225, 91, 275, 139]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType Reference
Name "Unipolar to\nBipolar\nConverter"
Ports [1, 1]
Position [330, 91, 410, 139]
SourceBlock "commutil2/Unipolar to\nBipolar\nConverter"
SourceType "Unipolar to Bipolar Converter"
M "2"
polarity "Negative"
}
Block {
BlockType Outport
Name "Output"
Position [675, 98, 705, 112]
}
Line {
SrcBlock "Input"
SrcPort 1
DstBlock "Repeat"
DstPort 1
}
Line {
SrcBlock "Repeat"
SrcPort 1
DstBlock "Unbuffer"
DstPort 1
}
Line {
SrcBlock "Unbuffer"
SrcPort 1
DstBlock "Unipolar to\nBipolar\nConverter"
DstPort 1
}
Line {
SrcBlock "Unipolar to\nBipolar\nConverter"
SrcPort 1
DstBlock "Spread"
DstPort 1
}
Line {
SrcBlock "Hadamard\nCode Generator"
SrcPort 1
Points [35, 0; 0, -55]
DstBlock "Spread"
DstPort 2
}
Line {
SrcBlock "Spread"
SrcPort 1
DstBlock "Power Control"
DstPort 2
}
Line {
SrcBlock "Relative Gain"
SrcPort 1
Points [470, 0; 0, 35]
DstBlock "Power Control"
DstPort 1
}
Line {
SrcBlock "Power Control"
SrcPort 1
DstBlock "Output"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Random Integer\nGenerator"
Ports [0, 1]
Position [175, 158, 255, 202]
FontName "Arial"
SourceBlock "commrandsrc2/Random Integer\nGenerator"
SourceType "Random Integer Generator"
mul "2"
seed "37"
Ts "mFrameDuration/1000/mFrameLength"
frameBased on
sampPerFrame "mFrameLength"
orient off
}
Block {
BlockType Reference
Name "Spectrum\nScope"
Ports [1]
Position [780, 300, 815, 350]
LinkData {
BlockName "Short-Time FFT/Magnitude\nFFT/FFT"
DialogParameters {
BitRevOrder "off"
}
BlockName "Short-Time FFT/Magnitude\nFFT/Magnitude\nSqua"
"red"
DialogParameters {
OutputSignalType "auto"
}
}
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ScopeProperties off
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "128"
Overlap "64"
inpFftLenInherit off
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
}
Line {
SrcBlock "Random Integer\nGenerator"
SrcPort 1
DstBlock "CRC"
DstPort 1
}
Line {
SrcBlock "CRC"
SrcPort 1
DstBlock "Encoder"
DstPort 1
}
Line {
SrcBlock "Encoder"
SrcPort 1
Points [20, 0; 0, 65; -350, 0; 0, 80]
DstBlock "Interleaver"
DstPort 1
}
Line {
SrcBlock "Interleaver"
SrcPort 1
DstBlock "Orthogonal Spreading"
DstPort 1
}
Line {
SrcBlock "Orthogonal Spreading"
SrcPort 1
Points [50, 0]
DstBlock "Modulation"
DstPort 4
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [25, 0; 0, -35]
DstBlock "Orthogonal Spreading"
DstPort 2
}
Line {
SrcBlock "Modulation"
SrcPort 1
DstBlock "Spectrum\nScope"
DstPort 1
}
Line {
SrcBlock "Constant3"
SrcPort 1
Points [30, 0; 0, -25]
DstBlock "Modulation"
DstPort 6
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Modulation"
DstPort 1
}
Branch {
Points [0, 20]
Branch {
DstBlock "Modulation"
DstPort 2
}
Branch {
Points [0, 20]
Branch {
DstBlock "Modulation"
DstPort 3
}
Branch {
Points [0, 40]
DstBlock "Modulation"
DstPort 5
}
}
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -