📄 rake.mdl
字号:
Name "Logical\nOperator1"
Ports [2, 1]
Position [305, 82, 335, 113]
ShowName off
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [380, 132, 410, 163]
ShowName off
Operator ">"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator1"
Position [200, 102, 230, 133]
ShowName off
Operator ">"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator2"
Position [250, 72, 280, 103]
ShowName off
Operator ">"
}
Block {
BlockType Stop
Name "Stop Simulation"
Position [495, 127, 530, 163]
}
Block {
BlockType Terminator
Name "Terminator"
Position [200, 30, 220, 50]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType ZeroOrderHold
Name "upsampling4"
Position [120, 144, 145, 166]
NamePlacement "alternate"
ShowName off
SampleTime "Tsam"
}
Block {
BlockType ZeroOrderHold
Name "upsampling5"
Position [120, 114, 145, 136]
NamePlacement "alternate"
ShowName off
SampleTime "Tsam"
}
Block {
BlockType ZeroOrderHold
Name "upsampling6"
Position [120, 84, 145, 106]
NamePlacement "alternate"
ShowName off
SampleTime "Tsam"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
DstBlock "Logical\nOperator"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [85, 0; 0, 60]
DstBlock "Relational\nOperator1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [130, 0]
Branch {
Points [135, 0; 0, 80]
DstBlock "Relational\nOperator"
DstPort 1
}
Branch {
Points [0, 20]
DstBlock "Relational\nOperator2"
DstPort 1
}
}
Line {
SrcBlock "Relational\nOperator2"
SrcPort 1
DstBlock "Logical\nOperator1"
DstPort 1
}
Line {
SrcBlock "Relational\nOperator1"
SrcPort 1
Points [55, 0]
DstBlock "Logical\nOperator1"
DstPort 2
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
DstBlock "Stop Simulation"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator1"
SrcPort 1
Points [80, 0; 0, 35]
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
DstBlock "upsampling4"
DstPort 1
}
Line {
SrcBlock "upsampling4"
SrcPort 1
DstBlock "Relational\nOperator"
DstPort 2
}
Line {
SrcBlock "Constant1"
SrcPort 1
DstBlock "upsampling5"
DstPort 1
}
Line {
SrcBlock "upsampling5"
SrcPort 1
DstBlock "Relational\nOperator1"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "upsampling6"
DstPort 1
}
Line {
SrcBlock "upsampling6"
SrcPort 1
DstBlock "Relational\nOperator2"
DstPort 2
}
}
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [15, 245, 75, 275]
Orientation "left"
VariableName "ErrVect"
MaxDataPoints "1"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType SubSystem
Name "Transmitter"
RequirementInfo "{ }"
Ports [0, 1]
Position [20, 20, 90, 70]
TreatAsAtomicUnit off
System {
Name "Transmitter"
Location [187, 151, 588, 447]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType SubSystem
Name "Data generator"
Ports [0, 1]
Position [15, 31, 80, 69]
TreatAsAtomicUnit off
System {
Name "Data generator"
Location [323, 141, 755, 301]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "Buffer"
Ports [1, 1]
Position [140, 25, 190, 75]
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "2"
V "0"
ic "0"
}
Block {
BlockType Reference
Name "Convert 2-D to 1-D"
Ports [1, 1]
Position [280, 32, 340, 68]
SourceBlock "dspsigattribs/Convert 2-D to 1-D"
SourceType "Convert 2-D to 1-D"
}
Block {
BlockType Reference
Name "Frame Status\nConversion"
Ports [1, 1]
Position [210, 34, 260, 66]
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Sample-based"
}
Block {
BlockType Goto
Name "Goto4"
Position [145, 112, 190, 128]
ShowName off
GotoTag "TxData"
TagVisibility "global"
}
Block {
BlockType Reference
Name "Random-Integer\nGenerator"
Ports [0, 1]
Position [15, 28, 95, 72]
SourceBlock "commrandsrc2/Random Integer\nGenerator"
SourceType "Random Integer Generator"
mul "2"
seed "24680"
Ts "Tb/2"
frameBased off
sampPerFrame "2"
orient off
}
Block {
BlockType Outport
Name "Out1"
Position [365, 43, 395, 57]
}
Line {
SrcBlock "Convert 2-D to 1-D"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion"
SrcPort 1
DstBlock "Convert 2-D to 1-D"
DstPort 1
}
Line {
SrcBlock "Buffer"
SrcPort 1
DstBlock "Frame Status\nConversion"
DstPort 1
}
Line {
SrcBlock "Random-Integer\nGenerator"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Buffer"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Goto4"
DstPort 1
}
}
}
}
Block {
BlockType Goto
Name "Goto1"
Position [240, 197, 285, 213]
ShowName off
GotoTag "SC"
TagVisibility "global"
}
Block {
BlockType Lookup
Name "Look-Up\nTable1"
Position [120, 151, 145, 179]
ShowName off
InputValues "[0 1]"
OutputValues "[1 -1]"
}
Block {
BlockType Lookup
Name "Look-Up\nTable2"
Position [120, 221, 145, 249]
ShowName off
InputValues "[0 1]"
OutputValues "[1 -1]"
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex1"
Ports [2, 1]
Position [170, 188, 200, 217]
ShowName off
Input "Real and imag"
}
Block {
BlockType Reference
Name "Scrambling code"
Ports [0, 1]
Position [15, 143, 95, 187]
SourceBlock "commseqgen2/PN Sequence\nGenerator"
SourceType "PN Sequence Generator"
poly "[0 -7 -10]"
ini_sta "[1 0 0 0 0 0 0 0 0 0]"
shift "0"
Ts "Tc"
frameBased off
sampPerFrame "1"
reset off
}
Block {
BlockType Reference
Name "Scrambling code1"
Ports [0, 1]
Position [15, 213, 95, 257]
SourceBlock "commseqgen2/PN Sequence\nGenerator"
SourceType "PN Sequence Generator"
poly "[0 -6 -7 -9 -10]"
ini_sta "[1 0 0 0 0 0 0 0 0 0]"
shift "0"
Ts "Tc"
frameBased off
sampPerFrame "1"
reset off
}
Block {
BlockType SubSystem
Name "Spreading,\nscrambling,\nmodulation and\npu"
"lse shaping"
Ports [2, 1]
Position [245, 36, 325, 89]
TreatAsAtomicUnit off
System {
Name "Spreading,\nscrambling,\nmodulation and\n"
"pulse shaping"
Location [20, 187, 573, 396]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Data"
Position [15, 73, 45, 87]
}
Block {
BlockType Inport
Name "SC"
Position [15, 118, 45, 132]
Port "2"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [305, 73, 335, 97]
ShowName off
}
Block {
BlockType Reference
Name "QPSK\nModulator\nBaseband"
Ports [1, 1]
Position [150, 56, 225, 104]
NamePlacement "alternate"
SourceBlock "commdigbbndpm2/QPSK\nModulator\nBaseban"
"d"
SourceType "QPSK Modulator Baseband"
InType "Bit"
Enc "Gray"
Ph "qpsk_phase_offset"
numSamp "1"
}
Block {
BlockType Outport
Name "Out1"
Position [360, 78, 390, 92]
}
Line {
SrcBlock "QPSK\nModulator\nBaseband"
SrcPort 1
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Data"
SrcPort 1
DstBlock "QPSK\nModulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "SC"
SrcPort 1
Points [210, 0; 0, -35]
DstBlock "Product2"
DstPort 2
}
Annotation {
Name "Complex\nSpreading"
Position [318, 58]
}
}
}
Block {
BlockType Outport
Name "TxSig"
Position [355, 58, 385, 72]
}
Line {
SrcBlock "Data generator"
SrcPort 1
DstBlock "Spreading,\nscrambling,\nmodulation and\npu"
"lse shaping"
DstPort 1
}
Line {
SrcBlock "Spreading,\nscrambling,\nmodulation and\npu"
"lse shaping"
SrcPort 1
DstBlock "TxSig"
DstPort 1
}
Line {
SrcBlock "Scrambling code"
SrcPort 1
DstBlock "Look-Up\nTable1"
DstPort 1
}
Line {
SrcBlock "Scrambling code1"
SrcPort 1
DstBlock "Look-Up\nTable2"
DstPort 1
}
Line {
SrcBlock "Real-Imag to\nComplex1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Goto1"
DstPort 1
}
Branch {
Points [0, -130]
DstBlock "Spreading,\nscrambling,\nmodulation and\n"
"pulse shaping"
DstPort 2
}
}
Line {
SrcBlock "Look-Up\nTable2"
SrcPort 1
Points [0, -25]
DstBlock "Real-Imag to\nComplex1"
DstPort 2
}
Line {
SrcBlock "Look-Up\nTable1"
SrcPort 1
Points [0, 30]
DstBlock "Real-Imag to\nCom
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -