📄 cdma2k_phlayer.mdl
字号:
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Info"
Location [166, 74, 863, 674]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Annotation {
Name "CDMA2000 1xRTT Physical Layer\nRadio Config"
"uration 3 - Forward Fundamental Channel"
Position [307, 26]
FontName "Bookman Old Style"
FontSize 16
FontWeight "bold"
}
Annotation {
Name "This model simulates a CDMA2000 1xRTT Forwa"
"rd link (between Base Station and Mobile Station).\nParticularly, it simulate"
"s the Radio Configuration 3 of a Forward Fundamental channel.\n\nThe block CD"
"MA2k: Initial settings allows you to set different parameters such as data ra"
"te, Power Control\nSubChannel insertion rate, spreading code index, QOSF inde"
"x as well as the channel model.\n\nThis application example includes the foll"
"owing blocks: \n - Frame Quality Indicator Insertion and Extraction\n"
" - Adding and Deleting Tail Bits before and after coding\n - Co"
"nvolution encoding and decoding\n - Repetition and derepetition\n"
" - Puncturing and Zero padding\n - Interleaving\n - Long"
" Code Scrambling\n - Power Control Insertion\n - Signal Point M"
"apping\n - Modulation\n - Spreading by Walsh code and a QOF mas"
"k\n - Walsh Code rotation\n - Quadrature Scrambling by a PN Seq"
"uence\n - Tx and Rx Filtering by an oversampled RRC\n - Differe"
"nt channel models such as AWGN or Multipath Rayleigh Fading\n - Rake R"
"eceiver\n - Channel estimation\n - Rake Combiner\n\nHighlights:"
"\n - Extensive use of the Communications Library to implement wireless"
" systems\n - Use of sub-system to design represent the architecture o"
"f the design\n - Use of a library to reuse and share custom built bloc"
"ks\n - Use of S-Fcn builder to insert customized C code to implement a"
"n extend PN Sequence\n - Use of general mask to control the different "
"paramters of the simulation\n - Extensive use of scopes to visualize t"
"he data at different points of the model \n\nReference: <http://www.3gpp2.co"
"m/> "
Position [69, 325]
HorizontalAlignment "left"
FontName "Arial"
FontSize 12
}
}
}
Block {
BlockType SubSystem
Name "Open Library"
Ports []
Position [845, 54, 935, 87]
BackgroundColor "[0.796078, 0.984314, 0.768627]"
ShowName off
OpenFcn "open('cdma2k_lib.mdl');"
ShowPortLabels off
TreatAsAtomicUnit off
MaskDisplay "disp('LIBRARY')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Open Library"
Location [197, 386, 698, 404]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "Open Scopes"
Ports []
Position [740, 125, 814, 147]
BackgroundColor "[0.796078, 0.984314, 0.768627]"
ShowName off
OpenFcn "str1 = 'Rx Antenna'; "
" \nstr2 = 'From Channel'; "
" \nstr3 = 'After Rake'; "
" \nstr4 = 'After Correlation'; "
" \nstr5 = 'After Derotation'; "
" \nstr6 = 'After Pulse Shaping'; "
" \nstr7 = 'From Channel'; "
" \n "
" \nsdspfscope2([],[],[],'ScopeUpdate',[bdroot '/' str1 '/'"
" str2 ],'OpenFig');\nsdspfscope2([],[],[],'ScopeUpdate',[bdroot '/' str1 '/' "
"str3 ],'OpenFig');\nsdspfscope2([],[],[],'ScopeUpdate',[bdroot '/' str1 '/' s"
"tr4 ],'OpenFig');\nsdspfscope2([],[],[],'ScopeUpdate',[bdroot '/' str1 '/' st"
"r5 ],'OpenFig');\nsdspfscope2([],[],[],'ScopeUpdate',[bdroot '/' str6],'OpenF"
"ig'); \n sdspfscope2([],[],[],'ScopeUpdate',[bdroot '/' str7],'OpenF"
"ig'); \n "
" "
FontName "Arial"
TreatAsAtomicUnit off
MaskDisplay "disp('Open Scopes');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Open Scopes"
Location [207, 323, 855, 323]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType Display
Name "PC SubChannel"
Ports [1]
Position [435, 445, 520, 475]
Orientation "left"
BackgroundColor "[1.000000, 0.788235, 0.576471]"
NamePlacement "alternate"
Decimation "1"
}
Block {
BlockType Reference
Name "Power Control\nSubChannel"
Ports [0, 1]
Position [435, 249, 505, 271]
BackgroundColor "[0.580392, 0.725490, 0.960784]"
AttributesFormatString "\\n\\n\\n\\n"
SourceBlock "dspsrcs4/DSP\nConstant"
SourceType "DSP Constant"
Value "1"
SampleMode "Discrete"
discreteOutput "Frame-based"
continuousOutput "Sample-based"
sampTime "20e-3/16"
framePeriod "20e-3/16"
additionalParams off
dataType "Inherit from 'Constant value'"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
InterpretAs1D "off"
Ts "20e-3/16"
FramebasedOutput "on"
}
Block {
BlockType SubSystem
Name "Rx Antenna"
Ports [1, 2]
Position [545, 444, 755, 511]
Orientation "left"
BackgroundColor "[0.611765, 0.745098, 0.960784]"
TreatAsAtomicUnit off
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Rx Antenna"
Location [50, 240, 907, 647]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "FromCh"
Position [790, 193, 820, 207]
Orientation "left"
}
Block {
BlockType Reference
Name "After Correlation"
Tag "ScatterPlot"
Ports [1]
Position [340, 250, 390, 300]
Orientation "left"
NamePlacement "alternate"
SourceBlock "commsink2/Discrete-Time\nScatter Plot\nScop"
"e"
SourceType "Discrete-Time Scatter Plot Scope"
showPlotting off
sampPerSymb "1"
offsetEye "0"
numTraces "30"
numNewFrames "3"
showRendering off
LineMarkers "."
LineColors "[1 0 0]"
fading on
render off
AxisGrid on
showAxes off
xMin "-3.59305859413821"
xMax "3.56967957476289"
yMin "-3.37894934612581"
yMax "3.7837888227753"
inphaseLabel " "
quadratureLabel " "
showFigure off
openScopeAtSimStart off
FrameNumber off
FigPos "[266 374 225 225]"
figTitle " "
numLinesMax "50"
block_type_ "scatter"
}
Block {
BlockType Reference
Name "After Derotation"
Tag "ScatterPlot"
Ports [1]
Position [240, 315, 290, 365]
Orientation "left"
NamePlacement "alternate"
SourceBlock "commsink2/Discrete-Time\nScatter Plot\nScop"
"e"
SourceType "Discrete-Time Scatter Plot Scope"
showPlotting off
sampPerSymb "1"
offsetEye "0"
numTraces "30"
numNewFrames "5"
showRendering off
LineMarkers "."
LineColors "b"
fading on
render off
AxisGrid on
showAxes off
xMin "-3.22434444007457"
xMax "3.46614847196624"
yMin "-3.31792338934159"
yMax "3.37256952269922"
inphaseLabel " "
quadratureLabel " "
showFigure on
openScopeAtSimStart off
FrameNumber off
FigPos "[31 105 225 225]"
figTitle " "
numLinesMax "50"
block_type_ "scatter"
}
Block {
BlockType Reference
Name "After Rake"
Tag "ScatterPlot"
Ports [1]
Position [365, 35, 415, 85]
Orientation "left"
NamePlacement "alternate"
SourceBlock "commsink2/Discrete-Time\nScatter Plot\nScop"
"e"
SourceType "Discrete-Time Scatter Plot Scope"
showPlotting off
sampPerSymb "1"
offsetEye "0"
numTraces "70"
numNewFrames "20"
showRendering off
LineMarkers "."
LineColors "[1 0 1]"
fading on
render off
AxisGrid on
showAxes off
xMin "-2.7"
xMax "2.7"
yMin "-2.7"
yMax "2.7"
inphaseLabel " "
quadratureLabel " "
showFigure on
openScopeAtSimStart off
FrameNumber off
FigPos "[266 105 225 225]"
figTitle " "
numLinesMax "50"
block_type_ "scatter"
}
Block {
BlockType Reference
Name "From Channel"
Tag "ScatterPlot"
Ports [1]
Position [665, 40, 715, 90]
Orientation "left"
NamePlacement "alternate"
SourceBlock "commsink2/Discrete-Time\nScatter Plot\nScop"
"e"
SourceType "Discrete-Time Scatter Plot Scope"
showPlotting off
sampPerSymb "1"
offsetEye "0"
numTraces "70"
numNewFrames "20"
showRendering off
LineMarkers "."
LineColors "[1 0 1]"
fading on
render off
AxisGrid on
showAxes off
xMin "-2.7"
xMax "2.7"
yMin "-2.7"
yMax "2.7"
inphaseLabel " "
quadratureLabel " "
showFigure off
openScopeAtSimStart off
FrameNumber off
FigPos "[31 374 225 225]"
figTitle " "
numLinesMax "50"
block_type_ "scatter"
}
Block {
BlockType Reference
Name "Long Code DeScrambling\nPower Control Extra"
"cting"
Ports [2, 2]
Position [175, 105, 260, 200]
Orientation "left"
SourceBlock "cdma2k_lib/cdma2000 Receiver/Long Code DeSc"
"rambling\nPower Control Extracting"
SourceType "Long Code DeScrambling"
radConfig "Radio Configuration 3"
numSamp "768"
nFrameMask "1"
longCScrMask "On"
gateRateMask "1/4"
TxDivMode "Non-TD"
plcMask "[1 1 0 0 0 plcm_37]"
}
Block {
BlockType Reference
Name "Rake Receiver"
Ports [1, 4]
Position [505, 108, 625, 287]
Orientation "left"
SourceBlock "cdma2k_lib/cdma2000 Receiver/Rake Receiver"
SourceType "Rake Receiver"
walshLength "64"
trChCode "23"
pnOffset "1"
qof_idx "2"
numTapsChEst "11"
numTapsRRC "48"
overSampling "4"
fingerEnables "fingerEnables"
fingerPhases "fingerPhasesTicks"
}
Block {
BlockType Reference
Name "Rx Baseband Filtering"
Ports [1, 1]
Position [665, 173, 750, 227]
Orientation "left"
SourceBlock "cdma2k_lib/cdma2000 Receiver/Rx Baseband Fi"
"ltering"
SourceType ""
}
Block {
BlockType Reference
Name "Symbol Demapping"
Ports [1, 1]
Position [330, 152, 405, 198]
Orientation "left"
SourceBlock "cdma2k_lib/cdma2000 Receiver/Symbol Demappi"
"ng"
SourceType ""
}
Block {
BlockType Outport
Name "PC SubChannel"
Position [90, 168, 120, 182]
Orientation "left"
}
Block {
BlockType Outport
Name "Modulation\nSymbols"
Position [35, 123, 65, 137]
Orientation "left"
Port "2"
}
Line {
SrcBlock "Rake Receiver"
SrcPort 2
Points [-45, 0]
Branch {
DstBlock "Symbol Demapping"
DstPort 1
}
Branch {
Points [0, -115]
DstBlock "After Rake"
DstPort 1
}
}
Line {
SrcBlock "Rake Receiver"
SrcPort 1
Points [-95, 0]
DstBlock "Long Code DeScrambling\nPower Control Extra"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -