📄 altrfir32.mdl
字号:
SourceType "AltBus AlteraBlockSet"
sgn "Signed Integer"
nodetype "Output Port"
bwl "20"
bwr "8"
sat off
rnd off
bp off
mask_cst "0"
LocPin "any"
cst "0"
modulename "res"
nSgCpl "0"
}
Block {
BlockType Outport
Name "Out[19:0]"
Position [790, 238, 820, 252]
ForegroundColor "blue"
}
Line {
SrcBlock "In[10:0]"
SrcPort 1
DstBlock "AltBus"
DstPort 1
}
Line {
SrcBlock "In1[10:0]"
SrcPort 1
DstBlock "AltBus1"
DstPort 1
}
Line {
SrcBlock "AltBus1"
SrcPort 1
Points [15, 0; 0, 15]
DstBlock "Pipelined Adder"
DstPort 1
}
Line {
SrcBlock "AltBus"
SrcPort 1
Points [10, 0; 0, -10]
DstBlock "Pipelined Adder"
DstPort 2
}
Line {
SrcBlock "In2[12:0]"
SrcPort 1
DstBlock "AltBus2"
DstPort 1
}
Line {
SrcBlock "In3[12:0]"
SrcPort 1
DstBlock "AltBus3"
DstPort 1
}
Line {
SrcBlock "In4[16:0]"
SrcPort 1
DstBlock "AltBus4"
DstPort 1
}
Line {
SrcBlock "In5[16:0]"
SrcPort 1
DstBlock "AltBus5"
DstPort 1
}
Line {
SrcBlock "AltBus4"
SrcPort 1
Points [5, 0; 0, 10]
DstBlock "Pipelined Adder2"
DstPort 1
}
Line {
SrcBlock "AltBus5"
SrcPort 1
Points [5, 0; 0, -20]
DstBlock "Pipelined Adder2"
DstPort 2
}
Line {
SrcBlock "AltBus2"
SrcPort 1
Points [20, 0; 0, 15]
DstBlock "Pipelined Adder1"
DstPort 1
}
Line {
SrcBlock "AltBus3"
SrcPort 1
Points [15, 0; 0, -25]
DstBlock "Pipelined Adder1"
DstPort 2
}
Line {
SrcBlock "Pipelined Adder"
SrcPort 1
Points [65, 0; 0, 155]
DstBlock "Parallel \nAdder Subtractor"
DstPort 1
}
Line {
SrcBlock "Pipelined Adder1"
SrcPort 1
Points [50, 0; 0, 30]
DstBlock "Parallel \nAdder Subtractor"
DstPort 2
}
Line {
SrcBlock "Pipelined Adder2"
SrcPort 1
Points [65, 0; 0, -105]
DstBlock "Parallel \nAdder Subtractor"
DstPort 3
}
Line {
SrcBlock "Parallel \nAdder Subtractor"
SrcPort 1
DstBlock "res"
DstPort 1
}
Line {
SrcBlock "res"
SrcPort 1
DstBlock "Out[19:0]"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Pattern"
Ports [2, 1]
Position [270, 212, 350, 228]
ForegroundColor "blue"
SourceBlock "store_alteradspbuilder/Pattern"
SourceType "Synchronizer Altera BlockSet"
MaskValue "10000000"
clken on
ntsamp "-1"
}
Block {
BlockType Reference
Name "Power Spectral\nDensity"
Ports [1]
Position [1275, 495, 1305, 525]
SourceBlock "simulink_extras/Additional\nSinks/Power Spectra"
"l\nDensity"
SourceType "Power Spectral Density"
npts "256"
fftpts "1024"
HowOften "64"
sampleT "8"
}
Block {
BlockType RandomNumber
Name "Random\nNumber"
Position [25, 155, 55, 185]
Variance "50"
SampleTime "1"
}
Block {
BlockType SubSystem
Name "Scaling Accumulator"
Ports [2, 1]
Position [1020, 427, 1095, 478]
ForegroundColor "blue"
AncestorBlock "ALTELINK/AltLab/HDL SubSystem"
TreatAsAtomicUnit off
MaskType "SubSystem AlteraBlockSet"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Scaling Accumulator"
Location [-9, 275, 1517, 736]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "114"
Block {
BlockType Inport
Name "In[19:0]"
Position [15, 153, 45, 167]
ForegroundColor "blue"
}
Block {
BlockType Inport
Name "clr"
Position [15, 298, 45, 312]
ForegroundColor "blue"
Port "2"
}
Block {
BlockType Reference
Name "Adder"
Ports [4, 2]
Position [510, 121, 605, 169]
ForegroundColor "blue"
SourceBlock "arithm_alteradspbuilder/Pipelined Adder"
SourceType "HDLEntity AlteraBlockSet"
BusType "Signed Integer"
bwl "21"
bwr "0"
pipeline "0"
UseControlInputs on
HDLInputPortsMappingAltera "dataa.21.0.s,datab.21.0.s,cin.1.0.b,add_"
"sub.1.0.b"
HDLOutputPortsMappingAltera "cout.1.0.b,result.21.0.s"
HDLImplicitPortsMappingAltera "clock.clock,clken.VCC,sclr.GND"
HDLParameterMappingAltera "width.21.positive,pipeline.0.natural"
HDLLibraryInformationAltera "library dspbuilder;use dspbuilder.dspbu"
"ilderblock.all;"
HDLComponentNameAltera "sLpmAddSub"
}
Block {
BlockType Reference
Name "AltBus"
Description "Sign Binary Fractionnal"
Ports [1, 1]
Position [75, 152, 140, 168]
ForegroundColor "blue"
SourceBlock "bus_alteradspbuilder/AltBus"
SourceType "AltBus AlteraBlockSet"
sgn "Signed Integer"
nodetype "Input Port"
bwl "20"
bwr "8"
sat off
rnd off
bp off
mask_cst "0"
LocPin "any"
cst "0"
modulename "AltBus"
nSgCpl "0"
}
Block {
BlockType Reference
Name "BusBuild"
Ports [2, 1]
Position [235, 174, 270, 221]
ForegroundColor "blue"
ShowName off
SourceBlock "bus_alteradspbuilder/BusBuild"
SourceType "BuildBus AlteraBlockSet"
BusType "Signed Integer"
bwl "2"
bwr "2"
}
Block {
BlockType Reference
Name "BusConcatenation"
Ports [2, 1]
Position [845, 216, 930, 254]
ForegroundColor "blue"
ShowName off
SourceBlock "bus_alteradspbuilder/BusConcatenation"
SourceType "Bus Concatenation AlteraBlockSet"
bwl "20"
bwr "8"
blean on
}
Block {
BlockType Reference
Name "Delay"
Ports [1, 1]
Position [640, 129, 670, 191]
ForegroundColor "blue"
SourceBlock "store_alteradspbuilder/Delay"
SourceType "Delay AlteraBlockSet"
depth "1"
clken off
MaskValue "1"
}
Block {
BlockType Reference
Name "Delay4"
Ports [3, 1]
Position [1125, 224, 1155, 286]
ForegroundColor "blue"
SourceBlock "store_alteradspbuilder/Delay"
SourceType "Delay AlteraBlockSet"
depth "1"
clken on
MaskValue "1"
}
Block {
BlockType Reference
Name "ExtractBit"
Ports [1, 1]
Position [640, 213, 695, 237]
ForegroundColor "blue"
SourceBlock "bus_alteradspbuilder/ExtractBit"
SourceType "ExtractBit AlteraBlockSet"
bwl "21"
bwr "0"
Outputs "0"
}
Block {
BlockType From
Name "From"
Position [230, 75, 300, 95]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "FeedBack"
}
Block {
BlockType From
Name "From1"
Position [1060, 245, 1110, 265]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Sync"
}
Block {
BlockType From
Name "From2"
Position [230, 50, 285, 70]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Sync"
}
Block {
BlockType Reference
Name "GND"
Ports [0, 1]
Position [715, 257, 735, 273]
ForegroundColor "blue"
ShowName off
SourceBlock "bus_alteradspbuilder/GND"
SourceType "SGND AlteraBlockSet"
ncstsamp "FirSamplingPeriod"
}
Block {
BlockType Reference
Name "GND1"
Ports [0, 1]
Position [1085, 267, 1105, 283]
ForegroundColor "blue"
ShowName off
SourceBlock "bus_alteradspbuilder/GND"
SourceType "SGND AlteraBlockSet"
ncstsamp "FirSamplingPeriod"
}
Block {
BlockType Reference
Name "GND2"
Ports [0, 1]
Position [300, 102, 320, 118]
ForegroundColor "blue"
ShowName off
SourceBlock "bus_alteradspbuilder/GND"
SourceType "SGND AlteraBlockSet"
ncstsamp "FirSamplingPeriod"
}
Block {
BlockType Goto
Name "Goto"
Position [855, 151, 940, 169]
ShowName off
GotoTag "FeedBack"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto1"
Position [305, 296, 360, 314]
ShowName off
GotoTag "Sync"
TagVisibility "local"
}
Block {
BlockType Reference
Name "Inverse Last\nPartial Product"
Ports [2, 1]
Position [315, 152, 400, 183]
ForegroundColor "blue"
SourceBlock "gate_alteradspbuilder/Bitwise Logical \nBus"
" Operator "
SourceType "HDLEntity AlteraBlockSet"
BusType "Signed Integer"
bwl "20"
bwr "0"
LogicalOperator "XOR"
HDLInputPortsMappingAltera "dataa.20.0.s,datab.20.0.s"
HDLOutputPortsMappingAltera "result.20.0.s"
HDLImplicitPortsMappingAltera "NOIMPLICITINPUT"
HDLParameterMappingAltera "Lop.AltXOR.LogicalOperator,lpm_width.20.p"
"ositive"
HDLLibraryInformationAltera "library dspbuilder;use dspbuilder.dspbu"
"ilderblock.all;"
HDLComponentNameAltera "sBitWiseBusOpaltr"
}
Block {
BlockType Reference
Name "Output Resolution\nArea of Interrest"
Ports [1, 1]
Position [970, 225, 1035, 245]
ForegroundColor "blue"
SourceBlock "bus_alteradspbuilder/Round"
SourceType "HDLEntity AlteraBlockSet"
BusType "Signed Integer"
bwl "28"
bwr "0"
altrlsb "17"
RoundTypeAltr "Truncate"
PipelineAltr off
HDLInputPortsMappingAltera "xin.28.0.s"
HDLOutputPortsMappingAltera "yout.11.0.s"
HDLImplicitPortsMappingAltera "clock.VCC, sclr.GND"
HDLParameterMappingAltera "widthin.28.natural,widthout.11.natural,br"
"ound.0.natural,lpm_representation.\"SIGNED\".natural,pipeline.0.string"
HDLLibraryInformationAltera "library dspbuilder;use dspbuilder.dspbu"
"ilderblock.all;"
HDLComponentNameAltera "sRounderAltr"
}
Block {
BlockType Reference
Name "Pipeline \nDelay"
Ports [1, 1]
Position [170, 141, 190, 179]
ForegroundColor "blue"
SourceBlock "store_alteradspbuilder/Delay"
SourceType "Delay AlteraBlockSet"
depth "1"
clken off
MaskValue "1"
}
Block {
BlockType Reference
Name "Reset On\nLast Partial Product"
Ports [3, 1]
Position [340, 48, 375, 122]
ForegroundColor "blue"
SourceBlock "gate_alteradspbuilder/n-to-1 Multiplexer"
SourceType "MultipleBusMuxAlteraBlockSet"
Inputs "2"
BusType off
bwaddr "1"
}
Block {
BlockType Reference
Name "Serial To Parallel"
Ports [3, 1]
Position [755, 214, 805, 276]
ForegroundColor "blue"
SourceBlock "store_alteradspbuilder/Serial To Parallel"
SourceType "Ser2Par AlteraBlockSet"
BusType "Unsigned Integer"
bwl "8"
bwr "0"
direction "LSB First"
}
Block {
BlockType Reference
Name "Shift by Two"
Ports [1, 1]
Position [730, 151, 805, 169]
ForegroundColor "blue"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -