📄 am.bdf
字号:
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to occur.
*/
/*
Copyright (C) 1991-2006 Altera Corporation
Your use of Altera Corporation's design tools, logic functions
and other software and tools, and its AMPP partner logic
functions, and any output files any of the foregoing
(including device programming or simulation files), and any
associated documentation or information are expressly subject
to the terms and conditions of the Altera Program License
Subscription Agreement, Altera MegaCore Function License
Agreement, or other applicable license agreement, including,
without limitation, that your use is for the sole purpose of
programming logic devices manufactured by Altera and sold by
Altera or its authorized distributors. Please refer to the
applicable agreement for further details.
*/
(header "graphic" (version "1.3"))
(pin
(input)
(rect -96 128 72 144)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk" (rect 5 0 19 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -96 144 72 160)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "enable" (rect 5 0 36 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 384 48 552 64)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "datai[11..0]" (rect 5 0 60 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -96 296 72 312)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk25" (rect 5 0 30 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -96 312 72 328)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "key" (rect 5 0 23 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(output)
(rect 864 64 1040 80)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "amout[28..0]" (rect 90 0 152 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(symbol
(rect 80 104 176 200)
(text "cnt1000" (rect 5 0 43 12)(font "Arial" ))
(text "inst3" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "en" (rect 0 0 11 12)(font "Arial" ))
(text "en" (rect 21 43 32 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "cq[9..0]" (rect 0 0 37 12)(font "Arial" ))
(text "cq[9..0]" (rect 38 27 75 39)(font "Arial" ))
(line (pt 96 32)(pt 80 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
)
(symbol
(rect 128 272 224 368)
(text "key_delay" (rect 5 0 56 12)(font "Arial" ))
(text "inst1" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "key" (rect 0 0 18 12)(font "Arial" ))
(text "key" (rect 21 43 39 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "keyout" (rect 0 0 34 12)(font "Arial" ))
(text "keyout" (rect 41 27 75 39)(font "Arial" ))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
)
(symbol
(rect 280 256 392 352)
(text "cnt10" (rect 5 0 32 12)(font "Arial" ))
(text "inst" (rect 8 80 25 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "key" (rect 0 0 18 12)(font "Arial" ))
(text "key" (rect 21 43 39 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 112 32)
(output)
(text "cnt[4..0]" (rect 0 0 41 12)(font "Arial" ))
(text "cnt[4..0]" (rect 50 27 91 39)(font "Arial" ))
(line (pt 112 32)(pt 96 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 96 80)(line_width 1))
)
)
(symbol
(rect 208 104 368 184)
(text "amsin" (rect 63 1 104 17)(font "Arial" (font_size 10)))
(text "inst5" (rect 8 64 31 76)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "address[9..0]" (rect 0 0 75 14)(font "Arial" (font_size 8)))
(text "address[9..0]" (rect 20 26 95 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 26 42 55 56)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 160 40)
(output)
(text "q[11..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "q[11..0]" (rect 105 34 147 48)(font "Arial" (font_size 8)))
(line (pt 160 40)(pt 144 40)(line_width 3))
)
(drawing
(line (pt 16 16)(pt 144 16)(line_width 1))
(line (pt 144 16)(pt 144 64)(line_width 1))
(line (pt 144 64)(pt 16 64)(line_width 1))
(line (pt 16 64)(pt 16 16)(line_width 1))
(line (pt 16 42)(pt 22 48)(line_width 1))
(line (pt 22 48)(pt 16 54)(line_width 1))
)
)
(symbol
(rect 416 104 576 200)
(text "lpm_sub5" (rect 52 1 118 17)(font "Arial" (font_size 10)))
(text "inst2" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "dataa[11..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "dataa[11..0]" (rect 4 27 71 41)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 64 40)(line_width 3))
)
(port
(pt 160 56)
(output)
(text "result[11..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "result[11..0]" (rect 100 43 167 57)(font "Arial" (font_size 8)))
(line (pt 160 56)(pt 96 56)(line_width 3))
)
(drawing
(text "2048" (rect 10 59 38 73)(font "Arial" (font_size 8)))
(text "A" (rect 66 34 75 48)(font "Arial" (font_size 8)))
(text "B" (rect 66 66 74 80)(font "Arial" (font_size 8)))
(text "A-B" (rect 75 50 97 64)(font "Arial" (font_size 8)))
(line (pt 64 32)(pt 96 40)(line_width 1))
(line (pt 96 40)(pt 96 72)(line_width 1))
(line (pt 96 72)(pt 64 80)(line_width 1))
(line (pt 64 80)(pt 64 32)(line_width 1))
(line (pt 8 72)(pt 64 72)(line_width 3))
)
)
(symbol
(rect 504 216 672 312)
(text "lpm_mult5" (rect 54 1 124 17)(font "Arial" (font_size 10)))
(text "inst4" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "dataa[11..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "dataa[11..0]" (rect 4 27 71 41)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 72 40)(line_width 3))
)
(port
(pt 0 72)
(input)
(text "datab[4..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "datab[4..0]" (rect 4 59 64 73)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 72 72)(line_width 3))
)
(port
(pt 168 56)
(output)
(text "result[16..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "result[16..0]" (rect 108 43 175 57)(font "Arial" (font_size 8)))
(line (pt 168 56)(pt 104 56)(line_width 3))
)
(drawing
(text "Signed" (rect 105 57 138 69)(font "Arial" ))
(text "multiplication" (rect 105 67 168 79)(font "Arial" ))
(line (pt 82 50)(pt 94 62)(line_width 3))
(line (pt 82 62)(pt 94 50)(line_width 3))
(line (pt 72 40)(pt 77 45)(line_width 3))
(line (pt 72 72)(pt 77 67)(line_width 3))
(circle (rect 72 40 104 72)(line_width 1))
)
)
(symbol
(rect 728 200 888 296)
(text "add1" (rect 66 1 99 17)(font "Arial" (font_size 10)))
(text "inst6" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 72)
(input)
(text "datab[16..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "datab[16..0]" (rect 4 59 71 73)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 64 72)(line_width 3))
)
(port
(pt 160 56)
(output)
(text "result[16..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "result[16..0]" (rect 100 43 167 57)(font "Arial" (font_size 8)))
(line (pt 160 56)(pt 96 56)(line_width 3))
)
(drawing
(text "20480" (rect 10 27 45 41)(font "Arial" (font_size 8)))
(text "A" (rect 66 34 75 48)(font "Arial" (font_size 8)))
(text "B" (rect 66 66 74 80)(font "Arial" (font_size 8)))
(text "A+B" (rect 73 50 97 64)(font "Arial" (font_size 8)))
(line (pt 64 32)(pt 96 40)(line_width 1))
(line (pt 96 40)(pt 96 72)(line_width 1))
(line (pt 96 72)(pt 64 80)(line_width 1))
(line (pt 64 80)(pt 64 32)(line_width 1))
(line (pt 8 40)(pt 64 40)(line_width 3))
)
)
(symbol
(rect 616 16 784 112)
(text "lpm_mult1" (rect 54 1 124 17)(font "Arial" (font_size 10)))
(text "inst7" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "dataa[11..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "dataa[11..0]" (rect 4 27 71 41)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 72 40)(line_width 3))
)
(port
(pt 0 72)
(input)
(text "datab[16..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "datab[16..0]" (rect 4 59 71 73)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 72 72)(line_width 3))
)
(port
(pt 168 56)
(output)
(text "result[28..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "result[28..0]" (rect 108 43 175 57)(font "Arial" (font_size 8)))
(line (pt 168 56)(pt 104 56)(line_width 3))
)
(drawing
(text "Signed" (rect 105 57 138 69)(font "Arial" ))
(text "multiplication" (rect 105 67 168 79)(font "Arial" ))
(line (pt 82 50)(pt 94 62)(line_width 3))
(line (pt 82 62)(pt 94 50)(line_width 3))
(line (pt 72 40)(pt 77 45)(line_width 3))
(line (pt 72 72)(pt 77 67)(line_width 3))
(circle (rect 72 40 104 72)(line_width 1))
)
)
(connector
(pt 72 320)
(pt 128 320)
)
(connector
(pt 72 304)
(pt 128 304)
)
(connector
(text "clk" (rect 256 272 270 284)(font "Arial" ))
(pt 280 288)
(pt 248 288)
)
(connector
(pt 224 304)
(pt 280 304)
)
(connector
(text "cnt[4..0]" (rect 409 272 450 284)(font "Arial" ))
(pt 392 288)
(pt 504 288)
(bus)
)
(connector
(pt 672 272)
(pt 728 272)
(bus)
)
(connector
(text "clk" (rect 187 136 201 148)(font "Arial" ))
(pt 184 152)
(pt 208 152)
)
(connector
(pt 208 136)
(pt 176 136)
(bus)
)
(connector
(text "clk" (rect 158 120 172 132)(font "Arial" ))
(pt 80 136)
(pt 72 136)
)
(connector
(pt 80 152)
(pt 72 152)
)
(connector
(text "datai[11..0]" (rect 560 40 615 52)(font "Arial" ))
(pt 616 56)
(pt 552 56)
(bus)
)
(connector
(text "sin[11..0]" (rect 374 128 420 140)(font "Arial" ))
(pt 416 144)
(pt 368 144)
(bus)
)
(connector
(text "data[11..0]" (rect 584 144 637 156)(font "Arial" ))
(pt 576 160)
(pt 648 160)
(bus)
)
(connector
(text "data[11..0]" (rect 448 240 501 252)(font "Arial" ))
(pt 440 256)
(pt 504 256)
(bus)
)
(connector
(text "mid[16..0]" (rect 898 240 947 252)(font "Arial" ))
(pt 888 256)
(pt 944 256)
(bus)
)
(connector
(text "amout[28..0]" (rect 794 56 856 68)(font "Arial" ))
(pt 784 72)
(pt 864 72)
(bus)
)
(connector
(text "mid[16..0]" (rect 572 72 621 84)(font "Arial" ))
(pt 616 88)
(pt 544 88)
(bus)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -