📄 timepiece_main.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 -112 304 64 320)
(text "INPUT" (rect 141 0 169 10)(font "Arial" (font_size 6)))
(text "Timepiece_EN" (rect 5 0 95 15)(font "Times New Roman" (font_size 10)))
(pt 176 8)
(drawing
(line (pt 100 12)(pt 125 12)(line_width 1))
(line (pt 100 4)(pt 125 4)(line_width 1))
(line (pt 129 8)(pt 176 8)(line_width 1))
(line (pt 100 12)(pt 100 4)(line_width 1))
(line (pt 125 4)(pt 129 8)(line_width 1))
(line (pt 125 12)(pt 129 8)(line_width 1))
)
(text "VCC" (rect 144 7 164 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -104 320 64 336)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CLK" (rect 5 0 33 15)(font "Times New Roman" (font_size 10)))
(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 808 104 984 120)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "day_EN" (rect 90 0 140 15)(font "Times New Roman" (font_size 10)))
(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 632 192 808 208)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "minute1[3..0]" (rect 90 0 170 15)(font "Times New Roman" (font_size 10)))
(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 632 208 808 224)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "minute0[3..0]" (rect 90 0 170 15)(font "Times New Roman" (font_size 10)))
(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 504 304 682 320)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "second1[3..0]" (rect 90 0 173 15)(font "Times New Roman" (font_size 10)))
(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 504 320 682 336)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "second0[3..0]" (rect 90 0 173 15)(font "Times New Roman" (font_size 10)))
(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 808 72 984 88)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "hour1[3..0]" (rect 90 0 157 15)(font "Times New Roman" (font_size 10)))
(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 808 88 984 104)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "hour0[3..0]" (rect 90 0 157 15)(font "Times New Roman" (font_size 10)))
(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 560 48 712 144)
(text "hour_counter" (rect 5 0 68 12)(font "Arial" ))
(text "inst" (rect 8 80 31 95)(font "Times New Roman" (font_size 10)))
(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 15 12)(font "Arial" ))
(text "EN" (rect 21 43 36 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 152 32)
(output)
(text "hour_data1[3..0]" (rect 0 0 80 12)(font "Arial" ))
(text "hour_data1[3..0]" (rect 51 27 131 39)(font "Arial" ))
(line (pt 152 32)(pt 136 32)(line_width 3))
)
(port
(pt 152 48)
(output)
(text "hour_data0[3..0]" (rect 0 0 80 12)(font "Arial" ))
(text "hour_data0[3..0]" (rect 51 43 131 55)(font "Arial" ))
(line (pt 152 48)(pt 136 48)(line_width 3))
)
(port
(pt 152 64)
(output)
(text "EO" (rect 0 0 15 12)(font "Arial" ))
(text "EO" (rect 116 59 131 71)(font "Arial" ))
(line (pt 152 64)(pt 136 64)(line_width 1))
)
(drawing
(rectangle (rect 16 16 136 80)(line_width 1))
)
)
(symbol
(rect 360 168 520 264)
(text "minute_counter" (rect 5 0 80 12)(font "Arial" ))
(text "inst1" (rect 8 80 38 95)(font "Times New Roman" (font_size 10)))
(port
(pt 0 32)
(input)
(text "EN" (rect 0 0 15 12)(font "Arial" ))
(text "EN" (rect 21 27 36 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 43 35 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 160 32)
(output)
(text "minute_data1[3..0]" (rect 0 0 92 12)(font "Arial" ))
(text "minute_data1[3..0]" (rect 47 27 139 39)(font "Arial" ))
(line (pt 160 32)(pt 144 32)(line_width 3))
)
(port
(pt 160 48)
(output)
(text "minute_data0[3..0]" (rect 0 0 92 12)(font "Arial" ))
(text "minute_data0[3..0]" (rect 47 43 139 55)(font "Arial" ))
(line (pt 160 48)(pt 144 48)(line_width 3))
)
(port
(pt 160 64)
(output)
(text "EO" (rect 0 0 15 12)(font "Arial" ))
(text "EO" (rect 124 59 139 71)(font "Arial" ))
(line (pt 160 64)(pt 144 64)(line_width 1))
)
(drawing
(rectangle (rect 16 16 144 80)(line_width 1))
)
)
(symbol
(rect 144 280 304 376)
(text "second_counter" (rect 5 0 82 12)(font "Arial" ))
(text "inst2" (rect 8 80 38 95)(font "Times New Roman" (font_size 10)))
(port
(pt 0 32)
(input)
(text "EN" (rect 0 0 15 12)(font "Arial" ))
(text "EN" (rect 21 27 36 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 43 35 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 160 32)
(output)
(text "second_data1[3..0]" (rect 0 0 94 12)(font "Arial" ))
(text "second_data1[3..0]" (rect 45 27 139 39)(font "Arial" ))
(line (pt 160 32)(pt 144 32)(line_width 3))
)
(port
(pt 160 48)
(output)
(text "second_data0[3..0]" (rect 0 0 94 12)(font "Arial" ))
(text "second_data0[3..0]" (rect 45 43 139 55)(font "Arial" ))
(line (pt 160 48)(pt 144 48)(line_width 3))
)
(port
(pt 160 64)
(output)
(text "EO" (rect 0 0 15 12)(font "Arial" ))
(text "EO" (rect 124 59 139 71)(font "Arial" ))
(line (pt 160 64)(pt 144 64)(line_width 1))
)
(drawing
(rectangle (rect 16 16 144 80)(line_width 1))
)
)
(connector
(pt 304 344)
(pt 336 344)
)
(connector
(pt 336 216)
(pt 336 344)
)
(connector
(pt 336 216)
(pt 360 216)
)
(connector
(pt 544 232)
(pt 520 232)
)
(connector
(pt 544 232)
(pt 544 80)
)
(connector
(pt 544 80)
(pt 560 80)
)
(connector
(pt 304 96)
(pt 304 200)
)
(connector
(pt 304 200)
(pt 360 200)
)
(connector
(pt 304 96)
(pt 560 96)
)
(connector
(pt 128 200)
(pt 304 200)
)
(connector
(text "minute1[3..0]" (rect 552 184 632 199)(font "Times New Roman" (font_size 10)))
(pt 632 200)
(pt 520 200)
(bus)
)
(connector
(text "minute0[3..0]" (rect 548 200 628 215)(font "Times New Roman" (font_size 10)))
(pt 632 216)
(pt 520 216)
(bus)
)
(connector
(text "hour1[3..0]" (rect 725 64 792 79)(font "Times New Roman" (font_size 10)))
(pt 808 80)
(pt 712 80)
(bus)
)
(connector
(text "hour0[3..0]" (rect 735 80 802 95)(font "Times New Roman" (font_size 10)))
(pt 808 96)
(pt 712 96)
(bus)
)
(connector
(text "second1[3..0]" (rect 346 296 429 311)(font "Times New Roman" (font_size 10)))
(pt 504 312)
(pt 304 312)
(bus)
)
(connector
(text "second0[3..0]" (rect 353 312 436 327)(font "Times New Roman" (font_size 10)))
(pt 504 328)
(pt 304 328)
(bus)
)
(connector
(pt 128 200)
(pt 128 312)
)
(connector
(pt 64 312)
(pt 128 312)
)
(connector
(pt 128 312)
(pt 144 312)
)
(connector
(pt 712 112)
(pt 808 112)
)
(connector
(text "<<__$DEF_ALIAS71>>" (rect 63 312 214 327)(font "Times New Roman" (font_size 10))(invisible))
(pt 144 328)
(pt 64 328)
)
(junction (pt 304 200))
(junction (pt 128 312))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -