📄 psk_demoden.mdl
字号:
sgn "Single Bit"
nodetype "Input Port"
bwl "1"
bwr "0"
sat off
rnd off
bp off
mask_cst "0"
LocPin "any"
cst "0"
modulename "Input"
ppat "d:\\matlab6p5\\work\\fsk\\DSPBuilder_fsk_moden"
nSgCpl "0"
}
Block {
BlockType Reference
Name "LUT"
Ports [1, 1]
Position [380, 170, 470, 210]
ForegroundColor "blue"
SourceBlock "gate_alteradspbuilder/LUT"
SourceType "LUT AlteraBlockSet"
BusType "Signed Integer"
bwl "8"
bwr "0"
bwaddr "8"
MatlabArray "127*sin( [0:2*pi/(2^8):2*pi] )"
LocPin "psk_demodenLUT"
lpm on
modulename "c:\\documents and settings\\oldslam\\桌面\\dsp_"
"homework\\psk\\DSPBuilder_psk_demoden\\psk_demodenLUT.lut"
pipeline off
IslibDir "0"
clken off
}
Block {
BlockType Reference
Name "LUT1"
Ports [1, 1]
Position [380, 60, 470, 100]
ForegroundColor "blue"
SourceBlock "gate_alteradspbuilder/LUT"
SourceType "LUT AlteraBlockSet"
BusType "Signed Integer"
bwl "8"
bwr "0"
bwaddr "8"
MatlabArray "-127*sin( [0:2*pi/(2^8):2*pi] )"
LocPin "psk_demodenLUT1"
lpm on
modulename "c:\\documents and settings\\oldslam\\桌面\\dsp_"
"homework\\psk\\DSPBuilder_psk_demoden\\psk_demodenLUT1.lut"
pipeline off
IslibDir "0"
clken off
}
Block {
BlockType Reference
Name "LUT2"
Ports [1, 1]
Position [210, 285, 300, 325]
ForegroundColor "blue"
SourceBlock "gate_alteradspbuilder/LUT"
SourceType "LUT AlteraBlockSet"
BusType "Signed Integer"
bwl "8"
bwr "0"
bwaddr "8"
MatlabArray "127*sin( [0:2*pi/(2^8):2*pi] )"
LocPin "psk_demodenLUT2"
lpm on
modulename "c:\\documents and settings\\oldslam\\桌面\\dsp_"
"homework\\psk\\DSPBuilder_psk_demoden\\psk_demodenLUT2.lut"
pipeline off
IslibDir "0"
clken off
}
Block {
BlockType Reference
Name "NOT"
Ports [1, 1]
Position [220, 62, 260, 78]
ForegroundColor "blue"
SourceBlock "gate_alteradspbuilder/NOT"
SourceType "LogiBit AlteraBlockSet"
Operator "NOT"
Inputs "2"
}
Block {
BlockType Reference
Name "Output1"
Description "Sign Binary Fractionnal"
Ports [1, 1]
Position [610, 122, 675, 138]
ForegroundColor "blue"
SourceBlock "bus_alteradspbuilder/Output"
SourceType "AltBus AlteraBlockSet"
sgn "Signed Integer"
nodetype "Output Port"
bwl "8"
bwr "0"
sat off
rnd off
bp off
mask_cst "0"
LocPin "any"
cst "0"
modulename "Output"
nSgCpl "0"
}
Block {
BlockType Reference
Name "Parallel \nAdder Subtractor"
Ports [2, 1]
Position [530, 92, 565, 168]
ForegroundColor "blue"
SourceBlock "arithm_alteradspbuilder/Parallel \nAdder Subtra"
"ctor"
SourceType "Sum AlteraBlockSet"
Inputs "2"
direction "++"
pipeline on
clken off
MaskValue "1"
}
Block {
BlockType Reference
Name "Parallel \nAdder Subtractor1"
Ports [2, 1]
Position [610, 277, 645, 353]
ForegroundColor "blue"
FontSize 10
SourceBlock "arithm_alteradspbuilder/Parallel \nAdder Subtra"
"ctor"
SourceType "Sum AlteraBlockSet"
Inputs "2"
direction "++"
pipeline on
clken off
MaskValue "1"
}
Block {
BlockType Reference
Name "Product"
Ports [2, 1]
Position [390, 268, 455, 317]
ForegroundColor "blue"
SourceBlock "arithm_alteradspbuilder/Product"
SourceType "Product Altera BlockSet"
pipeline "0"
lpm off
eab off
clken off
MaskValue "1"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Position [30, 118, 75, 152]
PulseType "Time based"
Period "1024"
PulseWidth "50"
}
Block {
BlockType Scope
Name "Scope"
Ports [4]
Position [815, 102, 880, 203]
Location [5, 60, 1029, 741]
Open off
NumInputPorts "4"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
YMin "-5~-5~-5~-5"
YMax "5~5~5~5"
DataFormat "StructureWithTime"
}
Line {
SrcBlock "Increment\nDecrement"
SrcPort 1
DstBlock "LUT"
DstPort 1
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
DstBlock "Input"
DstPort 1
}
Line {
SrcBlock "Input"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, 45]
DstBlock "Increment\nDecrement"
DstPort 1
}
Branch {
Points [0, -20]
Branch {
Points [0, -45]
DstBlock "NOT"
DstPort 1
}
Branch {
DstBlock "Scope"
DstPort 1
}
}
}
Line {
SrcBlock "GND"
SrcPort 1
DstBlock "Increment\nDecrement"
DstPort 2
}
Line {
SrcBlock "Increment\nDecrement1"
SrcPort 1
DstBlock "LUT1"
DstPort 1
}
Line {
SrcBlock "LUT1"
SrcPort 1
Points [25, 0; 0, 30]
DstBlock "Parallel \nAdder Subtractor"
DstPort 1
}
Line {
SrcBlock "NOT"
SrcPort 1
DstBlock "Increment\nDecrement1"
DstPort 1
}
Line {
SrcBlock "GND1"
SrcPort 1
DstBlock "Increment\nDecrement1"
DstPort 2
}
Line {
SrcBlock "LUT"
SrcPort 1
Points [25, 0; 0, -40]
DstBlock "Parallel \nAdder Subtractor"
DstPort 2
}
Line {
SrcBlock "Parallel \nAdder Subtractor"
SrcPort 1
DstBlock "Output1"
DstPort 1
}
Line {
SrcBlock "Output1"
SrcPort 1
Points [10, 0; 0, 10]
Branch {
Points [0, 95; -350, 0; 0, 45]
DstBlock "Product"
DstPort 1
}
Branch {
DstBlock "Scope"
DstPort 2
}
}
Line {
SrcBlock "Increment\nDecrement2"
SrcPort 1
DstBlock "LUT2"
DstPort 1
}
Line {
SrcBlock "LUT2"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "GND2"
SrcPort 1
DstBlock "Comparator"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [55, 0]
Branch {
DstBlock "Parallel \nAdder Subtractor1"
DstPort 1
}
Branch {
Points [0, 0]
Branch {
Points [0, -40; 50, 0; 0, -90]
DstBlock "Scope"
DstPort 3
}
Branch {
DstBlock "Delay"
DstPort 1
}
}
}
Line {
SrcBlock "Comparator"
SrcPort 1
Points [20, 0; 0, -120]
DstBlock "Scope"
DstPort 4
}
Line {
SrcBlock "Delay"
SrcPort 1
DstBlock "Parallel \nAdder Subtractor1"
DstPort 2
}
Line {
SrcBlock "Parallel \nAdder Subtractor1"
SrcPort 1
Points [30, 0; 0, -15]
DstBlock "Comparator"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -