📄 cdma2000.mdl
字号:
BlockType SubSystem
Name "CRC"
Ports [1, 1]
Position [75, 171, 220, 239]
TreatAsAtomicUnit off
MaskType "Frame Quality Indicator (cdma 2000 ms)"
MaskPromptString "radio configuration|bitrate|frame length|fr"
"ame duration"
MaskStyleString "edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVarAliasString ",,,"
MaskVariables "xrc=@1;xbitrate=@2;xframelength=@3;xframedu"
"ration=@4;"
MaskInitialization "ms_fqi_initialization"
MaskDisplay "disp('Frame Quality Indicator\\n\\n(cdma 20"
"00 ms)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "mrc|mbitrate|mframelength|mframeduration"
System {
Name "CRC"
Location [159, 350, 489, 450]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 43, 55, 57]
}
Block {
BlockType Reference
Name "General CRC\nGenerator"
Ports [1, 1]
Position [175, 26, 250, 74]
SourceBlock "commcrc2/General CRC\nGenerator"
SourceType "General CRC Generator"
genPoly "xgenpoly"
iniStates "[0]"
numChecksums "1"
}
Block {
BlockType Reference
Name "Zero Pad"
Ports [1, 1]
Position [80, 32, 125, 68]
SourceBlock "dspsigops/Zero Pad"
SourceType "Zero Pad"
padSigAt "End"
zpadAlong "Columns"
padNumOutRowsSpecMethod "User-specified"
numOutRows "xpaddedframelength"
padNumOutColsSpecMethod "User-specified"
numOutCols "1"
trunc_flag "None"
}
Block {
BlockType Outport
Name "Out1"
Position [275, 43, 305, 57]
}
Line {
SrcBlock "Zero Pad"
SrcPort 1
DstBlock "General CRC\nGenerator"
DstPort 1
}
Line {
SrcBlock "General CRC\nGenerator"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Zero Pad"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Conv Encoder"
Ports [1, 1]
Position [245, 177, 350, 233]
TreatAsAtomicUnit off
MaskPromptString "rc|bitrate|framelength|frameduration"
MaskStyleString "edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVarAliasString ",,,"
MaskVariables "xrc=@1;xbitrate=@2;xframelength=@3;xframedu"
"ration=@4;"
MaskInitialization "ms_encoder_initialization"
MaskDisplay "disp('Conv Encoder\\n\\n( cdma2000 ms)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "mrc|mbitrate|mframelength|mframeduration"
System {
Name "Conv Encoder"
Location [2, 76, 1014, 727]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 48, 55, 62]
}
Block {
BlockType Reference
Name "Convolutional\nEncoder"
Ports [1, 1]
Position [165, 25, 285, 85]
SourceBlock "commcnvcod2/Convolutional\nEncoder"
SourceType "Convolutional Encoder"
trellis "xtrellisstructure"
reset "None"
}
Block {
BlockType Reference
Name "Zero Pad"
Ports [1, 1]
Position [80, 37, 125, 73]
SourceBlock "dspsigops/Zero Pad"
SourceType "Zero Pad"
padSigAt "End"
zpadAlong "Columns"
padNumOutRowsSpecMethod "User-specified"
numOutRows "xpaddedframelength"
padNumOutColsSpecMethod "User-specified"
numOutCols "1"
trunc_flag "None"
}
Block {
BlockType Outport
Name "Out1"
Position [310, 48, 340, 62]
}
Line {
SrcBlock "Zero Pad"
SrcPort 1
DstBlock "Convolutional\nEncoder"
DstPort 1
}
Line {
SrcBlock "Convolutional\nEncoder"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Zero Pad"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Random Integer\nGenerator"
Ports [0, 1]
Position [15, 20, 95, 60]
Orientation "down"
FontName "Arial"
SourceBlock "commrandsrc2/Random Integer\nGenerator"
SourceType "Random Integer Generator"
mul "2"
seed "37"
Ts "mframeduration/1000/mframelength"
frameBased on
sampPerFrame "mframelength"
orient off
}
Block {
BlockType SubSystem
Name "interleaver"
Ports [1, 1]
Position [375, 177, 470, 233]
TreatAsAtomicUnit off
MaskPromptString "ratio configuration|bitrate|framelength|fra"
"meduration"
MaskStyleString "edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVarAliasString ",,,"
MaskVariables "xrc=@1;xbitrate=@2;xframelength=@3;xframedu"
"ration=@4;"
MaskInitialization "ms_interleaver_initialization"
MaskDisplay "disp('Interleaver \\n\\n (cdma 2000 ms)');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "mrc|mbitrate|mframelength|mframeduration"
System {
Name "interleaver"
Location [2, 77, 1014, 728]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "73"
Block {
BlockType Inport
Name "In1"
Position [25, 98, 55, 112]
}
Block {
BlockType Reference
Name "Frame Status\nConversion"
Ports [1, 1]
Position [435, 97, 485, 133]
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Sample-based"
}
Block {
BlockType Reference
Name "Frame Status\nConversion1"
Ports [1, 1]
Position [620, 97, 670, 133]
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Frame-based"
}
Block {
BlockType Reference
Name "Puncture"
Ports [1, 1]
Position [310, 93, 390, 137]
SourceBlock "commsequence2/Puncture"
SourceType "Puncture"
punctureVector "xpuncturevector"
}
Block {
BlockType Reference
Name "Repeat"
Ports [1, 1]
Position [190, 88, 270, 132]
SourceBlock "dspsigops/Repeat"
SourceType "Repeat"
N "xrepetitioncount"
ic "0"
mode "Maintain input frame rate"
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1]
Position [530, 100, 590, 130]
FunctionName "ms_sfun_interleaver"
Parameters "xinterleaversize"
}
Block {
BlockType Outport
Name "Out1"
Position [760, 103, 790, 117]
}
Line {
SrcBlock "Repeat"
SrcPort 1
Points [10, 0; 0, 5]
DstBlock "Puncture"
DstPort 1
}
Line {
SrcBlock "Puncture"
SrcPort 1
DstBlock "Frame Status\nConversion"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "S-Function"
SrcPort 1
DstBlock "Frame Status\nConversion1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [115, 0]
DstBlock "Repeat"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion1"
SrcPort 1
Points [0, -5]
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "orthogonal spreading"
Ports [2, 1]
Position [535, 189, 655, 251]
TreatAsAtomicUnit off
MaskPromptString "radio configuration|bit rate|channel type|r"
"aw bits per frame|frame duration"
MaskStyleString "edit,edit,popup(reverse fundamental channel"
"|reverse supplementary channel 1|reverse supplementary channel 2|reverse dedi"
"cated control channel|reverse common control channel|reverse pilot channel|en"
"hanced access channel),edit,edit"
MaskTunableValueString "on,on,on,on,on"
MaskCallbackString "||||"
MaskEnableString "on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on"
MaskToolTipString "on,on,on,on,on"
MaskVarAliasString ",,,,"
MaskVariables "xrc=@1;xbitrate=@2;xchanneltype=@3;xframele"
"ngth=@4;xframeduration=@5;"
MaskInitialization "ms_orthogonalspreading_initialization"
MaskDisplay "disp('orthognal spreading \\n\\n (cdma 2000"
" ms)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "mrc|mbitrate|reverse fundamental channel|mf"
"ramelength|mframeduration"
System {
Name "orthogonal spreading"
Location [2, 77, 1014, 728]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "relative gain"
Position [105, 28, 135, 42]
}
Block {
BlockType Inport
Name "In2"
Position [25, 113, 55, 127]
Port "2"
}
Block {
BlockType Reference
Name "Hadamard\nCode Generator"
Ports [0, 1]
Position [220, 203, 305, 247]
SourceBlock "commseqgen2/Hadamard\nCode Generator"
SourceType "Hadamard Code Generator"
length "xwalshcodelength"
index "xwalshcodeindex"
ts "1/1228800"
frameBased off
sampPerFrame "1"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [385, 161, 430, 194]
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [405, 96, 450, 129]
InputSameDT off
}
Block {
BlockType Reference
Name "Repeat"
Ports [1, 1]
Position [80, 98, 160, 142]
SourceBlock "dspsigops/Repeat"
SourceType "Repeat"
N "xrepetitioncount"
ic "0"
mode "Maintain input frame size"
}
Block {
BlockType Reference
Name "Unbuffer"
Ports [1, 1]
Position [195, 96, 245, 144]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType Reference
Name "Unipolar to\nBipolar\nConverter"
Ports [1, 1]
Position [270, 96, 350, 144]
SourceBlock "commutil2/Unipolar to\nBipolar\nConvert"
"er"
SourceType "Unipolar to Bipolar Converter"
M "2"
polarity "Negative"
}
Block {
BlockType Outport
Name "Out1"
Position [475, 108, 505, 122]
}
Line {
SrcBlock "Repeat"
SrcPort 1
DstBlock "Unbuffer"
DstPort 1
}
Line {
SrcBlock "Unbuffer"
SrcPort 1
DstBlock "Unipolar to\nBipolar\nConverter"
DstPort 1
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -