📄 block1.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 64 152 232 168)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "xa[7..0]" (rect 5 0 42 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 64 184 232 200)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "xb[7..0]" (rect 5 0 42 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 64 32 232 48)
(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 64 48 232 64)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "start" (rect 5 0 27 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 968 168 1144 184)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "q[15..0]" (rect 90 0 127 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))
)
)
(pin
(output)
(rect 400 -24 576 -8)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "clr" (rect 90 0 101 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))
)
)
(pin
(output)
(rect 400 -8 576 8)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "addclk" (rect 90 0 121 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))
)
)
(pin
(output)
(rect 400 8 576 24)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "OE" (rect 90 0 105 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 256 8 352 104)
(text "logic_control" (rect 5 0 66 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 "start" (rect 0 0 22 12)(font "Arial" ))
(text "start" (rect 21 43 43 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "clr" (rect 0 0 11 12)(font "Arial" ))
(text "clr" (rect 64 27 75 39)(font "Arial" ))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(port
(pt 96 48)
(output)
(text "addclk" (rect 0 0 31 12)(font "Arial" ))
(text "addclk" (rect 44 43 75 55)(font "Arial" ))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(port
(pt 96 64)
(output)
(text "OE" (rect 0 0 15 12)(font "Arial" ))
(text "OE" (rect 60 59 75 71)(font "Arial" ))
(line (pt 96 64)(pt 80 64)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
)
(symbol
(rect 256 120 424 216)
(text "lpm_mult0" (rect 54 1 124 17)(font "Arial" (font_size 10)))
(text "inst1" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "dataa[7..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "dataa[7..0]" (rect 4 27 64 41)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 72 40)(line_width 3))
)
(port
(pt 0 72)
(input)
(text "datab[7..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "datab[7..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[15..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "result[15..0]" (rect 108 43 175 57)(font "Arial" (font_size 8)))
(line (pt 168 56)(pt 104 56)(line_width 3))
)
(drawing
(text "Unsigned" (rect 105 57 151 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 640 136 784 232)
(text "lpm_dff5" (rect 48 79 104 95)(font "Arial" (font_size 10)))
(text "inst10" (rect 8 4 37 16)(font "Arial" ))
(port
(pt 0 64)
(input)
(text "sclr" (rect 0 0 21 14)(font "Arial" (font_size 8)))
(text "sclr" (rect 20 56 41 70)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "data[15..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "data[15..0]" (rect 20 40 80 54)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 32)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 26 24 55 38)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 144 40)
(output)
(text "q[15..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "q[15..0]" (rect 89 32 131 46)(font "Arial" (font_size 8)))
(line (pt 144 40)(pt 128 40)(line_width 3))
)
(drawing
(text "DFF" (rect 109 67 131 79)(font "Arial" ))
(line (pt 16 80)(pt 128 80)(line_width 1))
(line (pt 128 80)(pt 128 16)(line_width 1))
(line (pt 128 16)(pt 16 16)(line_width 1))
(line (pt 16 16)(pt 16 80)(line_width 1))
(line (pt 16 38)(pt 22 32)(line_width 1))
(line (pt 22 32)(pt 16 26)(line_width 1))
)
(flipx)
)
(symbol
(rect 448 136 608 232)
(text "lpm_add_sub0" (rect 38 1 137 17)(font "Arial" (font_size 10)))
(text "inst11" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "dataa[15..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "dataa[15..0]" (rect 4 27 71 41)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 64 40)(line_width 3))
)
(port
(pt 0 72)
(input)
(text "datab[15..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "datab[15..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[15..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "result[15..0]" (rect 100 43 167 57)(font "Arial" (font_size 8)))
(line (pt 160 56)(pt 96 56)(line_width 3))
)
(drawing
(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))
)
)
(symbol
(rect 800 112 960 208)
(text "rightshift" (rect 5 84 48 96)(font "Arial" ))
(text "inst12" (rect 8 4 37 16)(font "Arial" ))
(port
(pt 0 64)
(input)
(text "Din[15..0]" (rect 0 0 48 12)(font "Arial" ))
(text "Din[15..0]" (rect 21 57 69 69)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 41 35 53)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 160 64)
(output)
(text "Dout[15..0]" (rect 0 0 55 12)(font "Arial" ))
(text "Dout[15..0]" (rect 84 57 139 69)(font "Arial" ))
(line (pt 160 64)(pt 144 64)(line_width 3))
)
(drawing
(rectangle (rect 16 16 144 80)(line_width 1))
)
(flipx)
)
(connector
(pt 232 160)
(pt 256 160)
(bus)
)
(connector
(pt 232 192)
(pt 256 192)
(bus)
)
(connector
(pt 424 176)
(pt 448 176)
(bus)
)
(connector
(pt 440 208)
(pt 448 208)
(bus)
)
(connector
(pt 640 168)
(pt 616 168)
)
(connector
(pt 616 192)
(pt 616 184)
(bus)
)
(connector
(pt 608 192)
(pt 616 192)
(bus)
)
(connector
(pt 616 184)
(pt 640 184)
(bus)
)
(connector
(pt 640 200)
(pt 624 200)
)
(connector
(pt 440 208)
(pt 440 240)
(bus)
)
(connector
(pt 616 168)
(pt 616 56)
)
(connector
(pt 624 200)
(pt 624 40)
)
(connector
(pt 232 40)
(pt 256 40)
)
(connector
(pt 232 56)
(pt 256 56)
)
(connector
(pt 400 -16)
(pt 360 -16)
)
(connector
(pt 360 -16)
(pt 360 40)
)
(connector
(pt 352 40)
(pt 360 40)
)
(connector
(pt 400 0)
(pt 376 0)
)
(connector
(pt 400 16)
(pt 392 16)
)
(connector
(pt 392 16)
(pt 392 72)
)
(connector
(pt 360 40)
(pt 624 40)
)
(connector
(pt 376 0)
(pt 376 56)
)
(connector
(pt 352 56)
(pt 376 56)
)
(connector
(pt 376 56)
(pt 616 56)
)
(connector
(pt 440 240)
(pt 792 240)
(bus)
)
(connector
(pt 792 176)
(pt 792 240)
(bus)
)
(connector
(pt 352 72)
(pt 392 72)
)
(connector
(pt 392 72)
(pt 792 72)
)
(connector
(pt 792 72)
(pt 792 160)
)
(connector
(pt 792 160)
(pt 800 160)
)
(connector
(pt 784 176)
(pt 792 176)
(bus)
)
(connector
(pt 792 176)
(pt 800 176)
(bus)
)
(connector
(pt 960 176)
(pt 968 176)
(bus)
)
(junction (pt 360 40))
(junction (pt 392 72))
(junction (pt 376 56))
(junction (pt 792 176))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -