?? qep_cnt.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"))
(alias "<<__$DEF_ALIAS484>>""FCK;QEP_A;QEP_BF;QEP_B;QEPB;QEPB_F")
(alias "<<__$DEF_ALIAS459>>""FCK;QEP_A;QEP_BF;QEP_B;QEPB;QEPB_F")
(alias "<<__$DEF_ALIAS448>>""FCK;QEP_A;QEP_AF;QEPA;QEPA_F")
(alias "<<__$DEF_ALIAS415>>""FCK;QEP_A;QEP_AF;QEPA;QEPA_F")
(alias "<<__$DEF_ALIAS441>>""FCK;QEP_A;QEP_AF;QEPA;QEPA_F")
(alias "<<__$DEF_ALIAS407>>""FCK;QEP_A;QEP_AF;QEPA;QEPA_F")
(alias "<<__$DEF_ALIAS445>>""FCK;QEP_A;QEP_AF;QEPA;QEPA_F")
(alias "<<__$DEF_ALIAS449>>""FCK;QEP_A;QEP_BF;QEP_B;QEPB;QEPB_F")
(alias "<<__$DEF_ALIAS487>>""FCK;QEP_A;QEP_BF;QEP_B;QEPB;QEPB_F")
(alias "<<__$DEF_ALIAS479>>""FCK;QEP_A;QEP_BF;QEP_B;QEPB;QEPB_F")
(pin
(input)
(rect -120 -808 48 -792)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CLK" (rect 5 0 26 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 296 -776 464 -760)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "QEPA" (rect 5 0 34 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 824 -776 992 -760)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "QEPB" (rect 5 0 34 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 616 -736 792 -720)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "QEPA_F" (rect 90 0 132 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 1144 -736 1320 -720)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "QEPB_F" (rect 90 0 132 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 1208 -176 1384 -160)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "PULSE" (rect 90 0 125 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 1216 -56 1392 -40)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CNT_UP" (rect 90 0 133 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 112 -848 256 -768)
(text "LPM_FD1" (rect 43 1 111 17)(font "Arial" (font_size 10)))
(text "inst" (rect 8 64 25 76)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data" (rect 0 0 24 14)(font "Arial" (font_size 8)))
(text "data" (rect 20 26 44 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(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 144 48)
(output)
(text "q" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "q" (rect 119 42 126 56)(font "Arial" (font_size 8)))
(line (pt 144 48)(pt 128 48)(line_width 1))
)
(drawing
(text "DFF" (rect 109 17 131 29)(font "Arial" ))
(line (pt 16 16)(pt 128 16)(line_width 1))
(line (pt 128 16)(pt 128 64)(line_width 1))
(line (pt 128 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 144 -904 224 -864)
(text "LPM_INV1" (rect -2 1 71 17)(font "Arial" (font_size 10)))
(text "inst1" (rect 49 24 72 36)(font "Arial" ))
(port
(pt 80 24)
(input)
(text "data" (rect 0 0 24 14)(font "Arial" (font_size 8)))
(text "data" (rect 52 3 76 17)(font "Arial" (font_size 8))(invisible))
(line (pt 80 24)(pt 56 24)(line_width 1))
)
(port
(pt 0 24)
(output)
(text "result" (rect 0 0 31 14)(font "Arial" (font_size 8)))
(text "result" (rect -28 -1 3 13)(font "Arial" (font_size 8))(invisible))
(line (pt 0 24)(pt 34 24)(line_width 1))
)
(drawing
(line (pt 56 16)(pt 40 24)(line_width 1))
(line (pt 40 24)(pt 56 32)(line_width 1))
(line (pt 56 32)(pt 56 16)(line_width 1))
(circle (rect 34 21 40 27)(line_width 1))
)
(flipy)
)
(symbol
(rect 112 -624 256 -544)
(text "LPM_FD1" (rect 43 1 111 17)(font "Arial" (font_size 10)))
(text "inst4" (rect 8 64 31 76)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data" (rect 0 0 24 14)(font "Arial" (font_size 8)))
(text "data" (rect 20 26 44 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(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 144 48)
(output)
(text "q" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "q" (rect 119 42 126 56)(font "Arial" (font_size 8)))
(line (pt 144 48)(pt 128 48)(line_width 1))
)
(drawing
(text "DFF" (rect 109 17 131 29)(font "Arial" ))
(line (pt 16 16)(pt 128 16)(line_width 1))
(line (pt 128 16)(pt 128 64)(line_width 1))
(line (pt 128 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 392 -632 456 -584)
(text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst6" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 16 16)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 43 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 16 12)(pt 31 12)(line_width 1))
(line (pt 16 37)(pt 31 37)(line_width 1))
(line (pt 16 12)(pt 16 37)(line_width 1))
(arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1))
)
)
(symbol
(rect 816 -208 880 -160)
(text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst7" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 15 32)(line_width 1))
)
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 15 16)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 48 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 36)(pt 25 36)(line_width 1))
(line (pt 14 13)(pt 25 13)(line_width 1))
(arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1))
(arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1))
(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1))
)
)
(symbol
(rect 280 -600 360 -560)
(text "LPM_INV1" (rect 9 1 82 17)(font "Arial" (font_size 10)))
(text "inst9" (rect 8 24 31 36)(font "Arial" ))
(port
(pt 0 24)
(input)
(text "data" (rect 0 0 24 14)(font "Arial" (font_size 8)))
(text "data" (rect 4 3 28 17)(font "Arial" (font_size 8))(invisible))
(line (pt 0 24)(pt 24 24)(line_width 1))
)
(port
(pt 80 24)
(output)
(text "result" (rect 0 0 31 14)(font "Arial" (font_size 8)))
(text "result" (rect 77 -1 108 13)(font "Arial" (font_size 8))(invisible))
(line (pt 80 24)(pt 46 24)(line_width 1))
)
(drawing
(line (pt 24 16)(pt 40 24)(line_width 1))
(line (pt 40 24)(pt 24 32)(line_width 1))
(line (pt 24 32)(pt 24 16)(line_width 1))
(circle (rect 40 21 46 27)(line_width 1))
)
)
(symbol
(rect 112 -504 256 -424)
(text "LPM_FD1" (rect 43 1 111 17)(font "Arial" (font_size 10)))
(text "inst10" (rect 8 64 37 76)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data" (rect 0 0 24 14)(font "Arial" (font_size 8)))
(text "data" (rect 20 26 44 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(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 144 48)
(output)
(text "q" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "q" (rect 119 42 126 56)(font "Arial" (font_size 8)))
(line (pt 144 48)(pt 128 48)(line_width 1))
)
(drawing
(text "DFF" (rect 109 17 131 29)(font "Arial" ))
(line (pt 16 16)(pt 128 16)(line_width 1))
(line (pt 128 16)(pt 128 64)(line_width 1))
(line (pt 128 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 392 -512 456 -464)
(text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst11" (rect 3 37 32 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 16 16)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 43 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 16 12)(pt 31 12)(line_width 1))
(line (pt 16 37)(pt 31 37)(line_width 1))
(line (pt 16 12)(pt 16 37)(line_width 1))
(arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1))
)
)
(symbol
(rect 280 -480 360 -440)
(text "LPM_INV1" (rect 9 1 82 17)(font "Arial" (font_size 10)))
(text "inst12" (rect 8 24 37 36)(font "Arial" ))
(port
(pt 0 24)
(input)
(text "data" (rect 0 0 24 14)(font "Arial" (font_size 8)))
(text "data" (rect 4 3 28 17)(font "Arial" (font_size 8))(invisible))
(line (pt 0 24)(pt 24 24)(line_width 1))
)
(port
(pt 80 24)
(output)
(text "result" (rect 0 0 31 14)(font "Arial" (font_size 8)))
(text "result" (rect 77 -1 108 13)(font "Arial" (font_size 8))(invisible))
(line (pt 80 24)(pt 46 24)(line_width 1))
)
(drawing
(line (pt 24 16)(pt 40 24)(line_width 1))
(line (pt 40 24)(pt 24 32)(line_width 1))
(line (pt 24 32)(pt 24 16)(line_width 1))
(circle (rect 40 21 46 27)(line_width 1))
)
)
(symbol
(rect 112 -392 256 -312)
(text "LPM_FD1" (rect 43 1 111 17)(font "Arial" (font_size 10)))
(text "inst13" (rect 8 64 37 76)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data" (rect 0 0 24 14)(font "Arial" (font_size 8)))
(text "data" (rect 20 26 44 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(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 144 48)
(output)
(text "q" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "q" (rect 119 42 126 56)(font "Arial" (font_size 8)))
(line (pt 144 48)(pt 128 48)(line_width 1))
)
(drawing
(text "DFF" (rect 109 17 131 29)(font "Arial" ))
(line (pt 16 16)(pt 128 16)(line_width 1))
(line (pt 128 16)(pt 128 64)(line_width 1))
(line (pt 128 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 392 -400 456 -352)
(text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst14" (rect 3 37 32 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 16 16)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 43 24)(pt 64 24)(line_width 1))
)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -