📄 costas.mdl
字号:
sampPerSymb "8"
offsetEye "0"
symbPerTrace "1"
numTraces "40"
numNewFrames "10"
LineStyles "-"
LineColors "b"
dupPoints on
fading on
render on
AxisGrid on
yMin "-1"
yMax "1"
inphaseLabel "In-phase Amplitude"
quadratureLabel "Quadrature Amplitude"
openScopeAtSimStart on
dispDiagram "In-phase Only"
FrameNumber off
FigPos "[402 613 390 339]"
figTitle "Eye Diagram"
block_type_ "eye"
numLinesMax "8"
}
Block {
BlockType Reference
Name "Discrete-Time\nScatter Plot\nScope"
Tag "ScatterPlot"
Ports [1]
Position [975, 660, 1020, 710]
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
SourceBlock "commsink2/Discrete-Time\nScatter Plot\nScope"
SourceType "Discrete-Time Scatter Plot Scope"
ShowPortLabels on
sampPerSymb "1"
offsetEye "0"
numTraces "40"
numNewFrames "10"
LineMarkers "."
LineColors "b"
fading on
render on
AxisGrid on
xMin "-1.5"
xMax "1.5"
yMin "-1"
yMax "1"
inphaseLabel "In-phase Amplitude"
quadratureLabel "Quadrature Amplitude"
openScopeAtSimStart on
FrameNumber on
FigPos "[800 569 384 384]"
figTitle "Scatter Plot"
numLinesMax "8"
block_type_ "scatter"
}
Block {
BlockType Reference
Name "Downsample"
Ports [1, 1]
Position [725, 88, 760, 122]
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
SourceBlock "dspsigops/Downsample"
SourceType "Downsample"
N "40"
phase "0"
ic "0"
smode "Allow multirate"
fmode "Maintain input frame size"
}
Block {
BlockType Reference
Name "Downsample1"
Ports [1, 1]
Position [725, 358, 760, 392]
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
SourceBlock "dspsigops/Downsample"
SourceType "Downsample"
N "40"
phase "0"
ic "0"
smode "Allow multirate"
fmode "Maintain input frame size"
}
Block {
BlockType Gain
Name "Gain"
Position [790, 170, 820, 200]
Orientation "left"
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
NamePlacement "alternate"
Gain "51265"
}
Block {
BlockType Gain
Name "Gain1"
Position [790, 230, 820, 260]
Orientation "left"
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
NamePlacement "alternate"
Gain "2563"
}
Block {
BlockType Gain
Name "Gain2"
Position [590, 460, 620, 490]
Orientation "left"
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
NamePlacement "alternate"
Gain "1/4294967296"
}
Block {
BlockType Gain
Name "Gain3"
Position [360, 460, 390, 490]
Orientation "left"
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
NamePlacement "alternate"
Gain "2*pi"
}
Block {
BlockType Gain
Name "Gain4"
Position [210, 555, 240, 585]
Orientation "left"
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
NamePlacement "alternate"
Gain "-1"
}
Block {
BlockType Gain
Name "Gain7"
Position [905, 230, 935, 260]
Orientation "left"
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
NamePlacement "alternate"
Gain "100"
}
Block {
BlockType Reference
Name "Integer to Bit\nConverter"
Ports [1, 1]
Position [115, 103, 195, 147]
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
SourceBlock "commutil2/Integer to Bit\nConverter"
SourceType "Integer to Bit Converter"
nbits "2"
}
Block {
BlockType Reference
Name "M-PSK\nModulator\nPassband"
Ports [1, 1]
Position [215, 99, 290, 151]
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
SourceBlock "commdigpbndpm2/M-PSK\nModulator\nPassband"
SourceType "M-PSK Modulator Passband"
ShowPortLabels on
M "4"
InType "Bit"
Enc "Binary"
td "1/1000000"
numSamp "1"
Fc "10730000"
Ph "pi/4"
OutSamp "1/40000000"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [445, 211, 490, 244]
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [934, 150, 981, 185]
Orientation "down"
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [937, 285, 988, 320]
Orientation "up"
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
RndMeth "Floor"
}
Block {
BlockType Reference
Name "Random-Integer\nGenerator"
Ports [0, 1]
Position [15, 103, 95, 147]
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
SourceBlock "commrandsrc2/Random Integer\nGenerator"
SourceType "Random Integer Generator"
ShowPortLabels on
mul "4"
seed "12345"
Ts "1/500000"
frameBased off
sampPerFrame "1"
orient off
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [890, 423, 920, 452]
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
Input "Real and imag"
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex1"
Ports [2, 1]
Position [55, 469, 90, 496]
Orientation "left"
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
NamePlacement "alternate"
Input "Real and imag"
}
Block {
BlockType Signum
Name "Sign"
Position [920, 85, 950, 115]
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
}
Block {
BlockType Signum
Name "Sign1"
Position [915, 360, 945, 390]
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
}
Block {
BlockType Reference
Name "Spectrum\nScope1"
Ports [1]
Position [365, 30, 400, 80]
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
NamePlacement "alternate"
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels off
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "1024"
Overlap "64"
inpFftLenInherit off
FFTlength "128"
numAvg "2"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber off
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[8 817 383 139]"
AxisProperties off
XUnits "Hertz"
XRange "[0...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-35.0686742096566"
YMax "20.8916793467947"
YLabel "Magnitude, dB"
LineProperties off
LineStyles "-"
LineMarkers "None"
LineColors "[0 0 1]"
}
Block {
BlockType Reference
Name "Spectrum\nScope2"
Ports [1]
Position [115, 370, 150, 420]
Orientation "left"
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels off
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "1024"
Overlap "64"
inpFftLenInherit off
FFTlength "128"
numAvg "2"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[207 596 186 161]"
AxisProperties off
XUnits "Hertz"
XRange "[0...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-158.580741725141"
YMax "23.3956410121015"
YLabel "Magnitude, dB"
LineProperties off
LineStyles "-"
LineMarkers "None"
}
Block {
BlockType Reference
Name "Spectrum\nScope3"
Ports [1]
Position [500, 105, 535, 155]
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
NamePlacement "alternate"
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels off
ScopeProperties off
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "1024"
Overlap "64"
inpFftLenInherit off
FFTlength "128"
numAvg "2"
DisplayProperties off
AxisGrid on
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -