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

📄 4encoder.bdf

📁 编码器信号处理 经过倍频器进行四倍频 后 同时完成鉴相 计数
💻 BDF
📖 第 1 页 / 共 2 页
字号:
/*
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-2007 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.
*/
(header "graphic" (version "1.3"))
(pin
	(input)
	(rect 696 152 864 168)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "QA0" (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 696 168 864 184)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "QB0" (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 696 312 864 328)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "QA1" (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 696 328 864 344)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "QB1" (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 696 472 864 488)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "QA2" (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 696 488 864 504)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "QB2" (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 704 632 872 648)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "QA3" (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 704 648 872 664)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "QB3" (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 696 88 864 104)
	(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)))
)
(pin
	(input)
	(rect 32 352 200 368)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "A1" (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 "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 32 368 200 384)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "A0" (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 "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 32 400 200 416)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "A14" (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 32 416 200 432)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "A13" (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 32 536 200 552)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "CS0and1" (rect 5 0 49 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 1128 136 1304 152)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "dir0" (rect 90 0 107 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 1128 296 1304 312)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "dir1" (rect 90 0 107 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 1128 456 1304 472)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "dir2" (rect 90 0 107 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 1128 616 1304 632)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "dir3" (rect 90 0 107 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 16 1320 32)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "Y[15..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))
	)
)
(symbol
	(rect 376 320 496 480)
	(text "74138" (rect 42 0 83 16)(font "Arial" (font_size 10)))
	(text "inst" (rect 3 149 20 161)(font "Arial" ))
	(port
		(pt 0 40)
		(input)
		(text "A" (rect 22 33 31 47)(font "Arial" (font_size 8)))
		(text "A" (rect 22 33 31 47)(font "Arial" (font_size 8)))
		(line (pt 0 40)(pt 16 40)(line_width 1))
	)
	(port
		(pt 0 56)
		(input)
		(text "B" (rect 22 49 30 63)(font "Arial" (font_size 8)))
		(text "B" (rect 22 49 30 63)(font "Arial" (font_size 8)))
		(line (pt 0 56)(pt 16 56)(line_width 1))
	)
	(port
		(pt 0 88)
		(input)
		(text "G1" (rect 22 81 38 95)(font "Arial" (font_size 8)))
		(text "G1" (rect 22 81 38 95)(font "Arial" (font_size 8)))
		(line (pt 0 88)(pt 16 88)(line_width 1))
	)
	(port
		(pt 0 72)
		(input)
		(text "C" (rect 22 65 30 79)(font "Arial" (font_size 8)))
		(text "C" (rect 22 65 30 79)(font "Arial" (font_size 8)))
		(line (pt 0 72)(pt 16 72)(line_width 1))
	)
	(port
		(pt 0 104)
		(input)
		(text "G2AN" (rect 22 97 56 111)(font "Arial" (font_size 8)))
		(text "G2AN" (rect 22 97 56 111)(font "Arial" (font_size 8)))
		(line (pt 0 104)(pt 8 104)(line_width 1))
	)
	(port
		(pt 0 120)
		(input)
		(text "G2BN" (rect 22 113 55 127)(font "Arial" (font_size 8)))
		(text "G2BN" (rect 22 113 55 127)(font "Arial" (font_size 8)))
		(line (pt 0 120)(pt 8 120)(line_width 1))
	)
	(port
		(pt 120 24)
		(output)
		(text "Y0N" (rect 77 17 101 31)(font "Arial" (font_size 8)))
		(text "Y0N" (rect 77 17 101 31)(font "Arial" (font_size 8)))
		(line (pt 112 24)(pt 120 24)(line_width 1))
	)
	(port
		(pt 120 40)
		(output)
		(text "Y1N" (rect 77 33 101 47)(font "Arial" (font_size 8)))
		(text "Y1N" (rect 77 33 101 47)(font "Arial" (font_size 8)))
		(line (pt 112 40)(pt 120 40)(line_width 1))
	)
	(port
		(pt 120 56)
		(output)
		(text "Y2N" (rect 77 49 101 63)(font "Arial" (font_size 8)))
		(text "Y2N" (rect 77 49 101 63)(font "Arial" (font_size 8)))
		(line (pt 112 56)(pt 120 56)(line_width 1))
	)
	(port
		(pt 120 72)
		(output)
		(text "Y3N" (rect 77 65 101 79)(font "Arial" (font_size 8)))
		(text "Y3N" (rect 77 65 101 79)(font "Arial" (font_size 8)))
		(line (pt 112 72)(pt 120 72)(line_width 1))
	)
	(port
		(pt 120 88)
		(output)
		(text "Y4N" (rect 77 81 101 95)(font "Arial" (font_size 8)))
		(text "Y4N" (rect 77 81 101 95)(font "Arial" (font_size 8)))
		(line (pt 112 88)(pt 120 88)(line_width 1))
	)
	(port
		(pt 120 104)
		(output)
		(text "Y5N" (rect 77 97 101 111)(font "Arial" (font_size 8)))
		(text "Y5N" (rect 77 97 101 111)(font "Arial" (font_size 8)))
		(line (pt 112 104)(pt 120 104)(line_width 1))
	)
	(port
		(pt 120 120)
		(output)
		(text "Y6N" (rect 77 113 101 127)(font "Arial" (font_size 8)))
		(text "Y6N" (rect 77 113 101 127)(font "Arial" (font_size 8)))
		(line (pt 112 120)(pt 120 120)(line_width 1))
	)
	(port
		(pt 120 136)
		(output)
		(text "Y7N" (rect 77 129 101 143)(font "Arial" (font_size 8)))
		(text "Y7N" (rect 77 129 101 143)(font "Arial" (font_size 8)))
		(line (pt 112 136)(pt 120 136)(line_width 1))
	)
	(drawing
		(text "3:8 DECODER" (rect 28 145 105 159)(font "Arial" (font_size 8)))
		(line (pt 16 16)(pt 104 16)(line_width 1))
		(line (pt 16 144)(pt 104 144)(line_width 1))
		(line (pt 16 144)(pt 16 16)(line_width 1))
		(line (pt 104 144)(pt 104 16)(line_width 1))
		(circle (rect 104 68 112 76)(line_width 1))
		(circle (rect 104 84 112 92)(line_width 1))
		(circle (rect 104 100 112 108)(line_width 1))
		(circle (rect 104 132 112 140)(line_width 1))
		(circle (rect 104 116 112 124)(line_width 1))
		(circle (rect 8 100 16 108)(line_width 1))
		(circle (rect 8 116 16 124)(line_width 1))
		(circle (rect 104 20 112 28)(line_width 1))
		(circle (rect 104 36 112 44)(line_width 1))
		(circle (rect 104 52 112 60)(line_width 1))
	)
)
(symbol
	(rect 928 112 1024 240)
	(text "encoder" (rect 5 0 43 12)(font "Arial" ))
	(text "inst1" (rect 8 112 31 124)(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 "QA" (rect 0 0 15 12)(font "Arial" ))
		(text "QA" (rect 21 43 36 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)

⌨️ 快捷键说明

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