?? wcdmamuxandcoding.mdl
字號:
Model {
Name "wcdmamuxandcoding"
Version 4.00
SampleTimeColors off
LibraryLinkDisplay "all"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowStorageClass off
ExecutionOrder off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Tue Jan 08 11:28:06 2002"
Creator "arodrigu"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "arodrigu"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Thu Mar 07 15:37:28 2002"
ModelVersionFormat "1.%<AutoIncrement:643>"
ConfigurationManager "none"
SimParamPage "Solver"
StartTime "0.0"
StopTime "10.0"
SolverMode "Auto"
Solver "VariableStepDiscrete"
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 "grt.tlc"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_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 "normal"
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 on
ExtModeSkipDownloadWhenConnect off
ExtModeLogAll on
ExtModeAutoUpdateStatusClock on
OptimizeBlockIOStorage on
BufferReuse on
ParameterPooling on
BlockReductionOpt on
RTWExpressionDepthLimit 5
BooleanDataType off
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Comic Sans MS"
FontSize 12
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "wcdmamuxandcoding"
Location [2, 74, 1014, 744]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "1st DeInterleaver"
Ports [2, 2]
Position [540, 279, 610, 361]
Orientation "left"
NamePlacement "alternate"
ShowName off
SourceBlock "wcdmalib/Wcdma Multiplexing\nand Channel Coding"
"/1st DeInterleaver"
SourceType "WCDMA 1st Interleaver"
Port {
PortNumber 1
Name "dtch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
Port {
PortNumber 2
Name "dcch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "1st Interleaver"
Ports [2, 2]
Position [550, 115, 610, 195]
ShowName off
SourceBlock "wcdmalib/Wcdma Multiplexing\nand Channel Coding"
"/1st Interleaver"
SourceType "WCDMA 1st Interleaver"
Port {
PortNumber 1
Name "dtch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
Port {
PortNumber 2
Name "dcch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "2nd DeInterleaver"
Ports [1, 1]
Position [835, 280, 905, 360]
Orientation "left"
NamePlacement "alternate"
ShowName off
SourceBlock "wcdmalib/Wcdma Multiplexing\nand Channel Coding"
"/2nd DeInterleaver"
SourceType "2nd DeInterleaver"
Port {
PortNumber 1
Name "cctrch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "2nd Interleaver"
Ports [1, 1]
Position [845, 115, 905, 195]
ShowName off
SourceBlock "wcdmalib/Wcdma Multiplexing\nand Channel Coding"
"/2nd Interleaver"
SourceType "2nd Interleaver"
Port {
PortNumber 1
Name "cctrch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Display
Name "BER Measurements"
Ports [1]
Position [550, 476, 640, 534]
ShowName off
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType Display
Name "BER Measurements1"
Ports [1]
Position [550, 546, 640, 604]
ShowName off
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType Display
Name "BER Measurements2"
Ports [1]
Position [890, 528, 965, 552]
ShowName off
FontSize 9
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "Bernoulli Random\nBinary Generator"
Ports [0, 1]
Position [45, 120, 115, 150]
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "Bernoulli Random Binary Generator"
MaskDescription "Generate a Bernoulli random binary number. \nT"
"o generate a vector output, specify the probability as a vector."
MaskHelp "helpview(commbhelp)"
MaskPromptString "Probability of a zero:|Initial seed:|Sample tim"
"e:|Frame-based outputs|Samples per frame:|Interpret vector parameters as 1-D"
MaskStyleString "edit,edit,edit,checkbox,edit,checkbox"
MaskTunableValueString "on,on,on,on,on,on"
MaskCallbackString "|||commblkbernoullisrc2(gcb,'cbFrameBased');||c"
"ommblkbernoullisrc2(gcb,'cbOrient');"
MaskEnableString "on,on,on,on,on,off"
MaskVisibilityString "on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on"
MaskVariables "P=@1;seed=@2;Ts=@3;frameBased=@4;sampPerFrame=@"
"5;orient=@6;"
MaskInitialization "if (frameBased & sampPerFrame > 1), dsp_sampFra"
"me = sampPerFrame;\nelse dsp_sampFrame = 1; end;\n[L,U,seed,eStr]=commblkbern"
"oullisrc2(gcb,'init',{P,seed});\nif(eStr.ecode==1)\n error(eStr.emsg);\nen"
"d;"
MaskDisplay "plot(0,0,100,100,[95 5 10 10 10 reshape(([85*[0"
":1/15:1-1/15]+10; 85*[1/15:1/15:1]+10]),1,30)],[75 75 75 70 95 reshape([rands"
"rc(1,15,[80,90],13579); randsrc(1,15,[80,90],13579)],1,30)]);\ndisp('DTCH')"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.5|[123456]|(tti(1)*1e-3)/trBlkSetSize(1)|on|t"
"rBlkSetSize(1)|off"
MaskVariableAliases ",,,,,"
Port {
PortNumber 1
Name "dtch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
System {
Name "Bernoulli Random\nBinary Generator"
Location [146, 261, 605, 450]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "DSP Constant"
Ports [0, 1]
Position [65, 105, 100, 135]
SourceBlock "dspsrcs3/DSP\nConstant"
SourceType "DSP Constant"
Value "ones(sampPerFrame,1)*(P(:)'.*ones(1,max(len"
"gth(P),length(seed))))"
InterpretAs1D "off"
SampleMode "Discrete"
Ts "Ts*sampPerFrame"
FramebasedOutput "on"
}
Block {
BlockType Reference
Name "Frame Status Conversion"
Ports [1, 1]
Position [230, 61, 295, 99]
ShowName off
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort "off"
outframe "Frame-based"
}
Block {
BlockType Reference
Name "Random Source"
Ports [0, 1]
Position [65, 26, 100, 64]
Diagnostics "AllowInheritedTsInSrc"
SourceBlock "dspsrcs3/Random\nSource"
SourceType "Random Source"
SrcType "Uniform"
Min "0"
Max "1"
Mean "0"
Var "1"
RepMode "Specify seed"
Seed "seed(:)'.*ones(1,max(length(P),length(seed)"
"))"
Inherit "off"
SampMode "Discrete"
SampTime "Ts"
SampFrame "dsp_sampFrame"
OutComplex "Real"
}
Block {
BlockType RelationalOperator
Name "Relational Operator"
Position [160, 62, 190, 93]
ShowName off
Operator ">"
}
Block {
BlockType Reference
Name "Reshape"
Ports [1, 1]
Position [340, 68, 370, 92]
ShowName off
SourceBlock "simulink3/Signals\n& Systems/Reshape"
SourceType "Reshape"
OutputDimensionality "Customize"
OutputDimensions "[sampPerFrame,max(length(P),length(seed))]"
}
Block {
BlockType Outport
Name "Out"
Position [405, 73, 435, 87]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Frame Status Conversion"
SrcPort 1
DstBlock "Reshape"
DstPort 1
}
Line {
SrcBlock "Reshape"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "Relational Operator"
SrcPort 1
DstBlock "Frame Status Conversion"
DstPort 1
}
Line {
SrcBlock "DSP Constant"
SrcPort 1
Points [40, 0]
DstBlock "Relational Operator"
DstPort 2
}
Line {
SrcBlock "Random Source"
SrcPort 1
Points [40, 0]
DstBlock "Relational Operator"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Bernoulli Random\nBinary Generator1"
Ports [0, 1]
Position [45, 160, 115, 190]
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "Bernoulli Random Binary Generator"
MaskDescription "Generate a Bernoulli random binary number. \nT"
"o generate a vector output, specify the probability as a vector."
MaskHelp "helpview(commbhelp)"
MaskPromptString "Probability of a zero:|Initial seed:|Sample tim"
"e:|Frame-based outputs|Samples per frame:|Interpret vector parameters as 1-D"
MaskStyleString "edit,edit,edit,checkbox,edit,checkbox"
MaskTunableValueString "on,on,on,on,on,on"
MaskCallbackString "|||commblkbernoullisrc2(gcb,'cbFrameBased');||c"
"ommblkbernoullisrc2(gcb,'cbOrient');"
MaskEnableString "on,on,on,on,on,off"
MaskVisibilityString "on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on"
MaskVariables "P=@1;seed=@2;Ts=@3;frameBased=@4;sampPerFrame=@"
"5;orient=@6;"
MaskInitialization "if (frameBased & sampPerFrame > 1), dsp_sampFra"
"me = sampPerFrame;\nelse dsp_sampFrame = 1; end;\n[L,U,seed,eStr]=commblkbern"
"oullisrc2(gcb,'init',{P,seed});\nif(eStr.ecode==1)\n error(eStr.emsg);\nen"
"d;"
MaskDisplay "plot(0,0,100,100,[95 5 10 10 10 reshape(([85*[0"
":1/15:1-1/15]+10; 85*[1/15:1/15:1]+10]),1,30)],[75 75 75 70 95 reshape([rands"
"rc(1,15,[80,90],13579); randsrc(1,15,[80,90],13579)],1,30)]);\ndisp('DCCH')"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.5|[123456]|(tti(2)*1e-3)/trBlkSetSize(2)|on|t"
"rBlkSetSize(2)|off"
MaskVariableAliases ",,,,,"
Port {
PortNumber 1
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -