📄 is95revchend2end.mdl
字号:
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Upsample1"
DstPort 1
}
Line {
SrcBlock "Upsample1"
SrcPort 1
DstBlock "OQPSK\nDelay"
DstPort 1
}
Line {
SrcBlock "OQPSK\nDelay"
SrcPort 1
Points [25, 0]
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
Line {
SrcBlock "Upsample2"
SrcPort 1
Points [100, 0]
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
DstBlock "Out "
DstPort 1
}
Line {
SrcBlock "IS-95A Rev Ch Walsh\nModulation and Spreadi"
"ng"
SrcPort 2
Points [40, 0; 0, 35]
DstBlock "Terminator7"
DstPort 1
}
}
}
Block {
BlockType Display
Name "BER"
Ports [1]
Position [15, 594, 50, 656]
Orientation "left"
NamePlacement "alternate"
Decimation "1"
}
Block {
BlockType Constant
Name "Constant1"
Position [215, 494, 235, 516]
Orientation "left"
NamePlacement "alternate"
ShowName off
Value "0"
}
Block {
BlockType SubSystem
Name "Data Source"
Ports [0, 2]
Position [15, 240, 115, 320]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Data Source"
Location [2, 74, 1014, 700]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "Data Rate"
Ports [0, 1]
Position [25, 26, 105, 74]
NamePlacement "alternate"
ShowName off
SourceBlock "cdmaprivate/Data Rate"
SourceType "Base Station Transmitter Data Rate"
rate "Full"
}
Block {
BlockType Reference
Name "Random Binary\nFrame Generator"
Ports [0, 1]
Position [25, 91, 100, 119]
SourceBlock "cdmaprivate/Random Binary\nFrame Generator"
SourceType "Random Binary Frame Generator"
seed "1234"
Ts "1/(50*268)"
N "268"
}
Block {
BlockType Outport
Name "Rate"
Position [165, 43, 195, 57]
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Block {
BlockType Outport
Name "Raw Data"
Position [165, 98, 195, 112]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "Data Rate"
SrcPort 1
DstBlock "Rate"
DstPort 1
}
Line {
SrcBlock "Random Binary\nFrame Generator"
SrcPort 1
DstBlock "Raw Data"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Determine Data Index"
Ports [1, 1]
Position [205, 630, 260, 660]
Orientation "left"
SourceBlock "cdmaprivate/Determine Data Index"
SourceType "Determine Data Index"
ShowPortLabels on
rateSet "Rate Set I"
}
Block {
BlockType Reference
Name "Error Rate Calculation"
Ports [3, 1]
Position [70, 594, 155, 656]
Orientation "left"
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "2*268"
st_delay "4*268"
cp_mode "Select samples from port"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType Reference
Name "Error Rate Calculation1"
Ports [2, 1]
Position [75, 459, 160, 521]
Orientation "left"
NamePlacement "alternate"
ShowName off
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "0"
st_delay "4"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType Display
Name "FER"
Ports [1]
Position [15, 460, 45, 520]
Orientation "left"
NamePlacement "alternate"
Decimation "1"
}
Block {
BlockType Reference
Name "Filtered\nspread\nspectrum\n signal"
Ports [1]
Position [1365, 265, 1405, 315]
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels off
ScopeProperties off
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "1024"
Overlap "0"
inpFftLenInherit off
FFTlength "1024"
numAvg "10"
DisplayProperties on
AxisGrid on
Memory off
FrameNumber off
AxisLegend off
AxisZoom on
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[339 281 602 134]"
AxisProperties off
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-50"
YMax "30"
YLabel "Magnitude, dB"
LineProperties off
wintypeSpecScope "Hann"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Block {
BlockType Reference
Name "Filtered \nreceived\nsignal\nspectrum\n "
Ports [1]
Position [1365, 605, 1405, 655]
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels off
ScopeProperties off
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "1024"
Overlap "0"
inpFftLenInherit off
FFTlength "1024"
numAvg "10"
DisplayProperties on
AxisGrid on
Memory off
FrameNumber off
AxisLegend off
AxisZoom on
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[339 50 602 134]"
AxisProperties off
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-50"
YMax "30"
YLabel "Magnitude, dB"
LineProperties off
wintypeSpecScope "Hann"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Block {
BlockType SubSystem
Name "Filtering and \nUnbuffering "
Ports [1, 2]
Position [1240, 15, 1325, 95]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Filtering and \nUnbuffering "
Location [328, 648, 724, 780]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Frame in"
Position [25, 58, 55, 72]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag"
Ports [1, 2]
Position [280, 48, 310, 77]
ShowName off
Output "Real and imag"
}
Block {
BlockType Reference
Name "Pulse Shaping Transmit Filter"
Ports [1, 1]
Position [80, 33, 200, 97]
SourceBlock "cdmaprivate/Pulse Shaping Filter\n(h)"
SourceType "FIR Pulse Shaping Filter"
N "1"
}
Block {
BlockType Reference
Name "Unbuffer"
Ports [1, 1]
Position [225, 47, 265, 83]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType Outport
Name "Scope I"
Position [335, 33, 365, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Scope Q"
Position [335, 78, 365, 92]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Frame in"
SrcPort 1
DstBlock "Pulse Shaping Transmit Filter"
DstPort 1
}
Line {
SrcBlock "Pulse Shaping Transmit Filter"
SrcPort 1
DstBlock "Unbuffer"
DstPort 1
}
Line {
SrcBlock "Unbuffer"
SrcPort 1
DstBlock "Complex to\nReal-Imag"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 1
Points [5, 0]
DstBlock "Scope I"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 2
Points [5, 0]
DstBlock "Scope Q"
DstPort 1
}
}
}
Block {
BlockType From
Name "From1"
Position [295, 637, 335, 653]
Orientation "left"
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Rate"
}
Block {
BlockType From
Name "From2"
Position [1200, 387, 1240, 403]
Orientation "left"
NamePlacement "alternate"
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Rate"
}
Block {
BlockType Goto
Name "Goto"
Position [870, 201, 910, 219]
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Rate"
TagVisibility "local"
}
Block {
BlockType Reference
Name "IS-95A CRC Generator"
Ports [2, 1]
Position [195, 240, 295, 320]
SourceBlock "cdmalibv1p1/IS-95A Common/IS-95A CRC Generator"
SourceType "IS-95A CRC Generator"
rate_set "Rate Set I"
ch_type "Traffic"
}
Block {
BlockType Reference
Name "IS-95A Frame Quality \nDetector"
Ports [3, 2]
Position [310, 465, 420, 545]
Orientation "left"
SourceBlock "cdmalibv1p1/IS-95A Common/IS-95A Frame Quality "
"\nDetector"
SourceType "IS-95A Frame Quality Detector"
ShowPortLabels on
rateSet "Rate Set I"
chType "Traffic"
rate2_metric "0.9*1.5"
rate3_metric "0.85*1.5"
}
Block {
BlockType Reference
Name "IS-95A Rev Ch \nConvolutional Encoder"
Ports [2, 1]
Position [360, 240, 460, 320]
SourceBlock "cdmalibv1p1/IS-95A Mobile Station Transmitter/I"
"S-95A Rev Ch\nConvolutional Encoder"
SourceType "IS-95A Rev Ch Convolutional Encoder"
rate_set "Rate Set I"
ch_type "Traffic"
enc_state "[]"
}
Block {
BlockType Reference
Name "IS-95A Rev Ch \nDeinterleaver"
Ports [2, 1]
Position [775, 500, 875, 580]
Orientation "left"
SourceBlock "cdmalibv1p1/IS-95A Mobile Station Transmitter/I"
"S-95A Rev Ch\nInterleaver//Deinterleaver"
SourceType "IS-95A Rev Ch Interleaver/Deinterleaver"
ch_type "Traffic"
int_select "Deinterleaver"
}
Block {
BlockType Reference
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -