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

📄 taxi_top.bdf

📁 基于Quartus II FPGA/CPLD数字系统设计实例(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-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 56 152 224 168)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "clk20mhz" (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)))
	(annotation_block (location)(rect 8 168 56 184))
)
(pin
	(input)
	(rect 56 192 224 208)
	(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 8 208 56 224))
)
(pin
	(input)
	(rect 56 224 224 240)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "start" (rect 5 0 27 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 8 240 56 256))
)
(pin
	(input)
	(rect 56 272 224 288)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "stop" (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 8 288 56 304))
)
(pin
	(input)
	(rect 56 312 224 328)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "pause" (rect 5 0 34 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 8 328 56 344))
)
(pin
	(input)
	(rect 56 344 224 360)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "speedup[1..0]" (rect 5 0 72 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 8 360 56 376))
)
(pin
	(output)
	(rect 720 208 896 224)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "scan[7..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 896 224 944 312))
)
(pin
	(output)
	(rect 720 240 896 256)
	(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 896 256 944 360))
)
(pin
	(output)
	(rect 720 280 896 296)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "dp" (rect 90 0 101 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 896 296 944 312))
)
(symbol
	(rect 496 200 688 296)
	(text "decoder" (rect 5 0 43 12)(font "Arial" ))
	(text "inst1" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clk20mhz" (rect 0 0 46 12)(font "Arial" ))
		(text "clk20mhz" (rect 21 27 67 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "money_in[12..0]" (rect 0 0 80 12)(font "Arial" ))
		(text "money_in[12..0]" (rect 21 43 101 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 3))
	)
	(port
		(pt 0 64)
		(input)
		(text "distance_in[12..0]" (rect 0 0 87 12)(font "Arial" ))
		(text "distance_in[12..0]" (rect 21 59 108 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 192 32)
		(output)
		(text "scan[7..0]" (rect 0 0 49 12)(font "Arial" ))
		(text "scan[7..0]" (rect 122 27 171 39)(font "Arial" ))
		(line (pt 192 32)(pt 176 32)(line_width 3))
	)
	(port
		(pt 192 48)
		(output)
		(text "seg7[6..0]" (rect 0 0 49 12)(font "Arial" ))
		(text "seg7[6..0]" (rect 122 43 171 55)(font "Arial" ))
		(line (pt 192 48)(pt 176 48)(line_width 3))
	)
	(port
		(pt 192 64)
		(output)
		(text "dp" (rect 0 0 11 12)(font "Arial" ))
		(text "dp" (rect 160 59 171 71)(font "Arial" ))
		(line (pt 192 64)(pt 176 64)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 176 80)(line_width 1))
	)
)
(symbol
	(rect 272 216 464 344)
	(text "taxi" (rect 5 0 22 12)(font "Arial" ))
	(text "inst" (rect 8 112 25 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 "start" (rect 0 0 22 12)(font "Arial" ))
		(text "start" (rect 21 43 43 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "stop" (rect 0 0 21 12)(font "Arial" ))
		(text "stop" (rect 21 59 42 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "pause" (rect 0 0 29 12)(font "Arial" ))
		(text "pause" (rect 21 75 50 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "speedup[1..0]" (rect 0 0 67 12)(font "Arial" ))
		(text "speedup[1..0]" (rect 21 91 88 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 3))
	)
	(port
		(pt 192 32)
		(output)
		(text "money[12..0]" (rect 0 0 66 12)(font "Arial" ))
		(text "money[12..0]" (rect 105 27 171 39)(font "Arial" ))
		(line (pt 192 32)(pt 176 32)(line_width 3))
	)
	(port
		(pt 192 48)
		(output)
		(text "distance[12..0]" (rect 0 0 73 12)(font "Arial" ))
		(text "distance[12..0]" (rect 98 43 171 55)(font "Arial" ))
		(line (pt 192 48)(pt 176 48)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 176 112)(line_width 1))
	)
)
(connector
	(pt 480 232)
	(pt 496 232)
)
(connector
	(pt 688 264)
	(pt 704 264)
)
(connector
	(pt 688 232)
	(pt 696 232)
	(bus)
)
(connector
	(pt 696 232)
	(pt 696 216)
	(bus)
)
(connector
	(pt 696 216)
	(pt 720 216)
	(bus)
)
(connector
	(pt 688 248)
	(pt 720 248)
	(bus)
)
(connector
	(pt 704 264)
	(pt 704 288)
)
(connector
	(pt 704 288)
	(pt 720 288)
)
(connector
	(pt 272 296)
	(pt 240 296)
)
(connector
	(pt 240 296)
	(pt 240 320)
)
(connector
	(pt 224 320)
	(pt 240 320)
)
(connector
	(pt 272 280)
	(pt 224 280)
)
(connector
	(pt 272 248)
	(pt 248 248)
)
(connector
	(pt 248 200)
	(pt 224 200)
)
(connector
	(pt 248 248)
	(pt 248 200)
)
(connector
	(pt 224 232)
	(pt 232 232)
)
(connector
	(pt 232 232)
	(pt 232 264)
)
(connector
	(pt 272 264)
	(pt 232 264)
)
(connector
	(pt 480 160)
	(pt 224 160)
)
(connector
	(pt 480 232)
	(pt 480 160)
)
(connector
	(pt 464 248)
	(pt 496 248)
	(bus)
)
(connector
	(pt 464 264)
	(pt 496 264)
	(bus)
)
(connector
	(pt 224 352)
	(pt 256 352)
	(bus)
)
(connector
	(pt 256 352)
	(pt 256 312)
	(bus)
)
(connector
	(pt 256 312)
	(pt 272 312)
	(bus)
)

⌨️ 快捷键说明

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