?? tpc9.mdl
字號:
Block {
BlockType SubSystem
Name "Base Station Controller"
Ports [2, 3, 0, 1]
Position [330, 109, 555, 301]
TreatAsAtomicUnit on
MaskType "Stateflow"
MaskDescription "Stateflow diagram"
MaskDisplay "plot(sf('Private','sfblk','xIcon'),sf('Priv"
"ate','sfblk','yIcon'));text(0.5,0,sf('Private', 'sfblk', 'tIcon'),'Horizontal"
"Al','Center','VerticalAl','Bottom');"
MaskSelfModifiable on
MaskIconFrame off
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
Port {
PortNumber 1
Name "Power Bit"
PropagatedSignals "Power_Bit"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
System {
Name "Base Station Controller"
Location [257, 457, 812, 717]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "EbNo"
Position [20, 101, 40, 119]
PortDimensions "1"
}
Block {
BlockType Inport
Name "Target_EbNo"
Position [20, 136, 40, 154]
Port "2"
PortDimensions "1"
}
Block {
BlockType TriggerPort
Name " input events "
Ports [0, 1]
Position [20, 171, 40, 189]
TriggerType "either"
ShowOutputPort on
}
Block {
BlockType Demux
Name " Demux "
Ports [1, 1]
Position [270, 210, 320, 250]
Outputs "1"
}
Block {
BlockType "S-Function"
Name " SFunction "
Tag "Stateflow S-Function tpc9 2"
Ports [3, 4]
Position [180, 102, 230, 203]
FunctionName "sf_sfun"
PortCounts "[3 4]"
Port {
PortNumber 2
Name "Power_Bit"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
Port {
PortNumber 3
Name "Start_BS_Timer"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
Port {
PortNumber 4
Name "Page"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Terminator
Name " Terminator "
Position [460, 221, 480, 239]
}
Block {
BlockType Outport
Name "Power_Bit"
Position [460, 101, 480, 119]
}
Block {
BlockType Outport
Name "Start_BS_Timer"
Position [460, 136, 480, 154]
Port "2"
}
Block {
BlockType Outport
Name "Page"
Position [460, 171, 480, 189]
Port "3"
}
Line {
SrcBlock " SFunction "
SrcPort 1
Points [20, 0]
DstBlock " Demux "
DstPort 1
}
Line {
SrcBlock " Demux "
SrcPort 1
DstBlock " Terminator "
DstPort 1
}
Line {
SrcBlock "EbNo"
SrcPort 1
DstBlock " SFunction "
DstPort 1
}
Line {
SrcBlock "Target_EbNo"
SrcPort 1
Points [120, 0]
DstBlock " SFunction "
DstPort 2
}
Line {
SrcBlock " input events "
SrcPort 1
DstBlock " SFunction "
DstPort 3
}
Line {
Name "Power_Bit"
Labels [0, 0]
SrcBlock " SFunction "
SrcPort 2
DstBlock "Power_Bit"
DstPort 1
}
Line {
Name "Start_BS_Timer"
Labels [0, 0]
SrcBlock " SFunction "
SrcPort 3
DstBlock "Start_BS_Timer"
DstPort 1
}
Line {
Name "Page"
Labels [0, 0]
SrcBlock " SFunction "
SrcPort 4
DstBlock "Page"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Base station\nReceiver"
Ports [2, 2]
Position [235, 314, 320, 381]
TreatAsAtomicUnit off
Port {
PortNumber 2
Name "R_Rx_Data"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
System {
Name "Base station\nReceiver"
Location [-18, 129, 996, 489]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "62"
Block {
BlockType Inport
Name "In1"
Position [970, 47, 1000, 63]
Orientation "left"
}
Block {
BlockType Inport
Name "In2"
Position [975, 133, 1005, 147]
Orientation "left"
NamePlacement "alternate"
Port "2"
}
Block {
BlockType Reference
Name "IS-95A Frame Quality \nDetector"
Ports [3, 2]
Position [70, 120, 180, 200]
Orientation "left"
SourceBlock "cdmalib/IS-95A Common/IS-95A Frame Qual"
"ity \nDetector"
SourceType "IS-95A Frame Quality Detector"
rateSet "Rate Set I"
chType "Traffic"
rate2_metric "0.9*1.5"
rate3_metric "0.85*1.5"
}
Block {
BlockType Reference
Name "IS-95A Rev Ch \nDeinterleaver"
Ports [2, 1]
Position [530, 120, 630, 200]
Orientation "left"
SourceBlock "cdmalib/IS-95A Mobile Station Transmitt"
"er/IS-95A Rev Ch\nInterleaver//Deinterleaver"
SourceType "IS-95A Rev Ch Interleaver/Deinterleaver"
ch_type "Traffic"
int_select "Deinterleaver"
}
Block {
BlockType Reference
Name "IS-95A Rev Ch \nDerepeater"
Ports [2, 1]
Position [380, 120, 480, 200]
Orientation "left"
SourceBlock "cdmalib/IS-95A Mobile Station Transmitt"
"er/IS-95A Rev Ch\nRepeater//Derepeater"
SourceType "IS-95A Rev Ch Repeater/Derepeater"
ch_type "Traffic"
rep_select "Derepeater"
}
Block {
BlockType Reference
Name "IS-95A Rev Ch \nViterbi Decoder"
Ports [2, 2]
Position [235, 120, 335, 200]
Orientation "left"
SourceBlock "cdmalib/IS-95A Base Station Receiver/IS"
"-95A Rev Ch\nViterbi Decoder"
SourceType "IS-95A Rev Ch Viterbi Decoder"
rateSet "Rate Set I"
chType "Traffic"
traceBackLenRatio "1"
decodeLenRatio "1"
}
Block {
BlockType SubSystem
Name "IS-95A Rev Ch Detector"
Ports [4, 2]
Position [675, 102, 795, 203]
Orientation "left"
TreatAsAtomicUnit off
MaskType "IS-95A Rev Ch Detector"
MaskDescription "Perform noncoherent detection of the re"
"verse Access or Traffic channel frame."
MaskHelp "web(cdmaweb);"
MaskPromptString "Channel type:|Walsh order:|Long code ma"
"sk:|Oversampling rate:|Sample time:"
MaskStyleString "popup(Access|Traffic),edit,edit,edit,ed"
"it"
MaskTunableValueString "off,off,off,off,off"
MaskCallbackString "||||"
MaskEnableString "on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on"
MaskToolTipString "on,on,on,on,on"
MaskVarAliasString ",,,,"
MaskVariables "chType=@1;wlshOrd=@2;lngcd_mask=@3;over"
"SamplRate=@4;sampTime=@5;"
MaskInitialization "N = 1;\nM = 1;\nis95noncohdetector;"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "Traffic|6|1|8|1/(50*384)"
System {
Name "IS-95A Rev Ch Detector"
Location [-2, 126, 831, 539]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "82"
Block {
BlockType Inport
Name "Rate"
Position [175, 48, 205, 62]
}
Block {
BlockType Inport
Name "Rx Signal"
Position [175, 178, 205, 192]
Port "2"
}
Block {
BlockType Inport
Name "Path Delay/Enable"
Position [175, 253, 205, 267]
Port "3"
}
Block {
BlockType Inport
Name "Short PN Mask"
Position [175, 283, 205, 297]
Port "4"
}
Block {
BlockType Reference
Name " IS-95A Long \nCode Generator"
Ports [0, 1]
Position [25, 190, 125, 270]
SourceBlock "cdmalib/IS-95A Common/IS-95A Long\n"
"Code Generator"
SourceType "IS-95A Long Code Generator"
num_symb "N*(2^wlshOrd)*4"
tx_lc_dec_ratio "1"
tx_lc_init_mask "lngcd_mask"
tx_lc_init_state "[]"
tx_sample_time "N*4*sampTime"
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag"
Ports [1, 2]
Position [230, 155, 295, 215]
ShowName off
Output "Real and imag"
}
Block {
BlockType Goto
Name "Goto7"
Position [510, 345, 575, 365]
ShowName off
GotoTag "Rake_Out"
TagVisibility "global"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [665, 202, 685, 233]
ShowName off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [665, 242, 685, 273]
ShowName off
}
Block {
BlockType Reference
Name "Repeat"
Ports [1, 1]
Position [610, 125, 660, 155]
Orientation "down"
NamePlacement "alternate"
ShowName off
SourceBlock "dspbdsp2/Repeat"
SourceType "Repeat"
N "36"
ic "0"
frame on
nchans "1"
mode "Maintain input frame rate"
}
Block {
BlockType SubSystem
Name "Rev Ch Rake Receiver"
Ports [5, 1]
Position [325, 156, 465, 304]
TreatAsAtomicUnit off
System {
Name "Rev Ch Rake Receiver"
Location [6, 74, 1026, 724]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In I"
Position [65, 49, 95, 61]
NamePlacement "alternate"
}
Block {
BlockType Inport
Name "In Q"
Position [65, 64, 95, 76]
Port "2"
}
Block {
BlockType Inport
Name "LC"
Position [65, 108, 95, 122]
Port "3"
}
Block {
BlockType Inport
Name "Initial Phases/Enables"
Position [65, 228, 95, 242]
Port "4"
}
Block {
BlockType Inport
Name "Short PN Mask"
Position [65, 383, 95, 397]
Port "5"
}
Block {
BlockType SubSystem
Name "Binary to Bipolar"
Ports [1, 1]
Position [140, 98, 200, 132]
TreatAsAtomicUnit off
MaskType "Binary to Bipolar Transformation"
MaskDescription "Convert binary (0/1) inputs to bi"
"polar (1/-1) outputs."
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Binary to Bipolar"
Location [557, 497, 834, 634]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -