📄 tdmddc.mdl
字号:
phase "0"
ic "0"
smode "Allow multirate"
fmode "Maintain input frame size"
Port {
PortNumber 1
Name "I_outd"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Downsample4"
Ports [1, 1]
Position [1650, 788, 1680, 822]
SourceBlock "dspsigops/Downsample"
SourceType "Downsample"
N "2"
phase "0"
ic "0"
smode "Allow multirate"
fmode "Maintain input frame size"
Port {
PortNumber 1
Name "Q_outd"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType From
Name "From"
Position [1530, 692, 1635, 708]
CloseFcn "tagdialog Close"
GotoTag "I_in"
Port {
PortNumber 1
Name "I_in"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType From
Name "From1"
Position [1530, 727, 1635, 743]
CloseFcn "tagdialog Close"
GotoTag "I_out"
}
Block {
BlockType From
Name "From2"
Position [1530, 762, 1635, 778]
CloseFcn "tagdialog Close"
GotoTag "Q_in"
Port {
PortNumber 1
Name "Q_in"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType From
Name "From3"
Position [1530, 797, 1635, 813]
CloseFcn "tagdialog Close"
GotoTag "Q_out"
}
Block {
BlockType Goto
Name "Goto"
Position [380, 84, 455, 106]
GotoTag "I_in"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto1"
Position [1685, 189, 1745, 211]
GotoTag "I_out"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto2"
Position [25, 125, 100, 145]
Orientation "left"
GotoTag "Q_in"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto3"
Position [1710, 624, 1770, 646]
GotoTag "Q_out"
TagVisibility "local"
}
Block {
BlockType Reference
Name "I_in spectrum"
Ports [1]
Position [360, 110, 395, 160]
DialogController "dspdialog.SpectrumScope"
DialogControllerArgs "DataTag0"
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 "128"
Overlap "64"
inpFftLenInherit on
FFTlength "1024"
numAvg "4"
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 "14.4630814890581"
YMax "51.0362810601632"
YLabel "Magnitude-squared, dB"
LineProperties off
wintypeSpecScope "Hann"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Block {
BlockType Reference
Name "I_output spectrum"
Ports [1]
Position [1695, 235, 1730, 285]
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 "128"
Overlap "64"
inpFftLenInherit on
FFTlength "1024"
numAvg "4"
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.03146659526247"
YMax "53.1836922062931"
YLabel "Magnitude-squared, dB"
LineProperties off
wintypeSpecScope "Hann"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Block {
BlockType Scope
Name "In Phase Out"
Ports [5]
Position [1770, 302, 1825, 458]
NamePlacement "alternate"
Floating off
Location [5, 54, 1157, 830]
Open on
NumInputPorts "5"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
axes5 "%<SignalLabel>"
}
YMin "0~-350~0.95~0.95~-1"
YMax "1~100~1.05~1.05~1"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Quadrature Out"
Ports [5]
Position [1775, 449, 1825, 611]
Floating off
Location [5, 54, 1157, 830]
Open on
NumInputPorts "5"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
axes5 "%<SignalLabel>"
}
YMin "0~-20000~0~0~-1"
YMax "1~20000~1~1~1"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Rounding"
Ports [5, 5]
Position [1065, 332, 1205, 548]
ForegroundColor "cyan"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskType "SubSystem AlteraBlockSet"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Rounding"
Location [2, 84, 1270, 971]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Out_ready"
Position [45, 483, 75, 497]
ForegroundColor "blue"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In_data[34:0]"
Position [50, 413, 80, 427]
ForegroundColor "blue"
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In_eop"
Position [45, 673, 75, 687]
ForegroundColor "blue"
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In_sop"
Position [45, 598, 75, 612]
ForegroundColor "blue"
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In_valid"
Position [45, 523, 75, 537]
ForegroundColor "blue"
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "Round"
Ports [1, 1]
Position [390, 410, 455, 430]
ForegroundColor "blue"
SourceBlock "allblocks_alteradspbuilder2/Round"
SourceType "Round AlteraBlockset"
BusType "Signed Integer"
bwl "33"
bwr "0"
bitsToRemove "17"
roundMode "TRUNCATE_LOW"
userRoundMode "Truncate"
pipeline off
}
Block {
BlockType Reference
Name "Saturate"
Ports [1, 1]
Position [255, 410, 320, 430]
ForegroundColor "blue"
SourceBlock "allblocks_alteradspbuilder2/Saturate"
SourceType "Saturate AlteraBlockset"
BusType "Signed Integer"
bwl "35"
bwr "0"
bitsToRemove "2"
satMode "Saturate"
UpperLimit "4294967295"
LowerLimit "-4294967296"
pipeline off
}
Block {
BlockType Reference
Name "in_data"
Ports [1, 1]
Position [105, 412, 170, 428]
ForegroundColor "blue"
SourceBlock "allblocks_alteradspbuilder2/AltBus"
SourceType "AltBus AlteraBlockset"
BusType "Signed Integer"
bwl "35"
bwr "0"
saturate off
}
Block {
BlockType Reference
Name "in_eop"
Ports [1, 1]
Position [95, 672, 160, 688]
ForegroundColor "blue"
SourceBlock "allblocks_alteradspbuilder2/AltBus"
SourceType "AltBus AlteraBlockset"
BusType "Single Bit"
bwl "8"
bwr "0"
saturate off
}
Block {
BlockType Reference
Name "in_ready"
Ports [1, 1]
Position [560, 482, 625, 498]
ForegroundColor "blue"
SourceBlock "allblocks_alteradspbuilder2/AltBus"
SourceType "AltBus AlteraBlockset"
BusType "Single Bit"
bwl "8"
bwr "0"
saturate off
}
Block {
BlockType Reference
Name "in_sop"
Ports [1, 1]
Position [100, 597, 165, 613]
ForegroundColor "blue"
SourceBlock "allblocks_alteradspbuilder2/AltBus"
SourceType "AltBus AlteraBlockset"
BusType "Single Bit"
bwl "8"
bwr "0"
saturate off
}
Block {
BlockType Reference
Name "in_valid"
Ports [1, 1]
Position [100, 522, 165, 538]
ForegroundColor "blue"
SourceBlock "allblocks_alteradspbuilder2/AltBus"
SourceType "AltBus AlteraBlockset"
BusType "Single Bit"
bwl "8"
bwr "0"
saturate off
}
Block {
BlockType Reference
Name "out_data"
Ports [1, 1]
Position [540, 412, 605, 428]
ForegroundColor "blue"
SourceBlock "allblocks_alteradspbuilder2/AltBus"
SourceType "AltBus AlteraBlockset"
BusType "Signed Integer"
bwl "16"
bwr "0"
saturate off
}
Block {
BlockType Reference
Name "out_eop"
Ports [1, 1]
Position [520, 672, 585, 688]
ForegroundColor "blue"
SourceBlock "allblocks_alteradspbuilder2/AltBus"
SourceType "AltBus AlteraBlockset"
BusType "Single Bit"
bwl "8"
bwr "0"
saturate off
}
Block {
BlockType Reference
Name "out_ready"
Ports [1, 1]
Position [95, 482, 160, 498]
ForegroundColor "blue"
SourceBlock "allblocks_alteradspbuilder2/AltBus"
SourceType "AltBus AlteraBlockset"
BusType "Single Bit"
bwl "8"
bwr "0"
saturate off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -