📄 dds2.mdl
字号:
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "dds2"
Location [2, 78, 1005, 717]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "AltBus"
Description "Sign Binary Fractionnal"
Ports [1, 1]
Position [70, 477, 135, 493]
ForegroundColor "blue"
FontSize 10
SourceBlock "bus_alteradspbuilder/AltBus"
SourceType "AltBus AlteraBlockSet"
sgn "Signed Integer"
nodetype "Input Port"
bwl "10"
bwr "0"
sat off
rnd off
bp off
mask_cst "0"
LocPin "any"
cst "0"
modulename "AltBus"
ppat "F:\\DSPBuilder\\dds2\\DSPBuilder_dds2"
nSgCpl "1"
}
Block {
BlockType Constant
Name "Constant"
Position [30, 30, 60, 60]
Value "0"
}
Block {
BlockType Constant
Name "Constant1"
Position [15, 182, 75, 218]
Value "2000000"
}
Block {
BlockType Constant
Name "Constant2"
Position [20, 470, 50, 500]
Value "124"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [900, 324, 930, 356]
Location [5, 56, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
}
Block {
BlockType Reference
Name "SignalCompiler"
Ports []
Position [189, 613, 258, 660]
ForegroundColor "blue"
FontSize 10
SourceBlock "ALTELINK/AltLab/SignalCompiler"
SourceType "SignalCompiler"
family "Stratix"
opt "Speed"
synthtool "Others"
vstim on
SynthAct "None"
workdir "F:\\DSPBuilder\\dds2"
Procetype "prod"
UseReset on
ResetPin "Active High"
ClockPin "Output to Pin"
ClockPeriod "20"
UseSignalTap off
CreatePtfFile off
SignalTapDepth "128"
VerilogSupport off
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [3, 1]
Position [455, 185, 495, 245]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem"
Location [97, 120, 857, 467]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [360, 55, 390, 69]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [25, 155, 55, 169]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In3"
Position [415, 305, 445, 319]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "AltBus1"
Description "Sign Binary Fractionnal"
Ports [1, 1]
Position [295, 92, 360, 108]
ForegroundColor "blue"
FontSize 10
SourceBlock "bus_alteradspbuilder/AltBus"
SourceType "AltBus AlteraBlockSet"
sgn "Signed Integer"
nodetype "Internal Node"
bwl "32"
bwr "0"
sat off
rnd off
bp off
mask_cst "0"
LocPin "any"
cst "0"
modulename "AltBus1"
ppat "F:\\DSPBuilder\\dds2\\DSPBuilder_dds2"
nSgCpl "0"
}
Block {
BlockType Reference
Name "BusConversion"
Ports [1, 1]
Position [160, 276, 235, 294]
ForegroundColor "blue"
FontSize 10
SourceBlock "bus_alteradspbuilder/BusConversion"
SourceType "SubBus Altera BlockSet"
Inputs "Signed Integer"
bwl "32"
bwr "8"
Outputs "Signed Integer"
obwl "10"
obwr "8"
msb "31"
lsb "22"
rnd on
sat off
}
Block {
BlockType Reference
Name "BusConversion1"
Ports [1, 1]
Position [605, 291, 680, 309]
ForegroundColor "blue"
FontSize 10
SourceBlock "bus_alteradspbuilder/BusConversion"
SourceType "SubBus Altera BlockSet"
Inputs "Signed Integer"
bwl "20"
bwr "8"
Outputs "Signed Integer"
obwl "10"
obwr "8"
msb "18"
lsb "9"
rnd on
sat on
}
Block {
BlockType Reference
Name "Delay"
Ports [1, 1]
Position [80, 135, 125, 185]
ForegroundColor "blue"
FontSize 10
SourceBlock "store_alteradspbuilder/Delay"
SourceType "Delay AlteraBlockSet"
depth "1"
clken off
MaskValue "1"
}
Block {
BlockType Reference
Name "LUT"
Ports [1, 1]
Position [295, 263, 380, 307]
ForegroundColor "blue"
FontSize 10
SourceBlock "gate_alteradspbuilder/LUT"
SourceType "LUT AlteraBlockSet"
BusType "Signed Integer"
bwl "10"
bwr "0"
bwaddr "10"
MatlabArray "511*sin( [0:2*pi/(2^10):2*pi] )"
LocPin "dds2_Subsystem_LUT"
lpm off
modulename "F:\\DSPBuilder\\dds2\\DSPBuilder_dds2\\dds2"
"_Subsystem_LUT.lut"
pipeline off
IslibDir "0"
}
Block {
BlockType Reference
Name "Parallel \nAdder Subtractor"
Ports [2, 1]
Position [220, 62, 255, 138]
ForegroundColor "blue"
FontSize 10
SourceBlock "arithm_alteradspbuilder/Parallel \nAdder Su"
"btractor"
SourceType "Sum AlteraBlockSet"
Inputs "2"
direction "++"
pipeline on
clken off
MaskValue "1"
}
Block {
BlockType Reference
Name "Parallel \nAdder Subtractor1"
Ports [2, 1]
Position [415, 42, 450, 118]
ForegroundColor "blue"
FontSize 10
SourceBlock "arithm_alteradspbuilder/Parallel \nAdder Su"
"btractor"
SourceType "Sum AlteraBlockSet"
Inputs "2"
direction "++"
pipeline on
clken off
MaskValue "1"
}
Block {
BlockType Reference
Name "Product"
Ports [2, 1]
Position [470, 273, 535, 322]
ForegroundColor "blue"
FontSize 10
SourceBlock "arithm_alteradspbuilder/Product"
SourceType "Product Altera BlockSet"
pipeline "2"
lpm off
eab off
clken off
MaskValue "1"
}
Block {
BlockType Outport
Name "Out1"
Position [705, 295, 735, 309]
IconDisplay "Port number"
}
Line {
SrcBlock "Parallel \nAdder Subtractor"
SrcPort 1
DstBlock "AltBus1"
DstPort 1
}
Line {
SrcBlock "Delay"
SrcPort 1
Points [35, 0; 0, -40]
DstBlock "Parallel \nAdder Subtractor"
DstPort 2
}
Line {
SrcBlock "AltBus1"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [30, 0]
DstBlock "Parallel \nAdder Subtractor1"
DstPort 2
}
Branch {
Points [0, -70; -195, 0; 0, 50]
DstBlock "Parallel \nAdder Subtractor"
DstPort 1
}
}
Line {
SrcBlock "Parallel \nAdder Subtractor1"
SrcPort 1
Points [155, 0; 0, 160; -515, 0; 0, 45]
DstBlock "BusConversion"
DstPort 1
}
Line {
SrcBlock "BusConversion"
SrcPort 1
DstBlock "LUT"
DstPort 1
}
Line {
SrcBlock "LUT"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "BusConversion1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Parallel \nAdder Subtractor1"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Delay"
DstPort 1
}
Line {
SrcBlock "BusConversion1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In3"
SrcPort 1
DstBlock "Product"
DstPort 2
}
}
}
Block {
BlockType Reference
Name "ddsout"
Description "Sign Binary Fractionnal"
Ports [1, 1]
Position [800, 332, 865, 348]
ForegroundColor "blue"
FontSize 10
SourceBlock "bus_alteradspbuilder/AltBus"
SourceType "AltBus AlteraBlockSet"
sgn "Signed Integer"
nodetype "Output Port"
bwl "10"
bwr "0"
sat off
rnd off
bp off
mask_cst "0"
LocPin "any"
cst "0"
modulename "ddsout"
ppat "F:\\DSPBuilder\\dds2\\DSPBuilder_dds2"
nSgCpl "1"
}
Block {
BlockType Reference
Name "freqword"
Description "Sign Binary Fractionnal"
Ports [1, 1]
Position [85, 192, 150, 208]
ForegroundColor "blue"
FontSize 10
SourceBlock "bus_alteradspbuilder/AltBus"
SourceType "AltBus AlteraBlockSet"
sgn "Signed Integer"
nodetype "Input Port"
bwl "32"
bwr "0"
sat off
rnd off
bp off
mask_cst "0"
LocPin "any"
cst "0"
modulename "freqword"
ppat "F:\\DSPBuilder\\dds2\\DSPBuilder_dds2"
nSgCpl "1"
}
Block {
BlockType Reference
Name "phaseword"
Description "Sign Binary Fractionnal"
Ports [1, 1]
Position [75, 37, 140, 53]
ForegroundColor "blue"
FontSize 10
SourceBlock "bus_alteradspbuilder/AltBus"
SourceType "AltBus AlteraBlockSet"
sgn "Signed Integer"
nodetype "Input Port"
bwl "16"
bwr "0"
sat off
rnd off
bp off
mask_cst "0"
LocPin "any"
cst "0"
modulename "phaseword"
ppat "F:\\DSPBuilder\\dds2\\DSPBuilder_dds2"
nSgCpl "1"
}
Line {
SrcBlock "phaseword"
SrcPort 1
Points [290, 0; 0, 150]
DstBlock "Subsystem"
DstPort 1
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [0, 125]
DstBlock "ddsout"
DstPort 1
}
Line {
SrcBlock "AltBus"
SrcPort 1
Points [405, 0; 0, -250]
DstBlock "Subsystem"
DstPort 3
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "phaseword"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
DstBlock "freqword"
DstPort 1
}
Line {
SrcBlock "freqword"
SrcPort 1
Points [285, 0]
DstBlock "Subsystem"
DstPort 2
}
Line {
SrcBlock "ddsout"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
DstBlock "AltBus"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -