📄 ds_ss_rake.mdl
字号:
Model {
Name "ds_ss_rake"
Version 4.00
Description "Simulation for a single code and multiple user down"
"link
\nwithout coding. Major blocks are from block library umts_blks.
\n
\n"
SampleTimeColors on
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions on
ShowPortDataTypes off
ShowStorageClass off
ExecutionOrder off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
BlockNameDataTip off
BlockParametersDataTip on
BlockDescriptionStringDataTip off
ToolBar on
StatusBar off
BrowserShowLibraryLinks on
BrowserLookUnderMasks on
PreLoadFcn "Tb=0.0001;PG=16;Tc=Tb/PG;fd=50;db=20;qpsk_phase_off"
"set=pi/4;Drake=2;M=4;PathDelay=[0 1 2 3];PathProfile=[0.25 0.25 0.25 0.25];"
Created "Wed Mar 24 13:16:54 1999"
Creator "Panson Poon"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "ckpoon"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Fri Jan 25 09:45:54 2002"
ModelVersionFormat "1.%<AutoIncrement:40>"
ConfigurationManager "none"
SimParamPage "RTW"
StartTime "0.0"
StopTime "9999999999999999999"
SolverMode "SingleTasking"
Solver "FixedStepDiscrete"
RelTol "1e-3"
AbsTol "auto"
Refine "1"
MaxStep "auto"
MinStep "auto"
MaxNumMinSteps "-1"
InitialStep "auto"
FixedStep "auto"
MaxOrder 5
OutputOption "RefineOutputTimes"
OutputTimes "[]"
LoadExternalInput off
ExternalInput "[t, u]"
SaveTime off
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput off
OutputSaveName "yout"
LoadInitialState off
InitialState "xInitial"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Array"
LimitDataPoints off
MaxDataPoints "1000"
Decimation "1"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
SingleTaskRateTransMsg "none"
MultiTaskRateTransMsg "error"
IntegerOverflowMsg "warning"
CheckForMatrixSingularity "none"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
InvalidFcnCallConnMsg "error"
SignalLabelMismatchMsg "none"
LinearizationMsg "none"
VectorMatrixConversionMsg "none"
SfunCompatibilityCheckMsg "none"
BlockPriorityViolationMsg "warning"
ArrayBoundsChecking "none"
ConsistencyChecking "none"
ZeroCross on
Profile off
SimulationMode "normal"
RTWSystemTargetFile "rsim.tlc"
RTWOptions " -aEnforceIntegerDowncast=0 -aFoldNonRolledExpr=0 -"
"aForceParamTrailComments=0 -aGenerateComments=1 -aIncHierarchyInIds=0 -aInlin"
"eInvariantSignals=0 -aInlineParameters=0 -aLocalBlockOutputs=0 -aRTWVerbose=1"
" -aRollThreshold=5 -aShowEliminatedStatements=1"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "rsim_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
TLCProfiler off
TLCDebug off
TLCCoverage off
AccelSystemTargetFile "accel.tlc"
AccelTemplateMakefile "accel_default_tmf"
AccelMakeCommand "make_rtw"
TryForcingSFcnDF off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "oneshot"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
ExtModeArmWhenConnect off
ExtModeSkipDownloadWhenConnect off
ExtModeLogAll on
ExtModeAutoUpdateStatusClock on
OptimizeBlockIOStorage off
BufferReuse on
ParameterPooling on
BlockReductionOpt off
RTWExpressionDepthLimit 5
BooleanDataType off
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "ds_ss_rake"
Location [149, 118, 1166, 710]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 212
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "a4letter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "AWGN generation"
Ports [0, 1]
Position [20, 106, 80, 154]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "AWGN generation"
Location [418, 146, 867, 280]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "AWGN\nChannel"
Ports [1, 1]
Position [180, 29, 260, 71]
SourceBlock "commchan2/AWGN\nChannel"
SourceType "AWGN Channel"
seed "12312431"
noiseMode "Signal to noise ratio (Es/No)"
EsNodB "0"
SNRdB "10"
Ps "1"
Tsym "Tb"
variance "1"
}
Block {
BlockType Constant
Name "Constant"
Position [25, 38, 55, 62]
ShowName off
Value "zeros(M,1)"
VectorParams1D on
}
Block {
BlockType Gain
Name "Gain"
Position [290, 35, 320, 65]
Gain "sqrt(10^(-db/10))"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex1"
Ports [1, 1]
Position [75, 36, 115, 64]
ShowName off
Input "Real"
ConstantPart "0"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [140, 37, 160, 63]
ShowName off
SampleTime "Tb"
}
Block {
BlockType Outport
Name "Out1"
Position [355, 43, 385, 57]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Zero-Order\nHold1"
SrcPort 1
DstBlock "AWGN\nChannel"
DstPort 1
}
Line {
SrcBlock "Real-Imag to\nComplex1"
SrcPort 1
DstBlock "Zero-Order\nHold1"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Real-Imag to\nComplex1"
DstPort 1
}
Line {
SrcBlock "AWGN\nChannel"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Decoding"
Ports [1, 1]
Position [705, 66, 750, 94]
NamePlacement "alternate"
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Decoding"
Location [467, 497, 865, 675]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 58, 45, 72]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Reference
Name "Frame Status\nConversion"
Ports [1, 1]
Position [175, 50, 235, 80]
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Frame-based"
}
Block {
BlockType Reference
Name "QPSK\nDemodulator\nBaseband"
Ports [1, 1]
Position [75, 40, 150, 90]
SourceBlock "commdigbbndpm2/QPSK\nDemodulator\nBaseband"
SourceType "QPSK Demodulator Baseband"
OutType "Bit"
Dec "Gray"
Ph "qpsk_phase_offset"
numSamp "1"
}
Block {
BlockType Reference
Name "Unbuffer"
Ports [1, 1]
Position [270, 41, 320, 89]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType Outport
Name "Out1"
Position [350, 58, 380, 72]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Frame Status\nConversion"
SrcPort 1
DstBlock "Unbuffer"
DstPort 1
}
Line {
SrcBlock "Unbuffer"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "QPSK\nDemodulator\nBaseband"
SrcPort 1
DstBlock "Frame Status\nConversion"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "QPSK\nDemodulator\nBaseband"
DstPort 1
}
}
}
Block {
BlockType Display
Name "Display6"
Ports [1]
Position [775, 100, 865, 160]
Orientation "left"
ShowName off
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "Equivalent\nRake meMRC1"
Ports [4, 1]
Position [545, 28, 685, 127]
NamePlacement "alternate"
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "Rake receiver (chip-spaced sampling)"
MaskDescription "This Rake receiver is used for simulation with "
"one sample per chip. The delay of the Rake receiver is equal to two symbol du"
"rations, one for timing adjustment and the other due to symbol match filterin"
"g."
MaskHelp "file:///u:/ckpoon/mymatlab/mylib/rakeeqrx.html"
MaskPromptString "Number of fingers :|Total delay (#Tc) :|Path de"
"lay (#Tc) :|Processing gain :|Symbol time :|Chip time (sample time) :"
MaskStyleString "edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on"
MaskCallbackString "|||||"
MaskEnableString "on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on"
MaskVariables "M=@1;TD=@2;D=@3;PG=@4;Tb=@5;Tc=@6;"
MaskInitialization "TD=TD-PG; M; D = D(1:M);"
MaskDisplay "disp('Rake\\nReceiver\\n(complex spreading)')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "M|(Drake)*PG|PathDelay|PG|Tb|Tc"
MaskVariableAliases ",,,,,"
System {
Name "Equivalent\nRake meMRC1"
Location [511, 204, 1116, 439]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "RxSig"
Position [15, 44, 45, 56]
NamePlacement "alternate"
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "SC"
Position [15, 83, 45, 97]
Port "2"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "noise"
Position [450, 18, 480, 32]
Orientation "left"
Port "3"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "Weight"
Position [160, 138, 190, 152]
Port "4"
LatchInput off
Interpolate on
}
Block {
BlockType SubSystem
Name "Fingers"
Ports [2, 1]
Position [320, 36, 405, 89]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "Finger for Rake receiver"
MaskPromptString "Total delay :|Path delay (#Tc) :|Processing"
" gain :|Symbol time :|Chip time :"
MaskStyleString "edit,edit,edit,edit,edit"
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"
MaskVariables "TD=@1;D=@2;PG=@3;Tb=@4;Tc=@5;"
MaskDisplay "disp('Finger')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "TD|D|PG|Tb|Tc"
MaskVariableAliases ",,,,"
System {
Name "Fingers"
Location [172, 267, 642, 465]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -