📄 txxclock.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 -288 416 -120 432)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "modekey" (rect 5 0 51 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 536 568 552 736)
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
(text "keyhour" (rect 0 116 12 156)(font "Arial" )(vertical))
(pt 8 0)
(drawing
(line (pt 12 76)(pt 12 51)(line_width 1))
(line (pt 4 76)(pt 4 51)(line_width 1))
(line (pt 8 47)(pt 8 0)(line_width 1))
(line (pt 12 76)(pt 4 76)(line_width 1))
(line (pt 4 51)(pt 8 47)(line_width 1))
(line (pt 12 51)(pt 8 47)(line_width 1))
)
(rotate90)
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
)
(pin
(input)
(rect 160 576 176 748)
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
(text "keyminute" (rect 0 116 12 167)(font "Arial" )(vertical))
(pt 8 0)
(drawing
(line (pt 12 76)(pt 12 51)(line_width 1))
(line (pt 4 76)(pt 4 51)(line_width 1))
(line (pt 8 47)(pt 8 0)(line_width 1))
(line (pt 12 76)(pt 4 76)(line_width 1))
(line (pt 4 51)(pt 8 47)(line_width 1))
(line (pt 12 51)(pt 8 47)(line_width 1))
)
(rotate90)
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
)
(pin
(input)
(rect 704 280 872 296)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clkclock" (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 "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -160 256 8 272)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "lHZCLK" (rect 5 0 43 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 664 -88 840 -72)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "timeout[15..0]" (rect 103 0 171 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 1008 296 1184 312)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "clockout" (rect 90 0 131 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 56 -88 72 88)
(text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical))
(text "seconhigh[3..0]" (rect 0 5 12 80)(font "Arial" )(vertical))
(pt 8 176)
(drawing
(line (pt 8 176)(pt 8 124)(line_width 1))
(line (pt 4 124)(pt 4 98)(line_width 1))
(line (pt 12 124)(pt 12 98)(line_width 1))
(line (pt 12 124)(pt 4 124)(line_width 1))
(line (pt 4 98)(pt 8 94)(line_width 1))
(line (pt 8 94)(pt 12 98)(line_width 1))
(line (pt 12 98)(pt 8 94)(line_width 1))
)
(rotate90)
)
(pin
(output)
(rect 72 -88 88 88)
(text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical))
(text "secondlow[3..0]" (rect 0 5 12 81)(font "Arial" )(vertical))
(pt 8 176)
(drawing
(line (pt 8 176)(pt 8 124)(line_width 1))
(line (pt 4 124)(pt 4 98)(line_width 1))
(line (pt 12 124)(pt 12 98)(line_width 1))
(line (pt 12 124)(pt 4 124)(line_width 1))
(line (pt 4 98)(pt 8 94)(line_width 1))
(line (pt 8 94)(pt 12 98)(line_width 1))
(line (pt 12 98)(pt 8 94)(line_width 1))
)
(rotate90)
)
(symbol
(rect 320 352 456 448)
(text "minute" (rect 5 84 38 96)(font "Arial" ))
(text "inst3" (rect 8 4 31 16)(font "Arial" ))
(port
(pt 0 64)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 57 35 69)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 136 64)
(output)
(text "m_overflow" (rect 0 0 57 12)(font "Arial" ))
(text "m_overflow" (rect 58 57 115 69)(font "Arial" ))
(line (pt 136 64)(pt 120 64)(line_width 1))
)
(port
(pt 136 48)
(output)
(text "m_dspl[3..0]" (rect 0 0 61 12)(font "Arial" ))
(text "m_dspl[3..0]" (rect 54 41 115 53)(font "Arial" ))
(line (pt 136 48)(pt 120 48)(line_width 3))
)
(port
(pt 136 32)
(output)
(text "m_dsph[3..0]" (rect 0 0 64 12)(font "Arial" ))
(text "m_dsph[3..0]" (rect 51 25 115 37)(font "Arial" ))
(line (pt 136 32)(pt 120 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 120 80)(line_width 1))
)
(flipx)
)
(symbol
(rect 712 336 840 432)
(text "hour" (rect 5 84 26 96)(font "Arial" ))
(text "inst4" (rect 8 4 31 16)(font "Arial" ))
(port
(pt 0 64)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 57 35 69)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 128 64)
(output)
(text "h_overflow" (rect 0 0 54 12)(font "Arial" ))
(text "h_overflow" (rect 53 57 107 69)(font "Arial" ))
(line (pt 128 64)(pt 112 64)(line_width 1))
)
(port
(pt 128 48)
(output)
(text "h_dspl[3..0]" (rect 0 0 57 12)(font "Arial" ))
(text "h_dspl[3..0]" (rect 50 41 107 53)(font "Arial" ))
(line (pt 128 48)(pt 112 48)(line_width 3))
)
(port
(pt 128 32)
(output)
(text "h_dsph[3..0]" (rect 0 0 61 12)(font "Arial" ))
(text "h_dsph[3..0]" (rect 46 25 107 37)(font "Arial" ))
(line (pt 128 32)(pt 112 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 112 80)(line_width 1))
)
(flipx)
)
(symbol
(rect 32 120 128 248)
(text "second" (rect 84 88 96 123)(font "Arial" )(vertical))
(text "inst" (rect 4 103 16 120)(font "Arial" )(vertical))
(port
(pt 64 128)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 57 93 69 107)(font "Arial" )(vertical))
(line (pt 64 128)(pt 64 112)(line_width 1))
)
(port
(pt 64 0)
(output)
(text "s_overflow" (rect 0 0 54 12)(font "Arial" ))
(text "s_overflow" (rect 57 21 69 75)(font "Arial" )(vertical))
(line (pt 64 0)(pt 64 16)(line_width 1))
)
(port
(pt 48 0)
(output)
(text "s_dspl[3..0]" (rect 0 0 57 12)(font "Arial" ))
(text "s_dspl[3..0]" (rect 41 21 53 78)(font "Arial" )(vertical))
(line (pt 48 0)(pt 48 16)(line_width 3))
)
(port
(pt 32 0)
(output)
(text "s_dsph[3..0]" (rect 0 0 61 12)(font "Arial" ))
(text "s_dsph[3..0]" (rect 25 21 37 82)(font "Arial" )(vertical))
(line (pt 32 0)(pt 32 16)(line_width 3))
)
(drawing
(rectangle (rect 16 16 80 112)(line_width 1))
)
(flipx_rotate90)
)
(symbol
(rect 416 112 512 248)
(text "minute" (rect 84 98 96 131)(font "Arial" )(vertical))
(text "inst1" (rect 4 105 16 128)(font "Arial" )(vertical))
(port
(pt 64 136)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 57 101 69 115)(font "Arial" )(vertical))
(line (pt 64 136)(pt 64 120)(line_width 1))
)
(port
(pt 64 0)
(output)
(text "m_overflow" (rect 0 0 57 12)(font "Arial" ))
(text "m_overflow" (rect 57 21 69 78)(font "Arial" )(vertical))
(line (pt 64 0)(pt 64 16)(line_width 1))
)
(port
(pt 48 0)
(output)
(text "m_dspl[3..0]" (rect 0 0 61 12)(font "Arial" ))
(text "m_dspl[3..0]" (rect 41 21 53 82)(font "Arial" )(vertical))
(line (pt 48 0)(pt 48 16)(line_width 3))
)
(port
(pt 32 0)
(output)
(text "m_dsph[3..0]" (rect 0 0 64 12)(font "Arial" ))
(text "m_dsph[3..0]" (rect 25 21 37 85)(font "Arial" )(vertical))
(line (pt 32 0)(pt 32 16)(line_width 3))
)
(drawing
(rectangle (rect 16 16 80 120)(line_width 1))
)
(flipx_rotate90)
)
(symbol
(rect 776 104 872 232)
(text "hour" (rect 84 102 96 123)(font "Arial" )(vertical))
(text "inst2" (rect 4 97 16 120)(font "Arial" )(vertical))
(port
(pt 64 128)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 57 93 69 107)(font "Arial" )(vertical))
(line (pt 64 128)(pt 64 112)(line_width 1))
)
(port
(pt 64 0)
(output)
(text "h_overflow" (rect 0 0 54 12)(font "Arial" ))
(text "h_overflow" (rect 57 21 69 75)(font "Arial" )(vertical))
(line (pt 64 0)(pt 64 16)(line_width 1))
)
(port
(pt 48 0)
(output)
(text "h_dspl[3..0]" (rect 0 0 57 12)(font "Arial" ))
(text "h_dspl[3..0]" (rect 41 21 53 78)(font "Arial" )(vertical))
(line (pt 48 0)(pt 48 16)(line_width 3))
)
(port
(pt 32 0)
(output)
(text "h_dsph[3..0]" (rect 0 0 61 12)(font "Arial" ))
(text "h_dsph[3..0]" (rect 25 21 37 82)(font "Arial" )(vertical))
(line (pt 32 0)(pt 32 16)(line_width 3))
)
(drawing
(rectangle (rect 16 16 80 112)(line_width 1))
)
(flipx_rotate90)
)
(symbol
(rect 480 -112 608 -16)
(text "selector217" (rect 5 0 61 12)(font "Arial" ))
(text "inst6" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "s" (rect 0 0 5 12)(font "Arial" ))
(text "s" (rect 21 27 26 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "a[15..0]" (rect 0 0 37 12)(font "Arial" ))
(text "a[15..0]" (rect 21 43 58 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "b[15..0]" (rect 0 0 37 12)(font "Arial" ))
(text "b[15..0]" (rect 21 59 58 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 128 32)
(output)
(text "y[15..0]" (rect 0 0 38 12)(font "Arial" ))
(text "y[15..0]" (rect 69 27 107 39)(font "Arial" ))
(line (pt 128 32)(pt 112 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 112 80)(line_width 1))
)
)
(symbol
(rect -88 392 72 488)
(text "mode" (rect 5 0 32 12)(font "Arial" ))
(text "inst9" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "modekey" (rect 0 0 46 12)(font "Arial" ))
(text "modekey" (rect 21 27 67 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 160 32)
(output)
(text "OUTY[4..0]" (rect 0 0 56 12)(font "Arial" ))
(text "OUTY[4..0]" (rect 83 27 139 39)(font "Arial" ))
(line (pt 160 32)(pt 144 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 144 80)(line_width 1))
)
)
(symbol
(rect 184 368 280 464)
(text "selector12" (rect 5 0 55 12)(font "Arial" ))
(text "inst10" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "s" (rect 0 0 5 12)(font "Arial" ))
(text "s" (rect 21 27 26 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "a" (rect 0 0 5 12)(font "Arial" ))
(text "a" (rect 21 43 26 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "x" (rect 0 0 5 12)(font "Arial" ))
(text "x" (rect 70 27 75 39)(font "Arial" ))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(port
(pt 96 48)
(output)
(text "y" (rect 0 0 7 12)(font "Arial" ))
(text "y" (rect 68 43 75 55)(font "Arial" ))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
)
(symbol
(rect 928 120 1024 216)
(text "cmp32B" (rect 0 5 12 45)(font "Arial" )(vertical))
(text "inst7" (rect 80 8 92 31)(font "Arial" )(vertical))
(port
(pt 32 0)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 27 21 39 35)(font "Arial" )(vertical))
(line (pt 32 0)(pt 32 16)(line_width 1))
)
(port
(pt 48 0)
(input)
(text "A[15..0]" (rect 0 0 38 12)(font "Arial" ))
(text "A[15..0]" (rect 43 21 55 59)(font "Arial" )(vertical))
(line (pt 48 0)(pt 48 16)(line_width 3))
)
(port
(pt 64 0)
(input)
(text "B[15..0]" (rect 0 0 38 12)(font "Arial" ))
(text "B[15..0]" (rect 59 21 71 59)(font "Arial" )(vertical))
(line (pt 64 0)(pt 64 16)(line_width 3))
)
(port
(pt 32 96)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -