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

📄 clock.bdf

📁 CPLD VHDL CODE非常好的参考资料
💻 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-2005 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 -168 40 0 56)
	(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 -256 56 -168 88))
)
(pin
	(input)
	(rect -168 80 0 96)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "rst" (rect 5 0 17 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 816 24 992 40)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "seg[7..0]" (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))
	)
	(annotation_block (location)(rect 992 40 1080 168))
)
(pin
	(output)
	(rect 672 128 848 144)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "sel[7..0]" (rect 90 0 130 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 848 144 936 272))
)
(symbol
	(rect 672 0 816 96)
	(text "decode47" (rect 5 0 52 12)(font "Arial" ))
	(text "inst6" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "qin[3..0]" (rect 0 0 40 12)(font "Arial" ))
		(text "qin[3..0]" (rect 21 27 61 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 144 32)
		(output)
		(text "qout[7..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "qout[7..0]" (rect 76 27 123 39)(font "Arial" ))
		(line (pt 144 32)(pt 128 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 128 80)(line_width 1))
	)
)
(symbol
	(rect 48 -80 144 16)
	(text "fen100" (rect 5 0 39 12)(font "Arial" ))
	(text "inst2" (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 96 32)
		(output)
		(text "qout" (rect 0 0 21 12)(font "Arial" ))
		(text "qout" (rect 54 27 75 39)(font "Arial" ))
		(line (pt 96 32)(pt 80 32)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 80 80)(line_width 1))
	)
)
(symbol
	(rect 48 16 144 112)
	(text "fen1" (rect 5 0 27 12)(font "Arial" ))
	(text "inst" (rect 8 80 25 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 96 32)
		(output)
		(text "qout" (rect 0 0 21 12)(font "Arial" ))
		(text "qout" (rect 54 27 75 39)(font "Arial" ))
		(line (pt 96 32)(pt 80 32)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 80 80)(line_width 1))
	)
)
(symbol
	(rect 192 16 312 112)
	(text "fen60" (rect 5 0 33 12)(font "Arial" ))
	(text "inst3" (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 120 32)
		(output)
		(text "qout1[3..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "qout1[3..0]" (rect 46 27 99 39)(font "Arial" ))
		(line (pt 120 32)(pt 104 32)(line_width 3))
	)
	(port
		(pt 120 48)
		(output)
		(text "qout2[3..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "qout2[3..0]" (rect 46 43 99 55)(font "Arial" ))
		(line (pt 120 48)(pt 104 48)(line_width 3))
	)
	(port
		(pt 120 64)
		(output)
		(text "carry" (rect 0 0 25 12)(font "Arial" ))
		(text "carry" (rect 74 59 99 71)(font "Arial" ))
		(line (pt 120 64)(pt 104 64)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 104 80)(line_width 1))
	)
)
(symbol
	(rect 192 144 312 240)
	(text "fen60" (rect 5 0 33 12)(font "Arial" ))
	(text "inst7" (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 120 32)
		(output)
		(text "qout1[3..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "qout1[3..0]" (rect 46 27 99 39)(font "Arial" ))
		(line (pt 120 32)(pt 104 32)(line_width 3))
	)
	(port
		(pt 120 48)
		(output)
		(text "qout2[3..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "qout2[3..0]" (rect 46 43 99 55)(font "Arial" ))
		(line (pt 120 48)(pt 104 48)(line_width 3))
	)
	(port
		(pt 120 64)
		(output)
		(text "carry" (rect 0 0 25 12)(font "Arial" ))
		(text "carry" (rect 74 59 99 71)(font "Arial" ))
		(line (pt 120 64)(pt 104 64)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 104 80)(line_width 1))
	)
)
(symbol
	(rect 192 272 312 368)
	(text "fen24" (rect 5 0 33 12)(font "Arial" ))
	(text "inst4" (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 120 32)
		(output)
		(text "qout1[3..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "qout1[3..0]" (rect 46 27 99 39)(font "Arial" ))
		(line (pt 120 32)(pt 104 32)(line_width 3))
	)
	(port
		(pt 120 48)
		(output)
		(text "qout2[3..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "qout2[3..0]" (rect 46 43 99 55)(font "Arial" ))
		(line (pt 120 48)(pt 104 48)(line_width 3))
	)
	(port
		(pt 120 64)
		(output)
		(text "carry" (rect 0 0 25 12)(font "Arial" ))
		(text "carry" (rect 74 59 99 71)(font "Arial" ))
		(line (pt 120 64)(pt 104 64)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 104 80)(line_width 1))
	)
)
(symbol
	(rect 424 -16 568 176)
	(text "sel" (rect 5 0 19 12)(font "Arial" ))
	(text "inst5" (rect 8 176 31 188)(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 "qin1[3..0]" (rect 0 0 46 12)(font "Arial" ))
		(text "qin1[3..0]" (rect 21 59 67 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 0 80)
		(input)
		(text "qin2[3..0]" (rect 0 0 46 12)(font "Arial" ))
		(text "qin2[3..0]" (rect 21 75 67 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 3))
	)
	(port
		(pt 0 96)
		(input)
		(text "qin3[3..0]" (rect 0 0 46 12)(font "Arial" ))
		(text "qin3[3..0]" (rect 21 91 67 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 3))
	)
	(port
		(pt 0 112)
		(input)
		(text "qin4[3..0]" (rect 0 0 46 12)(font "Arial" ))
		(text "qin4[3..0]" (rect 21 107 67 119)(font "Arial" ))
		(line (pt 0 112)(pt 16 112)(line_width 3))
	)
	(port
		(pt 0 128)
		(input)
		(text "qin5[3..0]" (rect 0 0 46 12)(font "Arial" ))
		(text "qin5[3..0]" (rect 21 123 67 135)(font "Arial" ))
		(line (pt 0 128)(pt 16 128)(line_width 3))
	)
	(port
		(pt 0 144)
		(input)
		(text "qin6[3..0]" (rect 0 0 46 12)(font "Arial" ))
		(text "qin6[3..0]" (rect 21 139 67 151)(font "Arial" ))
		(line (pt 0 144)(pt 16 144)(line_width 3))
	)
	(port
		(pt 144 32)
		(output)
		(text "qout[3..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "qout[3..0]" (rect 76 27 123 39)(font "Arial" ))
		(line (pt 144 32)(pt 128 32)(line_width 3))
	)
	(port
		(pt 144 48)
		(output)
		(text "sel[7..0]" (rect 0 0 40 12)(font "Arial" ))
		(text "sel[7..0]" (rect 83 43 123 55)(font "Arial" ))
		(line (pt 144 48)(pt 128 48)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 128 176)(line_width 1))
	)
)
(connector
	(pt 144 48)
	(pt 192 48)
)
(connector
	(pt 48 -48)
	(pt 24 -48)
)
(connector
	(pt 24 -48)
	(pt 24 48)
)
(connector
	(pt 48 48)
	(pt 24 48)
)
(connector
	(pt 24 48)
	(pt 0 48)
)
(connector
	(pt 168 128)
	(pt 168 176)
)
(connector
	(pt 168 176)
	(pt 192 176)
)
(connector
	(pt 312 208)
	(pt 328 208)
)
(connector
	(pt 328 208)
	(pt 328 256)
)
(connector
	(pt 168 256)
	(pt 328 256)
)
(connector
	(pt 168 256)
	(pt 168 304)
)
(connector
	(pt 168 304)
	(pt 192 304)
)
(connector
	(pt 312 80)
	(pt 336 80)
)
(connector
	(pt 336 80)
	(pt 336 128)
)
(connector
	(pt 168 128)
	(pt 336 128)
)
(connector
	(pt 352 176)
	(pt 312 176)
	(bus)
)
(connector
	(pt 312 192)
	(pt 368 192)
	(bus)
)
(connector
	(pt 384 304)
	(pt 312 304)
	(bus)
)
(connector
	(pt 352 176)
	(pt 352 80)
	(bus)
)
(connector
	(pt 368 192)
	(pt 368 96)
	(bus)
)
(connector
	(pt 384 304)
	(pt 384 112)
	(bus)
)
(connector
	(pt 312 48)
	(pt 424 48)
	(bus)
)
(connector
	(pt 312 64)
	(pt 424 64)
	(bus)
)
(connector
	(pt 352 80)
	(pt 424 80)
	(bus)
)
(connector
	(pt 368 96)
	(pt 424 96)
	(bus)
)
(connector
	(pt 384 112)
	(pt 424 112)
	(bus)
)
(connector
	(pt 424 128)
	(pt 400 128)
	(bus)
)
(connector
	(pt 400 320)
	(pt 400 128)
	(bus)
)
(connector
	(pt 400 320)
	(pt 312 320)
	(bus)
)
(connector
	(pt 352 16)
	(pt 424 16)
)
(connector
	(pt 672 16)
	(pt 568 16)
	(bus)
)
(connector
	(pt 672 136)
	(pt 616 136)
	(bus)
)
(connector
	(pt 616 32)
	(pt 568 32)
	(bus)
)
(connector
	(pt 144 -48)
	(pt 352 -48)
)
(connector
	(pt 40 64)
	(pt 40 -32)
)
(connector
	(pt 40 -32)
	(pt 48 -32)
)
(connector
	(pt 0 64)
	(pt 40 64)
)
(connector
	(pt 40 64)
	(pt 48 64)
)
(connector
	(pt 0 320)
	(pt 192 320)
)
(connector
	(pt 0 64)
	(pt 0 88)
)
(connector
	(pt 0 88)
	(pt 0 192)
)
(connector
	(pt 0 192)
	(pt 0 320)
)
(connector
	(pt 192 192)
	(pt 152 192)
)
(connector
	(pt 152 192)
	(pt 0 192)
)
(connector
	(pt 352 -48)
	(pt 352 16)
)
(connector
	(pt 424 32)
	(pt 328 32)
)
(connector
	(pt 328 -16)
	(pt 152 -16)
)
(connector
	(pt 328 -16)
	(pt 328 32)
)
(connector
	(pt 152 -16)
	(pt 152 64)
)
(connector
	(pt 152 64)
	(pt 152 192)
)
(connector
	(pt 152 64)
	(pt 192 64)
)
(connector
	(pt 616 32)
	(pt 616 136)
	(bus)
)
(connector
	(pt 672 16)
	(pt 672 32)
	(bus)
)
(junction (pt 24 48))
(junction (pt 40 64))
(junction (pt 0 88))
(junction (pt 0 192))
(junction (pt 152 192))
(junction (pt 152 64))
(text "7段码输出" (rect 880 48 943 62)(font "Arial" (font_size 8)))
(text "位选信号输出" (rect 728 152 812 166)(font "Arial" (font_size 8)))
(text "40MHz时钟输入" (rect -168 64 -73 78)(font "Arial" (font_size 8)))

⌨️ 快捷键说明

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