📄 date_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-2004 Altera Corporation
Any megafunction design, and related netlist (encrypted or decrypted),
support information, device programming or simulation file, and any other
associated documentation or information provided by Altera or a partner
under Altera's Megafunction Partnership Program may be used only
to program PLD devices (but not masked PLD devices) from Altera. Any
other use of such megafunction design, netlist, support information,
device programming or simulation file, or any other related documentation
or information is prohibited for any other purpose, including, but not
limited to modification, reverse engineering, de-compiling, or use with
any other silicon devices, unless such use is explicitly licensed under
a separate agreement with Altera or a megafunction partner. Title to the
intellectual property, including patents, copyrights, trademarks, trade
secrets, or maskworks, embodied in any such megafunction design, netlist,
support information, device programming or simulation file, or any other
related documentation or information provided by Altera or a megafunction
partner, remains with Altera, the megafunction partner, or their respective
licensors. No other licenses, including any licenses needed under any third
party's intellectual property, are provided herein.
*/
(header "graphic" (version "1.3"))
(pin
(input)
(rect -80 88 88 104)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "day_EN" (rect 5 0 45 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 "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -80 48 88 64)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "date_disp_clk" (rect 5 0 72 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 "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -80 104 88 120)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "Date_Set_EN" (rect 5 0 72 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 "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -80 24 88 40)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "Date_EN" (rect 5 0 49 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 "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -80 248 88 264)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "SW1" (rect 5 0 28 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 "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -80 264 88 280)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "SW2" (rect 5 0 28 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 "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(output)
(rect 672 120 848 136)
(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
(text "month1[3..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))
)
)
(pin
(output)
(rect 672 136 848 152)
(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
(text "month0[3..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))
)
)
(pin
(output)
(rect 672 152 848 168)
(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
(text "day1[3..0]" (rect 90 0 140 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 672 168 848 184)
(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
(text "day0[3..0]" (rect 90 0 140 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 672 184 877 200)
(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
(text "Disp_select_date[5..0]" (rect 90 0 200 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 176 64 312 192)
(text "autodate" (rect 5 0 47 12)(font "Arial" ))
(text "inst" (rect 8 112 25 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "EN1" (rect 0 0 21 12)(font "Arial" ))
(text "EN1" (rect 21 27 42 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "EN2" (rect 0 0 21 12)(font "Arial" ))
(text "EN2" (rect 21 43 42 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 136 32)
(output)
(text "month1[3..0]" (rect 0 0 62 12)(font "Arial" ))
(text "month1[3..0]" (rect 53 27 115 39)(font "Arial" ))
(line (pt 136 32)(pt 120 32)(line_width 3))
)
(port
(pt 136 48)
(output)
(text "month0[3..0]" (rect 0 0 62 12)(font "Arial" ))
(text "month0[3..0]" (rect 53 43 115 55)(font "Arial" ))
(line (pt 136 48)(pt 120 48)(line_width 3))
)
(port
(pt 136 64)
(output)
(text "day1[3..0]" (rect 0 0 50 12)(font "Arial" ))
(text "day1[3..0]" (rect 65 59 115 71)(font "Arial" ))
(line (pt 136 64)(pt 120 64)(line_width 3))
)
(port
(pt 136 80)
(output)
(text "day0[3..0]" (rect 0 0 50 12)(font "Arial" ))
(text "day0[3..0]" (rect 65 75 115 87)(font "Arial" ))
(line (pt 136 80)(pt 120 80)(line_width 3))
)
(port
(pt 136 96)
(output)
(text "EO1" (rect 0 0 21 12)(font "Arial" ))
(text "EO1" (rect 94 91 115 103)(font "Arial" ))
(line (pt 136 96)(pt 120 96)(line_width 1))
)
(drawing
(rectangle (rect 16 16 120 112)(line_width 1))
)
)
(symbol
(rect 160 208 320 336)
(text "setdate" (rect 5 0 41 12)(font "Arial" ))
(text "inst2" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "EN2" (rect 0 0 21 12)(font "Arial" ))
(text "EN2" (rect 21 27 42 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "SW1" (rect 0 0 23 12)(font "Arial" ))
(text "SW1" (rect 21 43 44 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "SW2" (rect 0 0 23 12)(font "Arial" ))
(text "SW2" (rect 21 59 44 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 160 32)
(output)
(text "disp_drive[1..0]" (rect 0 0 76 12)(font "Arial" ))
(text "disp_drive[1..0]" (rect 63 27 139 39)(font "Arial" ))
(line (pt 160 32)(pt 144 32)(line_width 3))
)
(port
(pt 160 48)
(output)
(text "month_set1[3..0]" (rect 0 0 83 12)(font "Arial" ))
(text "month_set1[3..0]" (rect 56 43 139 55)(font "Arial" ))
(line (pt 160 48)(pt 144 48)(line_width 3))
)
(port
(pt 160 64)
(output)
(text "month_set0[3..0]" (rect 0 0 83 12)(font "Arial" ))
(text "month_set0[3..0]" (rect 56 59 139 71)(font "Arial" ))
(line (pt 160 64)(pt 144 64)(line_width 3))
)
(port
(pt 160 80)
(output)
(text "day_set1[3..0]" (rect 0 0 71 12)(font "Arial" ))
(text "day_set1[3..0]" (rect 68 75 139 87)(font "Arial" ))
(line (pt 160 80)(pt 144 80)(line_width 3))
)
(port
(pt 160 96)
(output)
(text "day_set0[3..0]" (rect 0 0 71 12)(font "Arial" ))
(text "day_set0[3..0]" (rect 68 91 139 103)(font "Arial" ))
(line (pt 160 96)(pt 144 96)(line_width 3))
)
(drawing
(rectangle (rect 16 16 144 112)(line_width 1))
)
)
(symbol
(rect 424 96 648 352)
(text "datecontrol" (rect 5 0 59 12)(font "Arial" ))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -