📄 ddc.mdl
字号:
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"
YUnits "dB"
YMin "-60"
YMax "17.722"
YLabel "Magnitude-squared, dB"
LineProperties off
wintypeSpecScope "Hamming"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Block {
BlockType Reference
Name "Freq"
Ports [1, 1]
Position [95, 290, 115, 310]
BackgroundColor "[0.870590, 0.752940, 0.752940]"
FontName "Arial"
SourceBlock "syndsplibv6/Ports & Subsystems/Port In"
SourceType "Synplify DSP Port In"
syn_out_wl "32"
syn_out_fl "32"
syn_out_dt "unsigned"
syn_out_st "1/SR"
syn_capture on
syn_register off
synBlockType "port"
synLatency "0"
synBlockId "0"
}
Block {
BlockType Reference
Name "I_out"
Ports [1, 1]
Position [755, 400, 775, 420]
BackgroundColor "[0.870590, 0.752940, 0.752940]"
FontName "Arial"
SourceBlock "syndsplibv6/Ports & Subsystems/Port Out"
SourceType "Synplify DSP Port Out"
syn_capture on
syn_register off
synBlockType "port"
synLatency "0"
synBlockId "1"
}
Block {
BlockType Reference
Name "Input Spectrum"
Ports [1]
Position [200, 100, 235, 150]
DialogController "dspdialog.SpectrumScope"
DialogControllerArgs "DataTag5"
FontSize 10
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels off
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"
YUnits "dB"
YMin "-10"
YMax "10"
YLabel "Magnitude-squared, dB"
LineProperties off
wintypeSpecScope "Hamming"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Block {
BlockType Reference
Name "Mixer Spectrum"
Ports [1]
Position [410, 100, 445, 150]
DialogController "dspdialog.SpectrumScope"
DialogControllerArgs "DataTag6"
FontSize 10
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels off
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"
YUnits "dB"
YMin "-10"
YMax "10"
YLabel "Magnitude-squared, dB"
LineProperties off
wintypeSpecScope "Hamming"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Block {
BlockType Reference
Name "Mult_I"
Ports [2, 1]
Position [300, 310, 340, 350]
FontName "Arial"
FontSize 9
FontWeight "normal"
SourceBlock "syndsplibv6/Math Functions/Mult"
SourceType "Synplify DSP Mult"
syn_out_f "Specify"
syn_out_wl "14"
syn_out_fl "11"
syn_out_dt "signed"
syn_out_sat off
syn_out_rnd off
synBlockType "primitive"
synLatency "0"
synBlockId "3"
syn_opr_mode "1"
}
Block {
BlockType Reference
Name "Mult_Q"
Ports [2, 1]
Position [300, 230, 340, 270]
FontName "Arial"
FontSize 9
FontWeight "normal"
SourceBlock "syndsplibv6/Math Functions/Mult"
SourceType "Synplify DSP Mult"
syn_out_f "Specify"
syn_out_wl "14"
syn_out_fl "11"
syn_out_dt "signed"
syn_out_sat off
syn_out_rnd off
synBlockType "primitive"
synLatency "0"
synBlockId "3"
syn_opr_mode "1"
}
Block {
BlockType Reference
Name "Q_out"
Ports [1, 1]
Position [755, 290, 775, 310]
BackgroundColor "[0.870590, 0.752940, 0.752940]"
FontName "Arial"
SourceBlock "syndsplibv6/Ports & Subsystems/Port Out"
SourceType "Synplify DSP Port Out"
syn_capture on
syn_register off
synBlockType "port"
synLatency "0"
synBlockId "1"
}
Block {
BlockType Reference
Name "Signal From\nWorkspace"
Ports [0, 1]
Position [15, 198, 70, 232]
SourceBlock "dspsrcs4/Signal From\nWorkspace"
SourceType "Signal From Workspace"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
X "ddc_in"
Ts "1/SR"
nsamps "1"
OutputAfterFinalValue "Setting to zero"
ignoreOrWarnInputAndFrameLengths off
}
Block {
BlockType Reference
Name "Signal To\nWorkspace"
Ports [1]
Position [885, 338, 940, 372]
FontName "Arial"
SourceBlock "dspsnks4/Signal To\nWorkspace"
SourceType "Signal To Workspace"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
VariableName "yout"
MaxDataPoints "inf"
Decimation "1"
FrameMode "Concatenate frames (2-D array)"
FixptAsFi off
}
Block {
BlockType Reference
Name "SynDSPTool"
Ports []
Position [495, 40, 535, 80]
ForegroundColor "[0.501961, 0.000000, 0.000000]"
BackgroundColor "[0.870590, 0.752940, 0.752940]"
FontName "Arial"
FontSize 10
SourceBlock "syndsplibv6/SynDSPTool"
SourceType "Synplify DSP Toolbox"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
synBlockType "tool"
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Freq"
DstPort 1
}
Line {
SrcBlock "Signal From\nWorkspace"
SrcPort 1
DstBlock "ADC"
DstPort 1
}
Line {
SrcBlock "ADC"
SrcPort 1
Points [25, 0]
Branch {
Points [0, -90]
DstBlock "Input Spectrum"
DstPort 1
}
Branch {
Points [0, 25; 125, 0]
Branch {
DstBlock "Mult_Q"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "Mult_I"
DstPort 1
}
}
}
Line {
SrcBlock "DDS"
SrcPort 1
Points [25, 0; 0, -20]
DstBlock "Mult_Q"
DstPort 2
}
Line {
SrcBlock "DDS"
SrcPort 2
Points [25, 0; 0, 20]
Branch {
DstBlock "Mult_I"
DstPort 2
}
Branch {
DstBlock "DDS Spectrum"
DstPort 1
}
}
Line {
SrcBlock "Mult_Q"
SrcPort 1
Points [25, 0]
Branch {
Points [0, -125]
DstBlock "Mixer Spectrum"
DstPort 1
}
Branch {
DstBlock "CIC_Q"
DstPort 1
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -