📄 wcdmaspreadandmod.mdl
字号:
Block {
BlockType Reference
Name "Unbuffer3"
Ports [1, 1]
Position [285, 338, 325, 362]
ShowName off
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType Reference
Name "Unbuffer4"
Ports [1, 1]
Position [330, 98, 350, 122]
ShowName off
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType Reference
Name "Unbuffer5"
Ports [1, 1]
Position [285, 123, 305, 147]
ShowName off
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType Outport
Name "Real1"
Position [370, 103, 400, 117]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Real2"
Position [410, 203, 440, 217]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Real3"
Position [360, 293, 390, 307]
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Imag1"
Position [415, 128, 445, 142]
Port "4"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Imag2"
Position [410, 248, 440, 262]
Port "5"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Imag3"
Position [360, 343, 390, 357]
Port "6"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Real4"
Position [340, 393, 370, 407]
Port "7"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Imag4"
Position [290, 408, 320, 422]
Port "8"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Frame Status\nConversion1"
SrcPort 1
DstBlock "Complex to\nReal-Imag3"
DstPort 1
}
Line {
SrcBlock "Unbuffer5"
SrcPort 1
DstBlock "Imag1"
DstPort 1
}
Line {
SrcBlock "Unbuffer4"
SrcPort 1
DstBlock "Real1"
DstPort 1
}
Line {
SrcBlock "Deinterlacer"
SrcPort 2
DstBlock "Unbuffer5"
DstPort 1
}
Line {
SrcBlock "Deinterlacer"
SrcPort 1
DstBlock "Unbuffer4"
DstPort 1
}
Line {
SrcBlock "chEst"
SrcPort 1
DstBlock "Frame Status\nConversion1"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag3"
SrcPort 2
DstBlock "Imag4"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag3"
SrcPort 1
DstBlock "Real4"
DstPort 1
}
Line {
SrcBlock "Unbuffer3"
SrcPort 1
DstBlock "Imag3"
DstPort 1
}
Line {
SrcBlock "Unbuffer2"
SrcPort 1
DstBlock "Real3"
DstPort 1
}
Line {
SrcBlock "Before Pulse"
SrcPort 1
DstBlock "Complex to\nReal-Imag2"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag2"
SrcPort 1
Points [15, 0; 0, -15]
DstBlock "Unbuffer2"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag2"
SrcPort 2
Points [20, 0; 0, 20]
DstBlock "Unbuffer3"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag1"
SrcPort 1
Points [15, 0; 0, -25]
DstBlock "Unbuffer"
DstPort 1
}
Line {
SrcBlock "Unbuffer1"
SrcPort 1
DstBlock "Imag2"
DstPort 1
}
Line {
SrcBlock "Unbuffer"
SrcPort 1
DstBlock "Real2"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag1"
SrcPort 2
Points [20, 0; 0, 5]
DstBlock "Unbuffer1"
DstPort 1
}
Line {
SrcBlock "After Spread"
SrcPort 1
DstBlock "Complex to\nReal-Imag1"
DstPort 1
}
Line {
SrcBlock "Bef Spread"
SrcPort 1
DstBlock "Deinterlacer"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "Imag Part"
Ports [3]
Position [405, 162, 445, 248]
NamePlacement "alternate"
Floating off
Location [42, 409, 1232, 689]
Open off
NumInputPorts "3"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "Bits before Spreading - Imag Part"
axes2 "Chips after Spreading - Imag Part"
axes3 "Chips before Pulse Shaping - Imag Part"
}
Grid "on"
TimeRange "0.0001500000000000008"
YMin "-0.5~-1.5~-1.5"
YMax "1.5~1.5~1.5"
SaveToWorkspace off
SaveName "ScopeData5"
DataFormat "Structure"
LimitDataPoints on
MaxDataPoints "512"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Reference
Name "Instrumentation\nSwitch"
Ports [0, 1]
Position [55, 25, 155, 45]
ShowName off
SourceBlock "dspsrcs3/DSP\nConstant"
SourceType "DSP Constant"
Value "1"
InterpretAs1D "off"
SampleMode "Discrete"
Ts "1/15e3"
FramebasedOutput "off"
}
Block {
BlockType Scope
Name "Real Part"
Ports [3]
Position [305, 72, 345, 158]
NamePlacement "alternate"
Floating off
Location [45, 66, 1236, 347]
Open off
NumInputPorts "3"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "Bits before Spreading - Real Part"
axes2 "Chips after Spreading - Real Part"
axes3 "Chips before Pulse Shaping - Real Part"
}
Grid "on"
TimeRange "0.0001500000000000008"
YMin "-0.5~-1.5~-1.5"
YMax "1.5~1.5~1.5"
SaveToWorkspace off
SaveName "ScopeData6"
DataFormat "Structure"
LimitDataPoints on
MaxDataPoints "512"
Decimation "1"
SampleInput off
SampleTime "0"
}
Line {
SrcBlock "Collect Data"
SrcPort 8
DstBlock "Channel Estimates"
DstPort 2
}
Line {
SrcBlock "Collect Data"
SrcPort 7
DstBlock "Channel Estimates"
DstPort 1
}
Line {
SrcBlock "Instrumentation\nSwitch"
SrcPort 1
Points [40, 0]
DstBlock "Collect Data"
DstPort enable
}
Line {
SrcBlock "Collect Data"
SrcPort 6
DstBlock "Imag Part"
DstPort 3
}
Line {
SrcBlock "Collect Data"
SrcPort 5
DstBlock "Imag Part"
DstPort 2
}
Line {
SrcBlock "Collect Data"
SrcPort 4
DstBlock "Imag Part"
DstPort 1
}
Line {
SrcBlock "Collect Data"
SrcPort 3
DstBlock "Real Part"
DstPort 3
}
Line {
SrcBlock "Collect Data"
SrcPort 2
DstBlock "Real Part"
DstPort 2
}
Line {
SrcBlock "Collect Data"
SrcPort 1
DstBlock "Real Part"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Collect Data"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Collect Data"
DstPort 2
}
Line {
SrcBlock "In3"
SrcPort 1
DstBlock "Collect Data"
DstPort 3
}
Line {
SrcBlock "In5"
SrcPort 1
DstBlock "Collect Data"
DstPort 4
}
Annotation {
Position [405, 108]
ForegroundColor "red"
Text "Plot Sequences\nReal Part"
}
Annotation {
Position [525, 198]
ForegroundColor "red"
Text "Plot Sequences\nImag Part"
}
Annotation {
Position [397, 278]
ForegroundColor "red"
Text "Plot\nCh Estimates"
}
}
}
Block {
BlockType Reference
Name "Tx Pulse Shaping Filter"
Ports [1, 1]
Position [830, 130, 895, 170]
ShowName off
SourceBlock "wcdmalib/WCDMA Common/Tx Pulse Shaping Filter"
SourceType "Tx FIR Pulse Shaping Filter"
numTaps "numTapsRRC"
Fs "3.84e6"
beta "0.22"
N "overSampling"
}
Block {
BlockType SubSystem
Name "WCDMA Channel Models"
Ports [1, 1]
Position [130, 343, 260, 397]
ShowName off
LinkData {
BlockName "AWGN"
DialogParameters {
ShowPortLabels "off"
}
}
FontName "Arial"
ShowPortLabels off
BlockChoice "Multipath+AWGN"
TemplateBlock "wcdmalib/WCDMA Channel Model/WCDMA Channel Mode"
"ls"
MemberBlocks "AWGN,Multipath+AWGN,No Channel"
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
Port {
PortNumber 1
Name "Rx Signal"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
System {
Name "WCDMA Channel Models"
Location [148, 182, 646, 482]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "ChIn"
Position [20, 40, 40, 60]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Reference
Name "Multipath+AWGN"
Ports [1, 1]
Position [100, 40, 140, 80]
SourceBlock "wcdmalib/WCDMA Channel Model/Multipath+AWGN"
SourceType ""
}
Block {
BlockType Outport
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -