📄 hiperlan2.mdl
字号:
SrcPort 1
DstBlock "Zero Pad"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out"
Position [765, 223, 795, 237]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Zero pad for OFDM"
SrcPort 1
DstBlock "IFFT"
DstPort 1
}
Line {
SrcBlock "IFFT"
SrcPort 1
DstBlock "Add Cyclic\nPrefix"
DstPort 1
}
Line {
SrcBlock "Add Cyclic\nPrefix"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "Pilot Generator"
SrcPort 1
DstBlock "Unipolar to\nBipolar\nConverter"
DstPort 1
}
Line {
SrcBlock "Unipolar to\nBipolar\nConverter"
SrcPort 1
Points [25, 0; 0, 90]
Branch {
DstBlock "Matrix\nConcatenation"
DstPort 2
}
Branch {
Points [0, 40]
Branch {
DstBlock "Matrix\nConcatenation"
DstPort 4
}
Branch {
Points [0, 80]
Branch {
DstBlock "Matrix\nConcatenation"
DstPort 8
}
Branch {
Points [0, 40]
DstBlock "Gain"
DstPort 1
}
}
}
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
DstBlock "Zero pad for OFDM"
DstPort 1
}
Line {
SrcBlock "DSP\nConstant"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 6
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 2
DstBlock "Matrix\nConcatenation"
DstPort 3
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 3
DstBlock "Matrix\nConcatenation"
DstPort 5
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 4
DstBlock "Matrix\nConcatenation"
DstPort 7
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 5
DstBlock "Matrix\nConcatenation"
DstPort 9
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 6
DstBlock "Matrix\nConcatenation"
DstPort 11
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 10
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Multiport\nSelector"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "P2 Puncture"
Ports [1, 1]
Position [285, 113, 365, 157]
SourceBlock "commsequence2/Puncture"
SourceType "Puncture"
punctureVector "[1 1 0 1 0 1]'"
}
Block {
BlockType Reference
Name "Rectangular QAM\nDemodulator\nBaseband"
Ports [1, 1]
Position [635, 344, 710, 396]
Orientation "left"
SourceBlock "commdigbbndam2/Rectangular QAM\nDemodulator\nBa"
"seband"
SourceType "Rectangular QAM Demodulator Baseband"
M "16"
OutType "Bit"
Dec "Gray"
PowType "Min. distance between symbols"
MinDist "2"
AvgPow "1"
PeakPow "1"
Ph "0"
numSamp "1"
}
Block {
BlockType Reference
Name "Rectangular QAM\nModulator\nBaseband"
Ports [1, 1]
Position [635, 109, 710, 161]
SourceBlock "commdigbbndam2/Rectangular QAM\nModulator\nBase"
"band"
SourceType "Rectangular QAM Modulator Baseband"
M "16"
InType "Bit"
Enc "Gray"
PowType "Min. distance between symbols"
MinDist "2"
AvgPow "1"
PeakPow "1"
Ph "0"
numSamp "1"
}
Block {
BlockType Reference
Name "Spectrum\nScope"
Ports [1]
Position [815, 285, 850, 335]
Orientation "left"
NamePlacement "alternate"
LinkData {
BlockName "Optional\nBuffering/Buffer"
DialogParameters {
N "BufferSize"
V "Overlap"
ic "0"
}
}
SourceBlock "dspsnks3/Spectrum\nScope"
SourceType "Spectrum Scope"
ScopeProperties off
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "80"
Overlap "0"
inpFftLenInherit on
FFTlength "1024"
numAvg "10"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "get(0,'defaultfigureposition')"
AxisProperties on
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-60"
YMax "0"
YLabel "Magnitude, dB"
LineProperties off
}
Block {
BlockType Terminator
Name "Terminator"
Position [755, 410, 775, 430]
Orientation "left"
ShowName off
}
Block {
BlockType Reference
Name "Unipolar to\nBipolar\nConverter"
Ports [1, 1]
Position [355, 352, 410, 388]
Orientation "left"
ShowName off
FontSize 10
SourceBlock "commutil2/Unipolar to\nBipolar\nConverter"
SourceType "Unipolar to Bipolar Converter"
M "2"
polarity "Negative"
}
Block {
BlockType Reference
Name "Viterbi Decoder"
Ports [1, 1]
Position [150, 340, 240, 400]
Orientation "left"
SourceBlock "commcnvcod2/Viterbi Decoder"
SourceType "Viterbi Decoder"
trellis "poly2trellis(7, [133 171])"
dectype "Unquantized"
nsdecb "4"
tbdepth "34"
opmode "Continuous"
reset off
}
Line {
SrcBlock "Rectangular QAM\nModulator\nBaseband"
SrcPort 1
DstBlock "Normalise"
DstPort 1
}
Line {
SrcBlock "Bernoulli Random\nBinary Generator"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Convolutional\nEncoder"
DstPort 1
}
Branch {
Points [0, 95]
DstBlock "Error Rate Calculation"
DstPort 1
}
}
Line {
SrcBlock "OFDM Transmitter"
SrcPort 1
Points [20, 0]
DstBlock "AWGN\nChannel"
DstPort 1
}
Line {
SrcBlock "Viterbi Decoder"
SrcPort 1
Points [-10, 0; 0, -115]
DstBlock "Error Rate Calculation"
DstPort 2
}
Line {
SrcBlock "P2 Puncture"
SrcPort 1
DstBlock "Matrix\nInterleaver"
DstPort 1
}
Line {
SrcBlock "General Block\nInterleaver"
SrcPort 1
DstBlock "Rectangular QAM\nModulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "General Block\nDeinterleaver"
SrcPort 1
DstBlock "Matrix\nDeinterleaver"
DstPort 1
}
Line {
SrcBlock "Convolutional\nEncoder"
SrcPort 1
DstBlock "P2 Puncture"
DstPort 1
}
Line {
SrcBlock "Insert Zero"
SrcPort 1
DstBlock "Viterbi Decoder"
DstPort 1
}
Line {
SrcBlock "Matrix\nDeinterleaver"
SrcPort 1
DstBlock "Unipolar to\nBipolar\nConverter"
DstPort 1
}
Line {
SrcBlock "Rectangular QAM\nDemodulator\nBaseband"
SrcPort 1
DstBlock "General Block\nDeinterleaver"
DstPort 1
}
Line {
SrcBlock "Normalise"
SrcPort 1
DstBlock "OFDM Transmitter"
DstPort 1
}
Line {
SrcBlock "Denormalise"
SrcPort 1
DstBlock "Rectangular QAM\nDemodulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "Unipolar to\nBipolar\nConverter"
SrcPort 1
DstBlock "Insert Zero"
DstPort 1
}
Line {
SrcBlock "OFDM Receiver"
SrcPort 1
Points [0, 0; -5, 0]
Branch {
DstBlock "Denormalise"
DstPort 1
}
Branch {
Points [0, -125]
DstBlock "Discrete-Time\nEye and Scatter\nDiagrams"
DstPort 1
}
}
Line {
SrcBlock "Error Rate Calculation"
SrcPort 1
DstBlock "Display"
DstPort 1
}
Line {
SrcBlock "OFDM Receiver"
SrcPort 2
Points [-10, 0]
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "AWGN\nChannel"
SrcPort 1
Points [0, 0; 0, 35]
Branch {
Points [0, 80]
DstBlock "OFDM Receiver"
DstPort 1
}
Branch {
DstBlock "Spectrum\nScope"
DstPort 1
}
}
Line {
SrcBlock "Matrix\nInterleaver"
SrcPort 1
DstBlock "General Block\nInterleaver"
DstPort 1
}
Annotation {
Position [465, 61]
BackgroundColor "[0.960784, 0.960784, 0.980392, 1.000000]"
Text "HiperLAN/2 - 16QAM mode with 3/4 code rate (4/"
"6 P2 puncturing rate). "
FontName "Arial"
FontSize 16
FontWeight "bold"
}
Annotation {
Position [394, 247]
HorizontalAlignment "left"
BackgroundColor "[0.960784, 0.960784, 0.980392, 1.000000]"
Text "Error rate \nNum Errors\nNum Bits "
FontName "Arial"
FontSize 16
}
Annotation {
Position [105, 478]
HorizontalAlignment "left"
BackgroundColor "[0.960784, 0.960784, 0.980392, 1.000000]"
Text "Note: the spectrum and constellation plots slo"
"w down execution due to graphics overhead. For maximum performance shut the"
"m off!\n "
FontName "Arial"
FontSize 11
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -