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

📄 ps2.bdf

📁 vhdl的很多例子
💻 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 104 56 120)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "kbclk" (rect 5 0 30 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)))
	(annotation_block (location)(rect -280 120 -192 152))
)
(pin
	(input)
	(rect -104 80 64 96)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "data" (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)))
	(annotation_block (location)(rect -352 80 -264 112))
)
(pin
	(input)
	(rect -112 168 56 184)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "reset" (rect 5 0 29 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)))
	(annotation_block (location)(rect -312 184 -224 216))
)
(pin
	(input)
	(rect -128 360 40 376)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "clk" (rect 5 0 19 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)))
	(annotation_block (location)(rect -296 360 -208 392))
)
(pin
	(output)
	(rect 272 304 448 320)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "ledcom[3..0]" (rect 90 0 151 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))
	)
	(annotation_block (location)(rect 616 320 704 392))
)
(pin
	(output)
	(rect 424 216 600 232)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "seg7[6..0]" (rect 90 0 139 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))
	)
	(annotation_block (location)(rect 728 232 816 344))
)
(symbol
	(rect 112 40 248 168)
	(text "data_scanC" (rect 5 0 64 12)(font "Arial" ))
	(text "inst" (rect 8 112 25 124)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "sys_clk" (rect 0 0 38 12)(font "Arial" ))
		(text "sys_clk" (rect 21 27 59 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "k_data" (rect 0 0 33 12)(font "Arial" ))
		(text "k_data" (rect 21 43 54 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "k_clock" (rect 0 0 37 12)(font "Arial" ))
		(text "k_clock" (rect 21 59 58 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "reset" (rect 0 0 24 12)(font "Arial" ))
		(text "reset" (rect 21 75 45 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 136 32)
		(output)
		(text "data[7..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "data[7..0]" (rect 68 27 115 39)(font "Arial" ))
		(line (pt 136 32)(pt 120 32)(line_width 3))
	)
	(port
		(pt 136 48)
		(bidir)
		(text "PA[7..0]" (rect 0 0 40 12)(font "Arial" ))
		(text "PA[7..0]" (rect 75 43 115 55)(font "Arial" ))
		(line (pt 136 48)(pt 120 48)(line_width 3))
	)
	(port
		(pt 136 64)
		(bidir)
		(text "ZHJS" (rect 0 0 28 12)(font "Arial" ))
		(text "ZHJS" (rect 87 59 115 71)(font "Arial" ))
		(line (pt 136 64)(pt 120 64)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 120 112)(line_width 1))
	)
)
(symbol
	(rect 320 56 472 152)
	(text "convert" (rect 5 0 42 12)(font "Arial" ))
	(text "inst1" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "Scan[7..0]" (rect 0 0 50 12)(font "Arial" ))
		(text "Scan[7..0]" (rect 21 27 71 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 0 48)
		(input)
		(text "prepared" (rect 0 0 42 12)(font "Arial" ))
		(text "prepared" (rect 21 43 63 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "clr" (rect 0 0 11 12)(font "Arial" ))
		(text "clr" (rect 21 59 32 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 152 32)
		(output)
		(text "data[7..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "data[7..0]" (rect 84 27 131 39)(font "Arial" ))
		(line (pt 152 32)(pt 136 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 136 80)(line_width 1))
	)
)
(symbol
	(rect 240 192 424 288)
	(text "bin27seg" (rect 5 0 48 12)(font "Arial" ))
	(text "inst3" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "data_in[3..0]" (rect 0 0 61 12)(font "Arial" ))
		(text "data_in[3..0]" (rect 21 27 82 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 184 32)
		(output)
		(text "data_out[6..0]" (rect 0 0 68 12)(font "Arial" ))
		(text "data_out[6..0]" (rect 95 27 163 39)(font "Arial" ))
		(line (pt 184 32)(pt 168 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 168 80)(line_width 1))
	)
)
(symbol
	(rect -64 224 -32 256)
	(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
	(text "inst6" (rect 3 21 26 33)(font "Arial" )(invisible))
	(port
		(pt 16 0)
		(output)
		(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
		(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
		(line (pt 16 8)(pt 16 0)(line_width 1))
	)
	(drawing
		(line (pt 8 8)(pt 16 16)(line_width 1))
		(line (pt 16 16)(pt 24 8)(line_width 1))
		(line (pt 8 8)(pt 24 8)(line_width 1))
	)
)
(symbol
	(rect 56 336 200 400)
	(text "lpm_counter0" (rect 33 1 125 17)(font "Arial" (font_size 10)))
	(text "inst5" (rect 8 48 31 60)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
		(text "clock" (rect 26 26 55 40)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 144 40)
		(output)
		(text "q[7..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
		(text "q[7..0]" (rect 95 34 130 48)(font "Arial" (font_size 8)))
		(line (pt 144 40)(pt 128 40)(line_width 3))
	)
	(drawing
		(text "up counter" (rect 84 17 135 29)(font "Arial" ))
		(line (pt 16 16)(pt 128 16)(line_width 1))
		(line (pt 128 16)(pt 128 48)(line_width 1))
		(line (pt 128 48)(pt 16 48)(line_width 1))
		(line (pt 16 48)(pt 16 16)(line_width 1))
		(line (pt 16 26)(pt 22 32)(line_width 1))
		(line (pt 22 32)(pt 16 38)(line_width 1))
	)
)
(symbol
	(rect 48 192 224 288)
	(text "segmain" (rect 5 0 46 12)(font "Arial" ))
	(text "inst9" (rect 8 80 31 92)(font "Arial" ))
	(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 "rst" (rect 0 0 12 12)(font "Arial" ))
		(text "rst" (rect 21 43 33 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "datain[15..0]" (rect 0 0 61 12)(font "Arial" ))
		(text "datain[15..0]" (rect 21 59 82 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 176 32)
		(output)
		(text "dataout[3..0]" (rect 0 0 62 12)(font "Arial" ))
		(text "dataout[3..0]" (rect 93 27 155 39)(font "Arial" ))
		(line (pt 176 32)(pt 160 32)(line_width 3))
	)
	(port
		(pt 176 48)
		(output)
		(text "ledcom[3..0]" (rect 0 0 61 12)(font "Arial" ))
		(text "ledcom[3..0]" (rect 94 43 155 55)(font "Arial" ))
		(line (pt 176 48)(pt 160 48)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 160 80)(line_width 1))
	)
)
(connector
	(text "data[15..8]" (rect 256 56 309 68)(font "Arial" ))
	(pt 248 72)
	(pt 264 72)
	(bus)
)
(connector
	(pt 112 104)
	(pt 56 104)
)
(connector
	(text "q0" (rect 32 56 43 68)(font "Arial" ))
	(pt 112 72)
	(pt 24 72)
)
(connector
	(pt 80 176)
	(pt 80 120)
)
(connector
	(pt 112 120)
	(pt 80 120)
)
(connector
	(pt 112 88)
	(pt 64 88)
)
(connector
	(pt 48 240)
	(pt -32 240)
)
(connector
	(text "q[5]" (rect 4 208 22 220)(font "Arial" ))
	(pt 48 224)
	(pt 8 224)
)
(connector
	(pt -32 240)
	(pt -32 224)
)
(connector
	(pt -32 224)
	(pt -48 224)
)
(connector
	(pt 224 240)
	(pt 232 240)
	(bus)
)
(connector
	(text "q[7..0]" (rect 208 360 239 372)(font "Arial" ))
	(pt 200 376)
	(pt 232 376)
	(bus)
)
(connector
	(pt 224 224)
	(pt 240 224)
	(bus)
)
(connector
	(pt 56 176)
	(pt 80 176)
)
(connector
	(pt 80 176)
	(pt 280 176)
)
(connector
	(text "data[7..0]" (rect 480 72 527 84)(font "Arial" ))
	(pt 504 88)
	(pt 472 88)
	(bus)
)
(connector
	(pt 280 176)
	(pt 280 120)
)
(connector
	(pt 248 88)
	(pt 320 88)
	(bus)
)
(connector
	(pt 248 104)
	(pt 320 104)
)
(connector
	(pt 280 120)
	(pt 320 120)
)
(connector
	(text "data[15..0]" (rect -16 240 37 252)(font "Arial" ))
	(pt 48 256)
	(pt -24 256)
	(bus)
)
(connector
	(pt 56 368)
	(pt 40 368)
)
(connector
	(pt 232 312)
	(pt 272 312)
	(bus)
)
(connector
	(pt 232 240)
	(pt 232 312)
	(bus)
)
(connector
	(pt 56 104)
	(pt 56 112)
)
(junction (pt 80 176))

⌨️ 快捷键说明

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