📄 rechmtl.mdl
字号:
Block {
BlockType Outport
Name "Gating Sig"
Position [710, 228, 740, 242]
Port "2"
OutputWhenDisabled "held"
InitialOutput "0"
}
Line {
SrcBlock "Downsample"
SrcPort 1
DstBlock "Zero-Order\nHold"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
DstBlock "Gating Sig"
DstPort 1
}
Line {
SrcBlock "Rebuffer"
SrcPort 1
DstBlock "Normalization Gain"
DstPort 1
}
Line {
SrcBlock "Normalization Gain"
SrcPort 1
DstBlock "Data Out"
DstPort 1
}
Line {
SrcBlock "Binary to Bipolar"
SrcPort 1
Points [50, 0; 0, -80]
DstBlock "Product"
DstPort 3
}
Line {
SrcBlock "Rebuffer1"
SrcPort 1
DstBlock "IS-95A Rev Ch \nWalsh Modulator"
DstPort 1
}
Line {
SrcBlock "Frame In"
SrcPort 1
DstBlock "Rebuffer1"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Rebuffer"
DstPort 1
}
Line {
SrcBlock "Repeat1"
SrcPort 1
Points [15, 0; 0, 75]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "IS-95A Long \nCode Generator"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "IS-95A Rev Ch\nBurst Randomizer"
DstPort 2
}
Branch {
Points [0, 85]
DstBlock "Binary to Bipolar"
DstPort 1
}
}
Line {
SrcBlock "Rate"
SrcPort 1
DstBlock "IS-95A Rev Ch\nBurst Randomizer"
DstPort 1
}
Line {
SrcBlock "IS-95A Rev Ch\nBurst Randomizer"
SrcPort 1
Points [65, 0]
Branch {
DstBlock "Product"
DstPort 2
}
Branch {
Points [0, 80]
DstBlock "Downsample"
DstPort 1
}
}
Line {
SrcBlock "IS-95A Rev Ch \nWalsh Modulator"
SrcPort 1
DstBlock "Repeat1"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "IS-95A Rev Ch Walsh \nModulation and Spread"
"ing2"
Ports [2, 2]
Position [285, 151, 385, 184]
SourceBlock "cdmalib/IS-95A Mobile Station Transmitter/I"
"S-95A Rev Ch Walsh\nModulation and Spreading"
SourceType "IS-95A Rev Ch Walsh Modulation and Spreadin"
"g"
chType "Traffic"
lngCdMask "7777772"
wlshOrd "6"
sampTime "1/(50*384)"
}
Block {
BlockType Product
Name "Other x1"
Ports [2, 1]
Position [615, 89, 640, 116]
Inputs "**"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Other x2"
Ports [2, 1]
Position [595, 154, 620, 181]
Inputs "**"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Reference
Name "Random\nSource"
Ports [0, 1]
Position [450, 16, 485, 54]
ForegroundColor "magenta"
BackgroundColor "red"
Diagnostics "AllowInheritedTsInSrc"
SourceBlock "dspsrcs2/Random\nSource"
SourceType "Random Source"
SrcType "Uniform"
Min "0.3"
Max "0.5"
Mean "0"
Var "1"
Seed "121"
Inherit "off"
SampMode "Discrete"
SampTime "1/50/384"
SampFrame "1"
OutComplex "Real"
}
Block {
BlockType Reference
Name "Random\nSource1"
Ports [0, 1]
Position [530, 26, 565, 64]
ForegroundColor "magenta"
BackgroundColor "red"
Diagnostics "AllowInheritedTsInSrc"
SourceBlock "dspsrcs2/Random\nSource"
SourceType "Random Source"
SrcType "Uniform"
Min "0.25"
Max "0.51"
Mean "0"
Var "1"
Seed "12341"
Inherit "off"
SampMode "Discrete"
SampTime "1/50/384"
SampFrame "1"
OutComplex "Real"
}
Block {
BlockType SubSystem
Name "Random Binary\nFrame Generator1"
Ports [0, 1]
Position [135, 161, 210, 189]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "Random Binary Frame Generator"
MaskPromptString "Initial seed:|Sample time (sec):|Ouput fram"
"e size:"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskToolTipString "on,on,on"
MaskVariables "seed=@1;Ts=@2;N=@3;"
MaskDisplay "plot(0,0,100,100,[95,90,90,80,80,60,60,30,3"
"0,20,20,10,10,5],[25,25,75,75,25,25,75,75,25,25,75,75,25,25]);"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "144237|1/(50*576)|1"
MaskVariableAliases ",,"
System {
Name "Random Binary\nFrame Generator1"
Location [175, 364, 389, 502]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Reference
Name "Discrete\nConstant"
Ports [0, 1]
Position [30, 96, 50, 114]
ShowName off
SourceBlock "dspsrcs2/Discrete\nConstant"
SourceType "Discrete Constant"
Value "0.5"
Ts "Ts*N"
}
Block {
BlockType Reference
Name "Random\nSource"
Ports [0, 1]
Position [25, 16, 60, 54]
Diagnostics "AllowInheritedTsInSrc"
SourceBlock "dspsrcs2/Random\nSource"
SourceType "Random Source"
SrcType "Uniform"
Min "0"
Max "1"
Mean "0"
Var "1"
Seed "seed"
Inherit "off"
SampMode "Discrete"
SampTime "Ts"
SampFrame "N"
OutComplex "Real"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [110, 57, 140, 88]
ShowName off
Operator ">"
}
Block {
BlockType Outport
Name " "
Position [170, 68, 200, 82]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Random\nSource"
SrcPort 1
Points [30, 0]
DstBlock "Relational\nOperator"
DstPort 1
}
Line {
SrcBlock "Discrete\nConstant"
SrcPort 1
Points [40, 0]
DstBlock "Relational\nOperator"
DstPort 2
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
DstBlock " "
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Random Binary\nFrame Generator2"
Ports [0, 1]
Position [130, 81, 205, 109]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "Random Binary Frame Generator"
MaskPromptString "Initial seed:|Sample time (sec):|Ouput fram"
"e size:"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskToolTipString "on,on,on"
MaskVariables "seed=@1;Ts=@2;N=@3;"
MaskDisplay "plot(0,0,100,100,[95,90,90,80,80,60,60,30,3"
"0,20,20,10,10,5],[25,25,75,75,25,25,75,75,25,25,75,75,25,25]);"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "11144424|1/(50*576)|1"
MaskVariableAliases ",,"
System {
Name "Random Binary\nFrame Generator2"
Location [175, 364, 389, 502]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Reference
Name "Discrete\nConstant"
Ports [0, 1]
Position [30, 96, 50, 114]
ShowName off
SourceBlock "dspsrcs2/Discrete\nConstant"
SourceType "Discrete Constant"
Value "0.5"
Ts "Ts*N"
}
Block {
BlockType Reference
Name "Random\nSource"
Ports [0, 1]
Position [25, 16, 60, 54]
Diagnostics "AllowInheritedTsInSrc"
SourceBlock "dspsrcs2/Random\nSource"
SourceType "Random Source"
SrcType "Uniform"
Min "0"
Max "1"
Mean "0"
Var "1"
Seed "seed"
Inherit "off"
SampMode "Discrete"
SampTime "Ts"
SampFrame "N"
OutComplex "Real"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [110, 57, 140, 88]
ShowName off
Operator ">"
}
Block {
BlockType Outport
Name " "
Position [170, 68, 200, 82]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Random\nSource"
SrcPort 1
Points [30, 0]
DstBlock "Relational\nOperator"
DstPort 1
}
Line {
SrcBlock "Discrete\nConstant"
SrcPort 1
Points [40, 0]
DstBlock "Relational\nOperator"
DstPort 2
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
DstBlock " "
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "oQpsk and fir"
Ports [1, 1]
Position [675, 81, 750, 129]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "oQpsk and fir"
Location [124, 178, 604, 382]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "Rate"
Position [25, 28, 55, 42]
NamePlacement "alternate"
Port "1"
Interpolate on
}
Block {
BlockType SubSystem
Name " 1"
Ports [3, 1]
Position [150, 35, 210, 85]
ForegroundColor "magenta"
BackgroundColor "orange"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name " 1"
Location [328, 542, 831, 803]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "data in\n"
Position [70, 48, 100, 62]
Port "1"
Interpolate on
}
Block {
BlockType Inport
Name "PN I"
Position [140, 43, 170, 57]
Port "2"
Interpolate on
}
Block {
BlockType Inport
Name "PN Q"
Position [140, 83, 170, 97]
Port "3"
Interpolate on
}
Block {
BlockType Reference
Name "OQPSK \nDelay"
Ports [1, 1]
Position [320, 72, 365, 98]
SourceBlock "dspbdsp2/Integer Delay"
SourceType "Integer Delay"
delay "4"
ic "0"
frame "on"
df "on"
numChans "1"
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -