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

📄 cntout.bdf

📁 光栅尺的四细分和辩向电路
💻 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 56 160 224 176)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "DirCntA" (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
	(input)
	(rect 56 144 224 160)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "DirCntB" (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
	(input)
	(rect 56 -24 224 -8)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "Sclr" (rect 5 0 23 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 72 416 240 432)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "OutSel[1]" (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 72 456 240 472)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "OutSel[0]" (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
	(output)
	(rect 1080 168 1256 184)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "Cnt8b[7..0]" (rect 90 0 145 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 432 80 576 192)
	(text "lpm_counter24" (rect 30 1 130 17)(font "Arial" (font_size 10)))
	(text "inst" (rect 8 96 25 108)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "sclr" (rect 0 0 21 14)(font "Arial" (font_size 8)))
		(text "sclr" (rect 20 26 41 40)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "updown" (rect 0 0 47 14)(font "Arial" (font_size 8)))
		(text "updown" (rect 20 58 67 72)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
		(text "clock" (rect 26 74 55 88)(font "Arial" (font_size 8)))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 144 64)
		(output)
		(text "q[23..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
		(text "q[23..0]" (rect 89 58 131 72)(font "Arial" (font_size 8)))
		(line (pt 144 64)(pt 128 64)(line_width 3))
	)
	(drawing
		(text "up/down" (rect 94 17 134 29)(font "Arial" ))
		(line (pt 16 16)(pt 128 16)(line_width 1))
		(line (pt 128 16)(pt 128 96)(line_width 1))
		(line (pt 128 96)(pt 16 96)(line_width 1))
		(line (pt 16 96)(pt 16 16)(line_width 1))
		(line (pt 16 74)(pt 22 80)(line_width 1))
		(line (pt 22 80)(pt 16 86)(line_width 1))
	)
)
(symbol
	(rect 904 112 1040 224)
	(text "Mux" (rect 60 2 89 18)(font "Arial" (font_size 10)))
	(text "inst5" (rect 8 96 31 108)(font "Arial" ))
	(port
		(pt 0 40)
		(input)
		(text "data3x[7..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
		(text "data3x[7..0]" (rect 4 27 71 41)(font "Arial" (font_size 8)))
		(line (pt 0 40)(pt 64 40)(line_width 3))
	)
	(port
		(pt 0 56)
		(input)
		(text "data2x[7..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
		(text "data2x[7..0]" (rect 4 43 71 57)(font "Arial" (font_size 8)))
		(line (pt 0 56)(pt 64 56)(line_width 3))
	)
	(port
		(pt 0 72)
		(input)
		(text "data1x[7..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
		(text "data1x[7..0]" (rect 4 59 71 73)(font "Arial" (font_size 8)))
		(line (pt 0 72)(pt 64 72)(line_width 3))
	)
	(port
		(pt 0 88)
		(input)
		(text "data0x[7..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
		(text "data0x[7..0]" (rect 4 75 71 89)(font "Arial" (font_size 8)))
		(line (pt 0 88)(pt 64 88)(line_width 3))
	)
	(port
		(pt 72 112)
		(input)
		(text "sel[1..0]" (rect 0 0 44 14)(font "Arial" (font_size 8)))
		(text "sel[1..0]" (rect 76 99 120 113)(font "Arial" (font_size 8)))
		(line (pt 72 112)(pt 72 100)(line_width 3))
	)
	(port
		(pt 136 64)
		(output)
		(text "result[7..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "result[7..0]" (rect 82 51 142 65)(font "Arial" (font_size 8)))
		(line (pt 136 64)(pt 80 64)(line_width 3))
	)
	(drawing
		(line (pt 64 24)(pt 64 104)(line_width 1))
		(line (pt 80 32)(pt 80 96)(line_width 1))
		(line (pt 64 24)(pt 80 32)(line_width 1))
		(line (pt 64 104)(pt 80 96)(line_width 1))
	)
)
(symbol
	(rect 296 136 360 184)
	(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
	(text "inst2" (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 14 16)(line_width 1))
	)
	(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 14 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 42 24)(pt 64 24)(line_width 1))
	)
	(drawing
		(line (pt 14 12)(pt 30 12)(line_width 1))
		(line (pt 14 37)(pt 31 37)(line_width 1))
		(line (pt 14 12)(pt 14 37)(line_width 1))
		(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
	)
)
(symbol
	(rect 312 24 376 104)
	(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
	(text "inst3" (rect 3 68 26 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 280 -8 328 24)
	(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
	(text "inst7" (rect 3 21 26 33)(font "Arial" ))
	(port
		(pt 0 16)
		(input)
		(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
		(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
		(line (pt 0 16)(pt 13 16)(line_width 1))
	)
	(port
		(pt 48 16)
		(output)
		(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
		(line (pt 39 16)(pt 48 16)(line_width 1))
	)
	(drawing
		(line (pt 13 25)(pt 13 7)(line_width 1))
		(line (pt 13 7)(pt 31 16)(line_width 1))
		(line (pt 13 25)(pt 31 16)(line_width 1))
		(circle (rect 31 12 39 20)(line_width 1))
	)
)
(symbol
	(rect 272 96 320 128)
	(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
	(text "inst8" (rect 3 21 26 33)(font "Arial" ))
	(port
		(pt 0 16)
		(input)
		(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
		(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
		(line (pt 0 16)(pt 13 16)(line_width 1))
	)
	(port
		(pt 48 16)
		(output)
		(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
		(line (pt 39 16)(pt 48 16)(line_width 1))
	)
	(drawing
		(line (pt 13 25)(pt 13 7)(line_width 1))
		(line (pt 13 7)(pt 31 16)(line_width 1))
		(line (pt 13 25)(pt 31 16)(line_width 1))
		(circle (rect 31 12 39 20)(line_width 1))
	)
)
(symbol
	(rect 264 32 280 64)
	(text "VCC" (rect 0 5 10 25)(font "Arial" (font_size 6))(vertical))
	(text "inst6" (rect 5 6 17 29)(font "Arial" )(vertical)(invisible))
	(port
		(pt 16 16)
		(output)
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(text "1" (rect 7 8 19 13)(font "Courier New" (bold))(vertical)(invisible))
		(line (pt 16 16)(pt 8 16)(line_width 1))
	)
	(drawing
		(line (pt 8 24)(pt 8 8)(line_width 1))
	)
	(rotate90)
)
(connector
	(pt 400 144)
	(pt 432 144)
)
(connector
	(pt 416 112)
	(pt 432 112)
)
(connector
	(pt 976 224)
	(pt 976 264)
	(bus)
)
(connector
	(text "OutSel[1..0]" (rect 909 248 968 260)(font "Arial" ))
	(pt 976 264)
	(pt 896 264)
	(bus)
)
(connector
	(pt 1040 176)
	(pt 1080 176)
	(bus)
)
(connector
	(text "cnt[23..16]" (rect 840 136 893 148)(font "Arial" ))
	(pt 904 152)
	(pt 824 152)
	(bus)
)
(connector
	(text "cnt[23..16]" (rect 840 152 893 164)(font "Arial" ))
	(pt 904 168)
	(pt 824 168)
	(bus)
)
(connector
	(text "cnt[15..8]" (rect 840 168 887 180)(font "Arial" ))
	(pt 904 184)
	(pt 824 184)
	(bus)
)
(connector
	(text "cnt[7..0]" (rect 840 184 881 196)(font "Arial" ))
	(pt 904 200)
	(pt 824 200)
	(bus)
)
(connector
	(text "cnt[23..0]" (rect 627 128 674 140)(font "Arial" ))
	(pt 576 144)
	(pt 648 144)
	(bus)
)
(connector
	(pt 360 160)
	(pt 432 160)
)
(connector
	(pt 400 48)
	(pt 376 48)
)
(connector
	(pt 400 144)
	(pt 400 48)
)
(connector
	(pt 312 64)
	(pt 296 64)
)
(connector
	(pt 296 64)
	(pt 296 48)
)
(connector
	(pt 280 48)
	(pt 296 48)
)
(connector
	(pt 296 48)
	(pt 312 48)
)
(connector
	(pt 416 112)
	(pt 416 -16)
)
(connector
	(pt 224 -16)
	(pt 416 -16)
)
(connector
	(pt 344 8)
	(pt 328 8)
)
(connector
	(pt 344 24)
	(pt 344 8)
)
(connector
	(pt 280 8)
	(pt 240 8)
)
(connector
	(pt 240 8)
	(pt 240 168)
)
(connector
	(pt 224 168)
	(pt 240 168)
)
(connector
	(pt 240 168)
	(pt 296 168)
)
(connector
	(pt 320 112)
	(pt 344 112)
)
(connector
	(pt 344 112)
	(pt 344 104)
)
(connector
	(pt 272 112)
	(pt 264 112)
)
(connector
	(pt 264 112)
	(pt 264 152)
)
(connector
	(pt 224 152)
	(pt 264 152)
)
(connector
	(pt 264 152)
	(pt 296 152)
)
(junction (pt 296 48))
(junction (pt 240 168))
(junction (pt 264 152))

⌨️ 快捷键说明

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