📄 tpc9.mdl
字号:
Orientation "left"
Port "2"
}
Line {
SrcBlock "IS-95A Rev Ch Detector"
SrcPort 1
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [-145, 0]
Branch {
Points [0, 60]
DstBlock "IS-95A Rev Ch Detector"
DstPort 1
}
Branch {
Points [-245, 0; 0, 45]
Branch {
Points [70, 0]
DstBlock "IS-95A Rev Ch \nDeinterleaver"
DstPort 1
}
Branch {
Points [-70, 0]
Branch {
Points [0, 40]
DstBlock "IS-95A Rev Ch \nDerepeater"
DstPort 1
}
Branch {
Points [-145, 0]
Branch {
Points [-145, 0; 0, 35]
DstBlock "IS-95A Frame Quality \nDetector"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "IS-95A Rev Ch \nViterbi Decoder"
DstPort 1
}
}
}
}
}
Line {
SrcBlock "Initial Phases and\n Finger Enables"
SrcPort 1
DstBlock "IS-95A Rev Ch Detector"
DstPort 3
}
Line {
SrcBlock "Short PN Mask"
SrcPort 1
Points [-60, 0; 0, -40]
DstBlock "IS-95A Rev Ch Detector"
DstPort 4
}
Line {
SrcBlock "IS-95A Rev Ch Detector"
SrcPort 2
DstBlock "IS-95A Rev Ch \nDeinterleaver"
DstPort 2
}
Line {
SrcBlock "IS-95A Rev Ch \nViterbi Decoder"
SrcPort 2
Points [-35, 0]
DstBlock "IS-95A Frame Quality \nDetector"
DstPort 3
}
Line {
Labels [1, 0]
SrcBlock "IS-95A Rev Ch \nViterbi Decoder"
SrcPort 1
Points [0, 20]
DstBlock "IS-95A Frame Quality \nDetector"
DstPort 2
}
Line {
SrcBlock "IS-95A Rev Ch \nDerepeater"
SrcPort 1
Points [-15, 0; 0, 20]
DstBlock "IS-95A Rev Ch \nViterbi Decoder"
DstPort 2
}
Line {
Labels [1, 0]
SrcBlock "IS-95A Rev Ch \nDeinterleaver"
SrcPort 1
Points [-20, 0; 0, 20]
DstBlock "IS-95A Rev Ch \nDerepeater"
DstPort 2
}
Line {
SrcBlock "IS-95A Frame Quality \nDetector"
SrcPort 2
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "IS-95A Frame Quality \nDetector"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "IS-95A Rev Ch Detector"
DstPort 2
}
}
}
Block {
BlockType Constant
Name "Constant2"
Position [500, 59, 520, 81]
NamePlacement "alternate"
ShowName off
Value "0"
}
Block {
BlockType Constant
Name "Current\nInput Power2"
Position [30, 99, 65, 121]
ShowName off
Value "-20"
Port {
PortNumber 1
Name "Access Threshold"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Constant
Name "Current\nInput Power3"
Position [50, 244, 85, 266]
ShowName off
Value "4"
Port {
PortNumber 1
Name "Target_EbNo"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Constant
Name "Current\nInput Power4"
Position [550, 589, 585, 611]
ShowName off
Value "60"
}
Block {
BlockType Reference
Name "Error Rate Calculation 2"
Ports [2, 1]
Position [550, 26, 645, 84]
ShowName off
SourceBlock "commsink/Error Rate Calculation"
SourceType "Error Rate Calculation"
N "0"
st_delay "4"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
}
Block {
BlockType From
Name "From6"
Position [160, 320, 220, 340]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "R_Rate"
}
Block {
BlockType From
Name "From7"
Position [35, 550, 95, 570]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Rake_Out"
}
Block {
BlockType From
Name "From8"
Position [465, 30, 530, 50]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "R_Quality"
}
Block {
BlockType Gain
Name "Gain"
Position [330, 545, 360, 575]
}
Block {
BlockType Goto
Name "Goto11"
Position [655, 472, 760, 488]
ShowName off
GotoTag "S_over_Ndb"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto12"
Position [650, 392, 755, 408]
ShowName off
GotoTag "S_plus_Ndb"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto3"
Position [145, 92, 210, 108]
ShowName off
GotoTag "Access_Threshold"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto4"
Position [615, 195, 705, 215]
ShowName off
GotoTag "BS_Timed_Out"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto5"
Position [215, 221, 310, 239]
ShowName off
GotoTag "Target_EbNo"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto7"
Position [350, 320, 415, 340]
ShowName off
GotoTag "R_Quality"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto8"
Position [650, 552, 765, 568]
ShowName off
GotoTag "EbNo"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto9"
Position [655, 442, 760, 458]
ShowName off
GotoTag "Ndb"
TagVisibility "global"
}
Block {
BlockType Mux
Name "Mux2"
Ports [4, 1]
Position [305, 16, 310, 144]
ShowName off
DisplayOption "bar"
}
Block {
BlockType DiscretePulseGenerator
Name "PCG_Clock"
Position [35, 150, 65, 180]
SampleTime "1.25e-3"
Port {
PortNumber 1
Name "PCG_Clock"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "Rebuffer1"
Ports [1, 1]
Position [120, 536, 170, 584]
SourceBlock "dspbuff2/Rebuffer"
SourceType "Rebuffer"
Specify_Out_Size on
N "384"
V "0"
ic "0"
frame on
num_chans "1"
}
Block {
BlockType Reference
Name "Rebuffer2"
Ports [1, 1]
Position [175, 425, 225, 475]
ShowName off
SourceBlock "dspbuff2/Rebuffer"
SourceType "Rebuffer"
Specify_Out_Size on
N "512*24"
V "0"
ic "0"
frame on
num_chans "1"
}
Block {
BlockType SubSystem
Name "Receive Filter"
Ports [1, 1]
Position [80, 345, 150, 385]
TreatAsAtomicUnit off
MaskPromptString "Interpolation factor:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "N=@1;"
MaskInitialization "load txfiltx8.mat;\nh = (TxFiltCoefx8*N)/8;"
MaskDisplay "plot( 1:prod( size( h)), h);"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "1"
System {
Name "Receive Filter"
Location [618, 135, 913, 230]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name " "
Position [70, 38, 100, 52]
}
Block {
BlockType SubSystem
Name "FIR\nInterpolation"
Ports [1, 1]
Position [135, 28, 195, 62]
TreatAsAtomicUnit off
MaskType "FIR Interpolation"
MaskDescription "Upsample input signal by an integer fac"
"tor, then apply an FIR filter. Implemented using an efficient polyphase inte"
"rpolation structure. The filter coefficients are scaled by the interpolation"
" factor."
MaskHelp "web(dspbhelp);"
MaskPromptString "FIR filter coefficients:|Interpolation "
"factor:|Frame-based inputs|Number of channels:|Framing:"
MaskStyleString "edit,edit,checkbox,edit,popup(Maintain "
"input frame size|Maintain input frame rate)"
MaskTunableValueString "off,off,off,off,off"
MaskCallbackString "||dspblkupfir||"
MaskEnableString "on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on"
MaskToolTipString "on,on,on,on,on"
MaskVarAliasString ",,,,"
MaskVariables "h=@1;L=@2;frame=&3;numChans=@4;framing="
"@5;"
MaskInitialization "outputBufInitCond = 0;\n[str,numChans] "
"= dspblkupfir('setup1',numChans);\n[h,framing,str]= dspblkupfir('setup2',h,L,"
"framing);"
MaskDisplay "disp(str)"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "h|N|on|1|Maintain input frame rate"
System {
Name "FIR\nInterpolation"
Location [64, 59, 323, 160]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [15, 25, 35, 45]
}
Block {
BlockType "S-Function"
Name "upfir"
Ports [1, 1]
Position [90, 14, 165, 56]
FunctionName "sdspupfir"
Parameters "h,L,numChans,framing,outputBufInitC"
"ond"
}
Block {
BlockType Outport
Name "out_1"
Position [220, 25, 240, 45]
InitialOutput "0"
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "upfir"
DstPort 1
}
Line {
SrcBlock "upfir"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
}
}
Block {
BlockType Outport
Name " "
Position [220, 38, 250, 52]
}
Line {
SrcBlock "FIR\nInterpolation"
SrcPort 1
DstBlock " "
DstPort 1
}
Line {
SrcBlock " "
SrcPort 1
DstBlock "FIR\nInterpolation"
DstPort 1
}
}
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [120, 52, 150, 83]
ShowName off
Operator ">"
Port {
PortNumber 1
Name "Access_Detect"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -