📄 wimax.mdl
字号:
BackgroundColor "[1.000000, 0.501961, 0.000000]"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Integer to Bit\nConverter1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Signal From\nWorkspace"
SrcPort 1
DstBlock "Integer to Bit\nConverter1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "De-Randomizer"
Ports [1, 1]
Position [105, 173, 160, 217]
Orientation "left"
BackgroundColor "[1.000000, 0.501961, 0.000000]"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "De-Randomizer"
Location [433, 403, 931, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 28, 45, 42]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [2, 1]
Position [195, 28, 230, 57]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
Operator "XOR"
OutDataTypeMode "Specify via dialog"
LogicDataType "float('double')"
}
Block {
BlockType Reference
Name "PN Sequence\nGenerator"
Ports [0, 1]
Position [65, 108, 145, 152]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "commseqgen2/PN Sequence\nGenerator"
SourceType "PN Sequence Generator"
poly "[1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1]"
ini_sta "[0 0 0 1 1 1 0 1 1 1 1 0 0 0 1]"
shift "15"
Ts "1/280"
frameBased "on"
sampPerFrame "280"
reset "off"
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [95, 13, 145, 57]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
Elements "[1:280]"
InputPortWidth "288"
}
Block {
BlockType Outport
Name "Out1"
Position [280, 38, 310, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "PN Sequence\nGenerator"
SrcPort 1
Points [0, -80]
DstBlock "Logical\nOperator"
DstPort 2
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Deinterleaver"
Ports [1, 1]
Position [345, 173, 400, 217]
Orientation "left"
BackgroundColor "[1.000000, 0.501961, 0.000000]"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Deinterleaver"
Location [332, 504, 830, 804]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 33, 45, 47]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "General Block\nDeinterleaver"
Ports [1, 1]
Position [95, 13, 175, 67]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "commblkintrlv2/General Block\nDeinterleaver"
SourceType "General Block Deinterleaver"
elements "int_idx'"
}
Block {
BlockType Outport
Name "Out1"
Position [225, 33, 255, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "General Block\nDeinterleaver"
DstPort 1
}
Line {
SrcBlock "General Block\nDeinterleaver"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Demodulator"
Ports [1, 1]
Position [425, 173, 480, 217]
Orientation "left"
BackgroundColor "[1.000000, 0.501961, 0.000000]"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Demodulator"
Location [433, 403, 931, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 33, 45, 47]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "General QAM\nDemodulator\nBaseband"
Ports [1, 1]
Position [95, 14, 170, 66]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "commdigbbndam2/General QAM\nDemodulator\nBa"
"seband"
SourceType "General QAM Demodulator Baseband"
SigCon "qamconst"
numSamp "1"
}
Block {
BlockType Reference
Name "Integer to Bit\nConverter"
Ports [1, 1]
Position [220, 18, 300, 62]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "commutil2/Integer to Bit\nConverter"
SourceType "Integer to Bit Converter"
nbits "2"
}
Block {
BlockType Outport
Name "Out1"
Position [350, 33, 380, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "General QAM\nDemodulator\nBaseband"
SrcPort 1
DstBlock "Integer to Bit\nConverter"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "General QAM\nDemodulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "Integer to Bit\nConverter"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Denormalize"
Ports [1, 1]
Position [505, 173, 560, 217]
Orientation "left"
BackgroundColor "[1.000000, 0.501961, 0.000000]"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Denormalize"
Location [433, 403, 931, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 23, 45, 37]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Gain
Name "Gain1"
Position [175, 15, 205, 45]
ShowName off
Gain "1/sqrt(2)"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [95, 15, 125, 45]
ShowName off
Operator "conj"
}
Block {
BlockType Outport
Name "Out1"
Position [260, 23, 290, 37]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Interleaver"
Ports [1, 1]
Position [345, 28, 400, 72]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Interleaver"
Location [433, 403, 931, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 33, 45, 47]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "General Block\nInterleaver"
Ports [1, 1]
Position [95, 13, 175, 67]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "commblkintrlv2/General Block\nInterleaver"
SourceType "General Block Interleaver"
elements "int_idx'"
}
Block {
BlockType Outport
Name "Out1"
Position [225, 33, 255, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "General Block\nInterleaver"
DstPort 1
}
Line {
SrcBlock "General Block\nInterleaver"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Modulator"
Ports [1, 1]
Position [425, 28, 480, 72]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Modulator"
Location [433, 403, 931, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 33, 45, 47]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Bit to Integer\nConverter1"
Ports [1, 1]
Position [95, 18, 175, 62]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "commutil2/Bit to Integer\nConverter"
SourceType "Bit to Integer Converter"
nbits "2"
}
Block {
BlockType Reference
Name "General QAM\nModulator\nBaseband"
Ports [1, 1]
Position [225, 14, 300, 66]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "commdigbbndam2/General QAM\nModulator\nBase"
"band"
SourceType "General QAM Modulator Baseband"
SigCon "qamconst"
numSamp "1"
}
Block {
BlockType Outport
Name "Out1"
Position [350, 33, 380, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Bit to Integer\nConverter1"
SrcPort 1
DstBlock "General QAM\nModulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Bit to Integer\nConverter1"
DstPort 1
}
Line {
SrcBlock "General QAM\nModulator\nBaseband"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Normalize"
Ports [1, 1]
Position [505, 28, 560, 72]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Normalize"
Location [433, 403, 931, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 23, 45, 37]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Gain
Name "Gain1"
Position [175, 15, 205, 45]
ShowName off
Gain "1/sqrt(2)"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -