📄 cdma2k.mdl
字号:
Location [58, 85, 1053, 707]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Rx_Access"
Position [30, 53, 60, 67]
}
Block {
BlockType Inport
Name "Rx_Rev"
Position [25, 348, 55, 362]
Port "2"
}
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 cdma2k 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 Constant
Name "Current\nInput Power1"
Position [1005, 59, 1145, 81]
ShowName off
Value "[ 96 1 116 1 239 1 359 1]"
}
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 [535, 599, 570, 621]
ShowName off
Value "60"
}
Block {
BlockType SubSystem
Name "DeOrthogonal"
Ports [1, 1]
Position [1110, 300, 1220, 360]
NamePlacement "alternate"
TreatAsAtomicUnit off
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "DeOrthogonal"
Location [99, 353, 749, 557]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Input"
Position [25, 43, 55, 57]
}
Block {
BlockType Reference
Name "Buffer"
Ports [1, 1]
Position [435, 50, 485, 100]
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "24576"
V "0"
ic "0"
}
Block {
BlockType Reference
Name "Downsample"
Ports [1, 1]
Position [525, 58, 560, 92]
SourceBlock "dspsigops/Downsample"
SourceType "Downsample"
N "16"
phase "0"
ic "0"
smode "Allow multirate"
fmode "Maintain input frame rate"
}
Block {
BlockType Reference
Name "Hadamard\nCode Generator"
Ports [0, 1]
Position [150, 123, 255, 177]
SourceBlock "commseqgen2/Hadamard\nCode Generator"
SourceType "Hadamard Code Generator"
length "16"
index "4"
ts "1/1228800"
frameBased off
sampPerFrame "1"
}
Block {
BlockType Product
Name "Spread"
Ports [2, 1]
Position [345, 25, 400, 120]
}
Block {
BlockType Reference
Name "Unbuffer"
Ports [1, 1]
Position [100, 26, 150, 74]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType Reference
Name "Unipolar to\nBipolar\nConverter"
Ports [1, 1]
Position [205, 26, 285, 74]
SourceBlock "commutil2/Unipolar to\nBipolar\nConvert"
"er"
SourceType "Unipolar to Bipolar Converter"
M "2"
polarity "Negative"
}
Block {
BlockType Outport
Name "Out1"
Position [590, 63, 625, 87]
}
Line {
SrcBlock "Input"
SrcPort 1
DstBlock "Unbuffer"
DstPort 1
}
Line {
SrcBlock "Unbuffer"
SrcPort 1
DstBlock "Unipolar to\nBipolar\nConverter"
DstPort 1
}
Line {
SrcBlock "Unipolar to\nBipolar\nConverter"
SrcPort 1
DstBlock "Spread"
DstPort 1
}
Line {
SrcBlock "Hadamard\nCode Generator"
SrcPort 1
Points [35, 0; 0, -55]
DstBlock "Spread"
DstPort 2
}
Line {
SrcBlock "Spread"
SrcPort 1
DstBlock "Buffer"
DstPort 1
}
Line {
SrcBlock "Buffer"
SrcPort 1
DstBlock "Downsample"
DstPort 1
}
Line {
SrcBlock "Downsample"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Decoder"
Ports [1, 2]
Position [890, 420, 1085, 495]
Orientation "left"
NamePlacement "alternate"
TreatAsAtomicUnit off
MaskDisplay "port_label('input',1,'Modulation Sysmobols'"
");\nport_label('output',1,'Channel Bits');\nport_label('output',2,'FQI')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Decoder"
Location [40, 532, 950, 698]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 53, 55, 67]
}
Block {
BlockType SubSystem
Name "DeFQI"
Ports [1, 2]
Position [485, 29, 595, 91]
TreatAsAtomicUnit off
MaskPromptString "Radio Configuration|Bit Rate|Frame Leng"
"th|Frame Duration"
MaskStyleString "edit,edit,edit,edit"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -