📄 cdma2000.mdl
字号:
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "FCH"
Position [70, 313, 100, 327]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "SCH1/CCCH/EACH"
Position [70, 353, 100, 367]
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Gain"
Position [765, 368, 795, 382]
Port "6"
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add"
Ports [3, 1]
Position [185, 161, 220, 269]
Inputs "+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [185, 300, 220, 380]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add2"
Ports [2, 1]
Position [545, 112, 580, 203]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add3"
Ports [2, 1]
Position [545, 264, 580, 366]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "FIR\nInterpolation"
Ports [1, 1]
Position [635, 134, 700, 186]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag0"
SourceBlock "dspmlti4/FIR\nInterpolation"
SourceType "FIR Interpolation"
h "xFIR"
L "4"
framing "Maintain input frame size"
outputBufInitCond "0"
additionalParams off
allowOverrides on
firstCoeffMode "Same word length as input"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
outputMode "Same as accumulator"
outputWordLength "16"
outputFracLength "15"
accumMode "Inherit via internal rule"
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Inherit via internal rule"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType Reference
Name "FIR\nInterpolation1"
Ports [1, 1]
Position [630, 289, 695, 341]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag1"
SourceBlock "dspmlti4/FIR\nInterpolation"
SourceType "FIR Interpolation"
h "xFIR"
L "4"
framing "Maintain input frame size"
outputBufInitCond "0"
additionalParams off
allowOverrides on
firstCoeffMode "Same word length as input"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
outputMode "Same as accumulator"
outputWordLength "16"
outputFracLength "15"
accumMode "Inherit via internal rule"
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Inherit via internal rule"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType Product
Name "Gain Product"
Ports [2, 1]
Position [850, 216, 880, 294]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name "PN Squence"
Ports [0, 2]
Position [65, 48, 210, 137]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskType "PN Sequence"
MaskDescription "PN Sequence maker"
MaskPromptString "Seed to Long Code Mask"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "xSeed=@1;"
MaskInitialization "MS_PNSequence_Initialization"
MaskDisplay "disp('PN Sequence\\n\\n(cdma2000 MS)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "7"
System {
Name "PN Squence"
Location [0, 124, 1012, 588]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 135
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType SubSystem
Name "I branch PN"
Ports [0, 1]
Position [20, 34, 120, 76]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskType "Short PN Sequence I"
MaskDescription "Short PN Sequence "
MaskPromptString "Seed to Generate Long Code Mask(Generat"
"or Polynomial)"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "xGenerator=@1;"
MaskDisplay "disp('Short PN Sequence\\n\\n(cdma2000 "
"MS)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "xPNGeneratorI"
System {
Name "I branch PN"
Location [76, 222, 824, 554]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "Insert Zero"
Ports [1, 1]
Position [150, 48, 230, 92]
SourceBlock "commsequence2/Insert Zero"
SourceType "Insert Zero"
insertZeroVector "[1 0 ones(1,2^15-2)]'"
}
Block {
BlockType Reference
Name "PN Sequence\nGenerator"
Ports [0, 1]
Position [30, 48, 110, 92]
SourceBlock "commseqgen2/PN Sequence\nGenerator"
SourceType "PN Sequence Generator"
poly "xGenerator"
ini_sta "[zeros(1,14) 1]"
shift "[zeros(1,14) 1]"
Ts "2^15/1228800/(2^15-1)"
frameBased on
sampPerFrame "2^15-1"
reset off
outDataType "double"
}
Block {
BlockType Reference
Name "Unbuffer"
Ports [1, 1]
Position [275, 46, 325, 94]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType Outport
Name "Out"
Position [355, 63, 385, 77]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "PN Sequence\nGenerator"
SrcPort 1
DstBlock "Insert Zero"
DstPort 1
}
Line {
SrcBlock "Insert Zero"
SrcPort 1
DstBlock "Unbuffer"
DstPort 1
}
Line {
SrcBlock "Unbuffer"
SrcPort 1
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Long Code\nGenerator"
Ports [0, 1]
Position [35, 148, 115, 192]
SourceBlock "commseqgen2/PN Sequence\nGenerator"
SourceType "PN Sequence Generator"
poly "xLongCodeGenerator"
ini_sta "[zeros(1,41) 1]"
shift "xLongCodeMask"
Ts "xSampleTime"
frameBased off
sampPerFrame "1"
reset off
outDataType "double"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [425, 56, 455, 134]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [515, 199, 550, 286]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [720, 169, 760, 271]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name "Q branch PN"
Ports [0, 1]
Position [15, 264, 115, 306]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskType "Short PN Sequence Q"
MaskDescription "Short PN Sequence "
MaskPromptString "Seed to Generate Long Code Mask(Generat"
"or Polynomial)"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "xGenerator=@1;"
MaskDisplay "disp('Short PN Sequence\\n\\n(cdma2000 "
"MS)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "xPNGeneratorQ"
System {
Name "Q branch PN"
Location [76, 222, 824, 554]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "Insert Zero"
Ports [1, 1]
Position [150, 48, 230, 92]
SourceBlock "commsequence2/Insert Zero"
SourceType "Insert Zero"
insertZeroVector "[1 0 ones(1,2^15-2)]'"
}
Block {
BlockType Reference
Name "PN Sequence\nGenerator"
Ports [0, 1]
Position [30, 48, 110, 92]
SourceBlock "commseqgen2/PN Sequence\nGenerator"
SourceType "PN Sequence Generator"
poly "xGenerator"
ini_sta "[zeros(1,14) 1]"
shift "[zeros(1,14) 1]"
Ts "2^15/1228800/(2^15-1)"
frameBased "on"
sampPerFrame "2^15-1"
reset "off"
outDataType "double"
}
Block {
BlockType Reference
Name "Unbuffer"
Ports [1, 1]
Position [275, 46, 325, 94]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType Outport
Name "Out"
Position [355, 63, 385, 77]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "PN Sequence\nGenerator"
SrcPort 1
DstBlock "Insert Zero"
DstPort 1
}
Line {
SrcBlock "Insert Zero"
SrcPort 1
DstBlock "Unbuffer"
DstPort 1
}
Line {
SrcBlock "Unbuffer"
SrcPort 1
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1]
Position [590, 231, 695, 259]
FunctionName "MS_SFUN_QConvert"
}
Block {
BlockType Reference
Name "Unipolar to\nBipolar\nConverter"
Ports [1, 1]
Position [245, 148, 325, 192]
SourceBlock "commutil2/Unipolar to\nBipolar\nConvert"
"er"
SourceType "Unipolar to Bipolar Converter"
ShowPortLabels on
M "2"
polarity "Negative"
}
Block {
BlockType Reference
Name "Unipolar to\nBipolar\nConverter1"
Ports [1, 1]
Position [240, 33, 320, 77]
SourceBlock "commutil2/Unipolar to\nBipolar\nConvert"
"er"
SourceType "Unipolar to Bipolar Converter"
ShowPortLabels on
M "2"
polarity "Negative"
}
Block {
BlockType Reference
Name "Unipolar to\nBipolar\nConverter2"
Ports [1, 1]
Position [245, 263, 325, 307]
SourceBlock "commutil2/Unipolar to\nBipolar\nConvert"
"er"
SourceType "Unipolar to Bipolar Converter"
ShowPortLabels on
M "2"
polarity "Negative"
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [425, 203, 460, 237]
SampleTime "xSampleTime"
}
Block {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -