?? cdma2k_lib.mdl
字號:
SourceType "Frame Status Conversion"
growRefPort "off"
outframe "Sample-based"
}
Block {
BlockType DiscretePulseGenerator
Name "Gating"
Position [440, 108, 485, 142]
Amplitude "powerControlOff"
Period "1/gateRate"
PhaseDelay "PCGroupInit"
SampleTime "20e-3/16"
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [1, 1]
Position [510, 109, 540, 141]
ShowName off
Operator "NOT"
AllPortsSameDT off
Port {
PortNumber 1
TestPoint on
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [530, 171, 575, 204]
ForegroundColor "red"
ShowName off
Inputs "*/"
InputSameDT off
}
Block {
BlockType Rounding
Name "Rounding\nFunction"
Position [595, 175, 625, 205]
ForegroundColor "red"
ShowName off
Operator "ceil"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [170, 270, 190, 290]
ForegroundColor "red"
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [640, 180, 660, 200]
ForegroundColor "red"
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Switch
Name "Switch1"
Position [840, 89, 870, 181]
ShowName off
Criteria "u2 > Threshold"
Threshold "0.5"
InputSameDT off
}
Block {
BlockType Reference
Name "Variable\nInteger Delay3"
Ports [2, 1]
Position [695, 115, 770, 150]
ShowName off
SourceBlock "dspsigops/Variable\nInteger Delay"
SourceType "Variable Integer Delay"
dmax "numSamp+10"
ic "1"
Port {
PortNumber 1
Name "RxPCGating"
TestPoint on
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "Variable\nSelector"
Ports [2, 1]
Position [240, 133, 335, 177]
SourceBlock "dspindex/Variable\nSelector"
SourceType "Variable Selector"
rowsOrCols "Rows"
IdxMode "Variable"
Elements "[1 3]"
ZerOneIdxMode "One-based"
errmode "Clip Index"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [470, 161, 505, 199]
ForegroundColor "red"
ShowName off
SampleTime "20e-3/16"
}
Block {
BlockType Outport
Name "OutData"
Position [895, 128, 925, 142]
}
Block {
BlockType Outport
Name "PCBits"
Position [365, 148, 395, 162]
Port "2"
}
Line {
SrcBlock "DSP\nConstant4"
SrcPort 1
Points [20, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [5, 0; 0, -50]
DstBlock "Variable\nInteger Delay3"
DstPort 2
}
Line {
SrcBlock "Rounding\nFunction"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold1"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Rounding\nFunction"
DstPort 1
}
Line {
SrcBlock "DSP\nConstant1"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "EnDelay"
SrcPort 1
DstBlock "Zero-Order\nHold1"
DstPort 1
}
Line {
Name "RxPCGating"
Labels [0, 0; 1, 0]
SrcBlock "Variable\nInteger Delay3"
SrcPort 1
DstBlock "Switch1"
DstPort 2
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
DstBlock "Variable\nInteger Delay3"
DstPort 1
}
Line {
SrcBlock "Gating"
SrcPort 1
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "Position"
SrcPort 1
DstBlock "Frame Status\nConversion"
DstPort 1
}
Line {
SrcBlock "Variable\nSelector"
SrcPort 1
DstBlock "PCBits"
DstPort 1
}
Line {
SrcBlock "Assignment"
SrcPort 1
Points [435, 0]
DstBlock "Switch1"
DstPort 3
}
Line {
SrcBlock "Frame Status\nConversion"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "DSP\nConstant2"
SrcPort 1
DstBlock "Assignment"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [20, 0]
Branch {
Points [0, -115]
DstBlock "Variable\nSelector"
DstPort 2
}
Branch {
DstBlock "Assignment"
DstPort 3
}
}
Line {
SrcBlock "DSP\nConstant3"
SrcPort 1
Points [15, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Buffer"
SrcPort 1
Points [15, 0]
Branch {
Points [35, 0]
Branch {
Points [620, 0]
DstBlock "Switch1"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Variable\nSelector"
DstPort 1
}
}
Branch {
Points [0, 155]
DstBlock "Assignment"
DstPort 1
}
}
Line {
SrcBlock "InData"
SrcPort 1
DstBlock "Buffer"
DstPort 1
}
Line {
SrcBlock "Switch1"
SrcPort 1
DstBlock "OutData"
DstPort 1
}
Annotation {
Name "Power Control Symbol Extraction"
Position [23, 22]
HorizontalAlignment "left"
DropShadow on
FontName "Arial"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "Extracts Power Control Subchannel a"
"s described in TIA/EIA/IS-2000.2.A 3.1.3.1.10"
Position [246, 23]
HorizontalAlignment "left"
FontName "Arial"
}
}
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [550, 330, 565, 370]
ForegroundColor "red"
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [705, 285, 720, 325]
ForegroundColor "red"
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [500, 310, 515, 350]
ForegroundColor "red"
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Reference
Name "Variable\nInteger Delay1"
Ports [2, 1]
Position [805, 160, 880, 195]
ShowName off
SourceBlock "dspsigops/Variable\nInteger Delay"
SourceType "Variable Integer Delay"
dmax "numSamp+10"
ic "0"
}
Block {
BlockType Reference
Name "Variable\nInteger Delay3"
Ports [2, 1]
Position [540, 85, 615, 120]
ShowName off
SourceBlock "dspsigops/Variable\nInteger Delay"
SourceType "Variable Integer Delay"
dmax "numSamp+10"
ic "0"
}
Block {
BlockType Reference
Name "Variable\nInteger Delay4"
Ports [2, 1]
Position [85, 210, 160, 245]
ShowName off
SourceBlock "dspsigops/Variable\nInteger Delay"
SourceType "Variable Integer Delay"
dmax "100"
ic "0"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [590, 331, 625, 369]
ForegroundColor "red"
ShowName off
SampleTime "20e-3/16"
}
Block {
BlockType Outport
Name "OutData"
Position [965, 173, 995, 187]
}
Block {
BlockType Outport
Name "PCBits"
Position [910, 248, 940, 262]
Port "2"
}
Line {
SrcBlock "From"
SrcPort 1
DstBlock "Power Control\nSymbol Extraction"
DstPort 3
}
Line {
SrcBlock "Zero-Order\nHold1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Hard Decisions"
SrcPort 1
DstBlock "PCBits"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [5, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "DSP\nConstant1"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Zero-Order\nHold1"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [60, 0; 0, -120]
DstBlock "Variable\nInteger Delay1"
DstPort 2
}
Line {
SrcBlock "Power Control\nSymbol Extraction"
SrcPort 2
Points [25, 0]
DstBlock "Hard Decisions"
DstPort 1
}
Line {
SrcBlock "Power Control\nSymbol Extraction"
SrcPort 1
DstBlock "Variable\nInteger Delay1"
DstPort 1
}
Line {
SrcBlock "Long Code\nDeScrambling"
SrcPort 1
DstBlock "Variable\nInteger Delay3"
DstPort 1
}
Line {
SrcBlock "Sum5"
SrcPort 1
Points [5, 0]
Branch {
Points [10, 0]
DstBlock "Sum1"
DstPort 1
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -