📄 fangan1.mdl
字号:
yMax "1.5"
inphaseLabel "In-phase Amplitude"
quadratureLabel "Quadrature Amplitude"
showFigure off
openScopeAtSimStart on
dispDiagram "In-phase and Quadrature"
FrameNumber off
FigPos "[232 34 560 644]"
figTitle "Eye Diagram"
block_type_ "eye"
numLinesMax "8"
}
Block {
BlockType Reference
Name "Discrete-Time\nScatter Plot\nScope"
Tag "ScatterPlot"
Ports [1]
Position [550, 345, 595, 395]
SourceBlock "commsink2/Discrete-Time\nScatter Plot\nScope"
SourceType "Discrete-Time Scatter Plot Scope"
showPlotting on
sampPerSymb "1"
offsetEye "0"
numTraces "500"
numNewFrames "10"
showRendering off
LineMarkers "."
LineColors "b"
fading on
render on
AxisGrid on
showAxes off
xMin "-1.5"
xMax "1.5"
yMin "-1.5"
yMax "1.5"
inphaseLabel "In-phase Amplitude"
quadratureLabel "Quadrature Amplitude"
showFigure off
openScopeAtSimStart on
FrameNumber off
FigPos "[232 118 560 560]"
figTitle "Scatter Plot"
numLinesMax "8"
block_type_ "scatter"
}
Block {
BlockType Reference
Name "Error rate1"
Ports [2]
Position [900, 329, 985, 376]
ShowName off
SourceBlock "com_sour/Error rate"
SourceType "Symbol/bit error counter"
K "20"
num_lin "20"
TDelay "1"
Sample "0.05"
}
Block {
BlockType Reference
Name "Integer Delay"
Ports [1, 1]
Position [440, 453, 470, 487]
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "10"
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Integer to Bit\nConverter"
Ports [1, 1]
Position [260, 123, 340, 167]
SourceBlock "commutil2/Integer to Bit\nConverter"
SourceType "Integer to Bit Converter"
nbits "3"
}
Block {
BlockType Reference
Name "Integer to Bit\nConverter1"
Ports [1, 1]
Position [175, 473, 255, 517]
SourceBlock "commutil2/Integer to Bit\nConverter"
SourceType "Integer to Bit Converter"
nbits "4"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [640, 105, 645, 185]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [595, 449, 600, 536]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Reference
Name "Rectangular QAM\nDemodulator\nBaseband"
Ports [1, 1]
Position [725, 309, 800, 361]
SourceBlock "commdigbbndam2/Rectangular QAM\nDemodulator\nBa"
"seband"
SourceType "Rectangular QAM Demodulator Baseband"
M "16"
OutType "Integer"
Dec "Binary"
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 [290, 309, 365, 361]
SourceBlock "commdigbbndam2/Rectangular QAM\nModulator\nBase"
"band"
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 Reference
Name "Sampled read with\nsynchronized pulse"
Ports [0, 2]
Position [75, 133, 155, 177]
SourceBlock "com_sour/Sampled read with\nsynchronized pulse"
SourceType "Read from workspace"
var "randint(300,1,8)"
td "0.001"
cyc "1"
ini "0"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [270, 54, 300, 86]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [935, 479, 965, 511]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Terminator
Name "Terminator"
Position [540, 525, 560, 545]
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [190, 316, 225, 354]
SampleTime "0.001"
}
Line {
SrcBlock "Sampled read with\nsynchronized pulse"
SrcPort 1
Points [40, 0]
Branch {
Points [40, 0]
Branch {
DstBlock "Integer to Bit\nConverter"
DstPort 1
}
Branch {
Points [0, -75]
DstBlock "Scope"
DstPort 1
}
}
Branch {
Points [0, -125; 680, 0; 0, 320]
DstBlock "Error rate1"
DstPort 1
}
}
Line {
SrcBlock "Integer to Bit\nConverter"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Binary vector\nconvolution encode"
DstPort 1
}
Line {
SrcBlock "Binary vector\nconvolution encode"
SrcPort 1
Points [20, 0; 0, -5]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Sampled read with\nsynchronized pulse"
SrcPort 2
Points [40, 0]
Branch {
Points [55, 0; 0, 35; 230, 0]
DstBlock "Binary vector\nconvolution encode"
DstPort 2
}
Branch {
Points [0, 70; -115, 0; 0, 340; 275, 0; 0, -40]
DstBlock "Binary vector\nconvolution decode"
DstPort 2
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Bit to Integer\nConverter"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
DstBlock "Rectangular QAM\nModulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "Bit to Integer\nConverter"
SrcPort 1
Points [10, 0; 0, 125; -675, 0; 0, 65]
DstBlock "Zero-Order\nHold"
DstPort 1
}
Line {
SrcBlock "Rectangular QAM\nModulator\nBaseband"
SrcPort 1
DstBlock "AWGN\nChannel"
DstPort 1
}
Line {
SrcBlock "AWGN\nChannel"
SrcPort 1
Points [30, 0]
Branch {
Points [0, 35]
DstBlock "Discrete-Time\nScatter Plot\nScope"
DstPort 1
}
Branch {
Points [95, 0]
Branch {
DstBlock "Rectangular QAM\nDemodulator\nBaseband"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "Discrete-Time\nEye Diagram\nScope"
DstPort 1
}
}
}
Line {
SrcBlock "Rectangular QAM\nDemodulator\nBaseband"
SrcPort 1
Points [15, 0; 0, 100; -665, 0; 0, 60]
DstBlock "Integer to Bit\nConverter1"
DstPort 1
}
Line {
SrcBlock "Integer to Bit\nConverter1"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Bit to Integer\nConverter1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
DstBlock "Binary vector\nconvolution decode"
DstPort 1
}
Line {
SrcBlock "Binary vector\nconvolution decode"
SrcPort 1
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "Bit to Integer\nConverter1"
SrcPort 1
Points [70, 0]
Branch {
DstBlock "Scope1"
DstPort 1
}
Branch {
Points [0, -130]
DstBlock "Error rate1"
DstPort 2
}
}
Line {
SrcBlock "Binary vector\nconvolution decode"
SrcPort 2
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 1
DstBlock "Integer Delay"
DstPort 1
}
Line {
SrcBlock "Integer Delay"
SrcPort 1
DstBlock "Mux2"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -