📄 soft_rad.mdl
字号:
normalized off
Adapt off
RstPort "None"
}
Block {
BlockType Reference
Name "Rectangular QAM\nDemodulator\nBaseband"
Ports [1, 1]
Position [350, 64, 425, 116]
SourceBlock "commdigbbndam2/Rectangular QAM\nDemodulator"
"\nBaseband"
SourceType "Rectangular QAM Demodulator Baseband"
M "16"
OutType "Integer"
Dec "Gray"
PowType "Average Power"
MinDist "2"
AvgPow "1"
PeakPow "1"
Ph "0"
numSamp "1"
}
Block {
BlockType Reference
Name "Rectangular QAM\nModulator\nBaseband"
Ports [1, 1]
Position [475, 64, 550, 116]
SourceBlock "commdigbbndam2/Rectangular QAM\nModulator\n"
"Baseband"
SourceType "Rectangular QAM Modulator Baseband"
M "16"
InType "Integer"
Enc "Binary"
PowType "Average Power"
MinDist "2"
AvgPow "1"
PeakPow "1"
Ph "0"
numSamp "1"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [260, 215, 280, 235]
Orientation "down"
NamePlacement "alternate"
ShowName off
Inputs "-+"
}
Block {
BlockType Outport
Name "Equalized Signal"
Position [315, 13, 345, 27]
}
Block {
BlockType Outport
Name "Equalizer Taps"
Position [145, 18, 175, 32]
Orientation "left"
Port "2"
}
Line {
SrcBlock "LMS\nAdaptive Filter"
SrcPort 1
DstBlock "Downsample1"
DstPort 1
}
Line {
SrcBlock "Rectangular QAM\nDemodulator\nBaseband"
SrcPort 1
DstBlock "Rectangular QAM\nModulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [-195, 0; 0, -120]
DstBlock "LMS\nAdaptive Filter"
DstPort 2
}
Line {
SrcBlock "Probe"
SrcPort 1
DstBlock "LMS\nAdaptive Filter"
DstPort 1
}
Line {
SrcBlock "LMS\nAdaptive Filter"
SrcPort 2
Points [10, 0; 0, -95]
DstBlock "Equalizer Taps"
DstPort 1
}
Line {
SrcBlock "Rectangular QAM\nModulator\nBaseband"
SrcPort 1
Points [35, 0; 0, 80; -315, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Downsample1"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Rectangular QAM\nDemodulator\nBaseband"
DstPort 1
}
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Equalized Signal"
DstPort 1
}
}
}
}
Block {
BlockType Gain
Name "Gain"
Position [430, 65, 460, 95]
Gain "sqrt(8)"
}
Block {
BlockType Gain
Name "Gain1"
Position [360, 340, 390, 370]
Orientation "left"
Gain "sqrt(8)"
}
Block {
BlockType SubSystem
Name "IF downconverion"
Ports [1, 1]
Position [495, 333, 565, 377]
Orientation "left"
TreatAsAtomicUnit off
System {
Name "IF downconverion"
Location [289, 206, 827, 432]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 93, 45, 107]
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag3"
Ports [1, 2]
Position [260, 97, 290, 128]
Output "Real and imag"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [205, 100, 235, 130]
Operator "conj"
}
Block {
BlockType Product
Name "Mixer for I"
Ports [2, 1]
Position [335, 27, 375, 58]
}
Block {
BlockType Product
Name "Mixer for I1"
Ports [2, 1]
Position [335, 162, 375, 193]
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [400, 93, 430, 122]
Input "Real and imag"
}
Block {
BlockType Reference
Name "Sine Wave1"
Ports [0, 1]
Position [135, 93, 180, 137]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "sqrt(2)"
Frequency "1e7"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/(1e7*4)"
SamplesPerFrame "1"
additionalParams on
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Outport
Name "I+jQ"
Position [470, 103, 500, 117]
}
Line {
SrcBlock "Complex to\nReal-Imag3"
SrcPort 2
Points [0, 50]
DstBlock "Mixer for I1"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag3"
SrcPort 1
Points [0, -55]
DstBlock "Mixer for I"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
Points [20, 0]
Branch {
Points [0, -65]
DstBlock "Mixer for I"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Mixer for I1"
DstPort 2
}
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Complex to\nReal-Imag3"
DstPort 1
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Mixer for I"
SrcPort 1
Points [5, 0]
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Line {
SrcBlock "Mixer for I1"
SrcPort 1
Points [5, 0]
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
DstBlock "I+jQ"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "IF upconversion"
Ports [1, 1]
Position [480, 58, 550, 102]
TreatAsAtomicUnit off
System {
Name "IF upconversion"
Location [261, 234, 799, 460]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 93, 45, 107]
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag"
Ports [1, 2]
Position [75, 82, 105, 113]
Output "Real and imag"
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag3"
Ports [1, 2]
Position [260, 97, 290, 128]
Output "Real and imag"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [205, 100, 235, 130]
Operator "conj"
}
Block {
BlockType Product
Name "Mixer for I"
Ports [2, 1]
Position [335, 32, 375, 63]
}
Block {
BlockType Product
Name "Mixer for I1"
Ports [2, 1]
Position [335, 162, 375, 193]
}
Block {
BlockType Reference
Name "Sine Wave1"
Ports [0, 1]
Position [135, 93, 180, 137]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "sqrt(2)"
Frequency "7e7"
Phase "0"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -