⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pre_key.bdf

📁 增加有去抖模块等的fpga控制矩阵键盘的源代码及RTL级的模块图
💻 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-2008 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 from 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.
*/
//#pragma file_not_in_maxplusii_format
(header "graphic" (version "1.3"))
(pin
	(input)
	(rect 0 8 168 24)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "keyin" (rect 5 0 32 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 -48 136 120 152)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "clk_sam" (rect 5 0 46 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 536 56 712 72)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "key_h" (rect 90 0 120 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 536 264 712 280)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "key_l" (rect 90 0 117 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 328 -56 360 -40)
	(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
	(text "inst6" (rect 3 5 26 17)(font "Arial" )(invisible))
	(port
		(pt 16 16)
		(output)
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(line (pt 16 16)(pt 16 8)(line_width 1))
	)
	(drawing
		(line (pt 8 8)(pt 24 8)(line_width 1))
	)
)
(symbol
	(rect 224 -8 288 72)
	(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
	(text "d1" (rect 3 68 14 80)(font "Arial" ))
	(port
		(pt 32 80)
		(input)
		(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
		(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
		(line (pt 32 80)(pt 32 76)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
		(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
		(line (pt 0 40)(pt 12 40)(line_width 1))
	)
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24)(line_width 1))
	)
	(port
		(pt 32 0)
		(input)
		(text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
		(text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
		(line (pt 32 4)(pt 32 0)(line_width 1))
	)
	(port
		(pt 64 24)
		(output)
		(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
		(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
		(line (pt 52 24)(pt 64 24)(line_width 1))
	)
	(drawing
		(line (pt 12 12)(pt 52 12)(line_width 1))
		(line (pt 12 68)(pt 52 68)(line_width 1))
		(line (pt 52 68)(pt 52 12)(line_width 1))
		(line (pt 12 68)(pt 12 12)(line_width 1))
		(line (pt 19 40)(pt 12 47)(line_width 1))
		(line (pt 12 32)(pt 20 40)(line_width 1))
		(circle (rect 28 4 36 12)(line_width 1))
		(circle (rect 28 68 36 76)(line_width 1))
	)
)
(symbol
	(rect 224 104 288 184)
	(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
	(text "d2" (rect 3 68 14 80)(font "Arial" ))
	(port
		(pt 32 80)
		(input)
		(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
		(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
		(line (pt 32 80)(pt 32 76)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
		(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
		(line (pt 0 40)(pt 12 40)(line_width 1))
	)
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24)(line_width 1))
	)
	(port
		(pt 32 0)
		(input)
		(text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
		(text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
		(line (pt 32 4)(pt 32 0)(line_width 1))
	)
	(port
		(pt 64 24)
		(output)
		(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
		(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
		(line (pt 52 24)(pt 64 24)(line_width 1))
	)
	(drawing
		(line (pt 12 12)(pt 52 12)(line_width 1))
		(line (pt 12 68)(pt 52 68)(line_width 1))
		(line (pt 52 68)(pt 52 12)(line_width 1))
		(line (pt 12 68)(pt 12 12)(line_width 1))
		(line (pt 19 40)(pt 12 47)(line_width 1))
		(line (pt 12 32)(pt 20 40)(line_width 1))
		(circle (rect 28 4 36 12)(line_width 1))
		(circle (rect 28 68 36 76)(line_width 1))
	)
)
(symbol
	(rect 224 232 288 312)
	(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
	(text "d3" (rect 3 68 14 80)(font "Arial" ))
	(port
		(pt 32 80)
		(input)
		(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
		(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
		(line (pt 32 80)(pt 32 76)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
		(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
		(line (pt 0 40)(pt 12 40)(line_width 1))
	)
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24)(line_width 1))
	)
	(port
		(pt 32 0)
		(input)
		(text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
		(text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
		(line (pt 32 4)(pt 32 0)(line_width 1))
	)
	(port
		(pt 64 24)
		(output)
		(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
		(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
		(line (pt 52 24)(pt 64 24)(line_width 1))
	)
	(drawing
		(line (pt 12 12)(pt 52 12)(line_width 1))
		(line (pt 12 68)(pt 52 68)(line_width 1))
		(line (pt 52 68)(pt 52 12)(line_width 1))
		(line (pt 12 68)(pt 12 12)(line_width 1))
		(line (pt 19 40)(pt 12 47)(line_width 1))
		(line (pt 12 32)(pt 20 40)(line_width 1))
		(circle (rect 28 4 36 12)(line_width 1))
		(circle (rect 28 68 36 76)(line_width 1))
	)
)
(symbol
	(rect 440 40 504 88)
	(text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6)))
	(text "a1" (rect 3 37 14 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 440 248 504 296)
	(text "OR3" (rect 1 0 19 10)(font "Arial" (font_size 6)))
	(text "o1" (rect 3 37 14 49)(font "Arial" ))
	(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 18 24)(line_width 1))
	)
	(port
		(pt 0 32)
		(input)
		(text "IN3" (rect 2 24 19 36)(font "Courier New" (bold))(invisible))
		(text "IN3" (rect 2 24 19 36)(font "Courier New" (bold))(invisible))
		(line (pt 0 32)(pt 16 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 16 16)(line_width 1))
	)
	(port
		(pt 64 24)
		(output)
		(text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible))
		(line (pt 49 24)(pt 64 24)(line_width 1))
	)
	(drawing
		(line (pt 14 13)(pt 25 13)(line_width 1))
		(line (pt 14 36)(pt 25 36)(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))
	)
)
(connector
	(pt 256 -8)
	(pt 256 -40)
)
(connector
	(pt 256 -40)
	(pt 344 -40)
)
(connector
	(pt 256 312)
	(pt 256 328)
)
(connector
	(pt 344 328)
	(pt 256 328)
)
(connector
	(pt 344 80)
	(pt 256 80)
)
(connector
	(pt 344 -40)
	(pt 344 80)
)
(connector
	(pt 256 104)
	(pt 256 80)
)
(connector
	(pt 256 80)
	(pt 256 72)
)
(connector
	(pt 256 208)
	(pt 344 208)
)
(connector
	(pt 256 232)
	(pt 256 208)
)
(connector
	(pt 256 208)
	(pt 256 184)
)
(connector
	(pt 344 80)
	(pt 344 208)
)
(connector
	(pt 344 208)
	(pt 344 328)
)
(connector
	(pt 168 16)
	(pt 224 16)
)
(connector
	(pt 224 272)
	(pt 168 272)
)
(connector
	(pt 224 32)
	(pt 168 32)
)
(connector
	(pt 168 272)
	(pt 168 144)
)
(connector
	(pt 168 144)
	(pt 168 32)
)
(connector
	(pt 120 144)
	(pt 168 144)
)
(connector
	(pt 168 144)
	(pt 224 144)
)
(connector
	(pt 440 16)
	(pt 440 56)
)
(connector
	(pt 368 72)
	(pt 368 256)
)
(connector
	(pt 368 256)
	(pt 288 256)
)
(connector
	(pt 360 128)
	(pt 360 64)
)
(connector
	(pt 224 128)
	(pt 184 128)
)
(connector
	(pt 184 128)
	(pt 184 88)
)
(connector
	(pt 184 88)
	(pt 304 88)
)
(connector
	(pt 304 88)
	(pt 304 16)
)
(connector
	(pt 288 16)
	(pt 304 16)
)
(connector
	(pt 224 256)
	(pt 184 256)
)
(connector
	(pt 184 256)
	(pt 184 200)
)
(connector
	(pt 184 200)
	(pt 304 200)
)
(connector
	(pt 288 128)
	(pt 304 128)
)
(connector
	(pt 304 128)
	(pt 360 128)
)
(connector
	(pt 304 128)
	(pt 304 200)
)
(connector
	(pt 440 264)
	(pt 424 264)
)
(connector
	(pt 424 264)
	(pt 424 16)
)
(connector
	(pt 304 16)
	(pt 424 16)
)
(connector
	(pt 424 16)
	(pt 440 16)
)
(connector
	(pt 440 272)
	(pt 408 272)
)
(connector
	(pt 408 272)
	(pt 408 64)
)
(connector
	(pt 360 64)
	(pt 408 64)
)
(connector
	(pt 408 64)
	(pt 440 64)
)
(connector
	(pt 440 280)
	(pt 392 280)
)
(connector
	(pt 392 280)
	(pt 392 72)
)
(connector
	(pt 440 72)
	(pt 392 72)
)
(connector
	(pt 392 72)
	(pt 368 72)
)
(connector
	(pt 504 64)
	(pt 536 64)
)
(connector
	(pt 504 272)
	(pt 536 272)
)
(junction (pt 344 -40))
(junction (pt 344 80))
(junction (pt 256 80))
(junction (pt 256 208))
(junction (pt 344 208))
(junction (pt 168 144))
(junction (pt 304 16))
(junction (pt 304 128))
(junction (pt 424 16))
(junction (pt 408 64))
(junction (pt 392 72))

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -