📄 hop1.mdl
字号:
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [865, 92, 895, 123]
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [480, 83, 510, 112]
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex1"
Ports [2, 1]
Position [490, 238, 520, 267]
}
Block {
BlockType Rounding
Name "Rounding\nFunction"
Position [210, 270, 240, 300]
Operator "round"
}
Block {
BlockType Scope
Name "Scope"
Ports [4]
Position [1045, 20, 1085, 85]
Floating off
Location [5, 45, 1029, 737]
Open off
NumInputPorts "4"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
TimeRange "10"
YMin "0~-1~-40~-2"
YMax "1~1~40~1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Reference
Name "Spectrum\nScope"
Ports [1]
Position [645, 170, 680, 220]
DialogController "dspdialog.SpectrumScope"
DialogControllerArgs "DataTag1"
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels "none"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "1024"
Overlap "0"
inpFftLenInherit off
FFTlength "128"
numAvg "2"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "get(0,'defaultfigureposition')"
AxisProperties off
XUnits "Hertz"
XRange "[0...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
XLimit "Auto"
YUnits "dB"
XMax "1"
XMin "0"
YMin "-7.57351964337667"
YMax "33.1400905847799"
YLabel "Magnitude-squared, dB"
LineProperties off
wintypeSpecScope "Hann"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Block {
BlockType Reference
Name "Spectrum\nScope1"
Ports [1]
Position [780, 295, 815, 345]
DialogController "dspdialog.SpectrumScope"
DialogControllerArgs "DataTag2"
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels "none"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "1024"
Overlap "0"
inpFftLenInherit off
FFTlength "128"
numAvg "2"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "get(0,'defaultfigureposition')"
AxisProperties off
XUnits "Hertz"
XRange "[0...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
XLimit "Auto"
YUnits "dB"
XMax "1"
XMin "0"
YMin "-7.57351964337667"
YMax "33.1400905847799"
YLabel "Magnitude-squared, dB"
LineProperties off
wintypeSpecScope "Hann"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Block {
BlockType UniformRandomNumber
Name "Uniform Random\nNumber"
Position [155, 269, 185, 301]
Minimum "1"
Maximum "32"
SampleTime "Tb/L"
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
Position [425, 403, 460, 437]
SampleTime "-1"
}
Block {
BlockType UnitDelay
Name "Unit Delay2"
Position [495, 18, 530, 52]
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "multitone"
Ports [0, 1]
Position [620, 290, 660, 350]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "multitone"
Location [170, 79, 790, 685]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Sum
Name "Add3"
Ports [16, 1]
Position [505, 25, 540, 560]
NamePlacement "alternate"
Inputs "16"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Sine Wave"
Ports [0, 1]
Position [45, 28, 90, 72]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "Ay"
Frequency "10^7+4*10^4+5000"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/500000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave1"
Ports [0, 1]
Position [95, 63, 140, 107]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "Ay"
Frequency "10^7+8*10^4+5000"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/500000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave10"
Ports [0, 1]
Position [25, 498, 70, 542]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "Ay"
Frequency "10^7+60*10^4+5000"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/500000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave11"
Ports [0, 1]
Position [90, 333, 135, 377]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "Ay"
Frequency "10^7+40*10^4+5000"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/500000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave12"
Ports [0, 1]
Position [95, 398, 140, 442]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "Ay"
Frequency "10^7+48*10^4+5000"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/500000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave13"
Ports [0, 1]
Position [30, 428, 75, 472]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "Ay"
Frequency "10^7+52*10^4+5000"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/500000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave14"
Ports [0, 1]
Position [95, 463, 140, 507]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "Ay"
Frequency "10^7+56*10^4+5000"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/500000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave15"
Ports [0, 1]
Position [35, 368, 80, 412]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "Ay"
Frequency "10^7+44*10^4+5000"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/500000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave2"
Ports [0, 1]
Position [40, 93, 85, 137]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "Ay"
Frequency "10^7+12*10^4+5000"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/500000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave3"
Ports [0, 1]
Position [95, 128, 140, 172]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "Ay"
Frequency "10^7+16*10^4+5000"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/500000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave4"
Ports [0, 1]
Position [40, 163, 85, 207]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "Ay"
Frequency "10^7+20*10^4+5000"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/500000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave5"
Ports [0, 1]
Position [90, 533, 135, 577]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "Ay"
Frequency "10^7+64*10^4+5000"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -