www.pudn.com > traffic_control2.rar > top.bdf, change:2013-03-31,size:11430b


/* 
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-2008 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. 
*/ 
//#pragma file_not_in_maxplusii_format 
(header "graphic" (version "1.3")) 
(pin 
	(input) 
	(rect 296 816 464 832) 
	(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 296 936 464 952) 
	(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))) 
) 
(pin 
	(output) 
	(rect 984 784 1160 800) 
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) 
	(text "r1" (rect 90 0 99 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 984 824 1160 840) 
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) 
	(text "r2" (rect 90 0 99 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 984 864 1160 880) 
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) 
	(text "y1" (rect 90 0 102 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 984 904 1160 920) 
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) 
	(text "y2" (rect 90 0 102 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 984 944 1160 960) 
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) 
	(text "g1" (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)) 
	) 
) 
(pin 
	(output) 
	(rect 984 992 1160 1008) 
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) 
	(text "g2" (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)) 
	) 
) 
(block 
	(rect 640 528 824 648) 
	(text "count30" (rect 5 5 51 19)(font "Arial" (font_size 8)))	(text "inst" (rect 5 106 22 118)(font "Arial" ))	(block_io "clk" (input)) 
	(block_io "enable" (input)) 
	(block_io "c" (output)) 
	(mapper 
		(pt 0 80) 
		(bidir) 
		(mapping "clk" "" ) 
		(annotation_block (mapping)(rect 576 624 624 656)) 
	) 
	(mapper 
		(pt 0 112) 
		(bidir) 
		) 
	(mapper 
		(pt 184 88) 
		(bidir) 
		(mapping "c" "" ) 
		(annotation_block (mapping)(rect 840 632 888 664)) 
	) 
) 
(block 
	(rect 640 216 824 336) 
	(text "count26" (rect 5 5 51 19)(font "Arial" (font_size 8)))	(text "inst1" (rect 5 106 28 118)(font "Arial" ))	(block_io "clk" (input)) 
	(block_io "enable" (input)) 
	(block_io "c" (output)) 
	(mapper 
		(pt 0 32) 
		(bidir) 
		(mapping "clk" "" ) 
		(annotation_block (mapping)(rect 576 264 624 296)) 
	) 
	(mapper 
		(pt 0 104) 
		(bidir) 
		) 
	(mapper 
		(pt 184 96) 
		(bidir) 
		(mapping "c" "" ) 
		(annotation_block (mapping)(rect 840 328 888 360)) 
	) 
) 
(block 
	(rect 640 368 824 488) 
	(text "count05" (rect 5 5 51 19)(font "Arial" (font_size 8)))	(text "inst2" (rect 5 106 28 118)(font "Arial" ))	(block_io "clk" (input)) 
	(block_io "enable" (input)) 
	(block_io "c" (output)) 
	(mapper 
		(pt 0 48) 
		(bidir) 
		(mapping "clk" "" ) 
		(annotation_block (mapping)(rect 576 432 624 464)) 
	) 
	(mapper 
		(pt 0 96) 
		(bidir) 
		(mapping "enable" "" ) 
		(annotation_block (mapping)(rect 576 480 624 512)) 
	) 
	(mapper 
		(pt 184 96) 
		(bidir) 
		(mapping "c" "" ) 
		(annotation_block (mapping)(rect 840 480 888 512)) 
	) 
) 
(block 
	(rect 640 696 824 1024) 
	(text "traffic_control" (rect 5 5 85 19)(font "Arial" (font_size 8)))	(text "inst3" (rect 5 314 28 326)(font "Arial" ))	(block_io "clk" (input)) 
	(block_io "w1" (input)) 
	(block_io "w2" (input)) 
	(block_io "w3" (input)) 
	(block_io "reset" (input)) 
	(block_io "c1" (output)) 
	(block_io "c2" (output)) 
	(block_io "c3" (output)) 
	(block_io "r1" (output)) 
	(block_io "r2" (output)) 
	(block_io "y1" (output)) 
	(block_io "y2" (output)) 
	(block_io "g1" (output)) 
	(block_io "g2" (output)) 
	(mapper 
		(pt 0 128) 
		(bidir) 
		(mapping "clk" "clk" ) 
		(annotation_block (mapping)(rect 576 840 632 872)) 
	) 
	(mapper 
		(pt 0 248) 
		(bidir) 
		(mapping "reset" "reset" ) 
		(annotation_block (mapping)(rect 552 960 624 992)) 
	) 
	(mapper 
		(pt 184 96) 
		(bidir) 
		(mapping "r1" "r1" ) 
		(annotation_block (mapping)(rect 840 808 896 840)) 
	) 
	(mapper 
		(pt 184 136) 
		(bidir) 
		(mapping "r2" "r2" ) 
		(annotation_block (mapping)(rect 840 848 896 880)) 
	) 
	(mapper 
		(pt 184 176) 
		(bidir) 
		(mapping "y1" "y1" ) 
		(annotation_block (mapping)(rect 840 888 896 920)) 
	) 
	(mapper 
		(pt 184 216) 
		(bidir) 
		(mapping "y2" "y2" ) 
		(annotation_block (mapping)(rect 840 928 896 960)) 
	) 
	(mapper 
		(pt 184 304) 
		(bidir) 
		(mapping "g2" "g2" ) 
		(annotation_block (mapping)(rect 840 1016 896 1048)) 
	) 
	(mapper 
		(pt 184 256) 
		(bidir) 
		(mapping "g1" "g1" ) 
		(annotation_block (mapping)(rect 840 968 896 1000)) 
	) 
	(mapper 
		(pt 0 40) 
		(bidir) 
		(mapping "w1" "" ) 
		(annotation_block (mapping)(rect 576 752 624 784)) 
	) 
	(mapper 
		(pt 184 48) 
		(bidir) 
		(mapping "c2" "" ) 
		(annotation_block (mapping)(rect 840 760 888 792)) 
	) 
	(mapper 
		(pt 184 24) 
		(bidir) 
		(mapping "c1" "" ) 
		(annotation_block (mapping)(rect 840 736 888 768)) 
	) 
	(mapper 
		(pt 184 72) 
		(bidir) 
		(mapping "c3" "" ) 
		(annotation_block (mapping)(rect 840 784 888 816)) 
	) 
	(mapper 
		(pt 0 64) 
		(bidir) 
		(mapping "w2" "" ) 
		(annotation_block (mapping)(rect 576 776 624 808)) 
	) 
	(mapper 
		(pt 0 88) 
		(bidir) 
		(mapping "w3" "" ) 
		(annotation_block (mapping)(rect 576 800 624 832)) 
	) 
) 
(connector 
	(pt 640 944) 
	(pt 464 944) 
	(conduit) 
) 
(connector 
	(pt 984 792) 
	(pt 824 792) 
	(conduit) 
) 
(connector 
	(pt 984 832) 
	(pt 824 832) 
	(conduit) 
) 
(connector 
	(pt 984 872) 
	(pt 824 872) 
	(conduit) 
) 
(connector 
	(pt 984 912) 
	(pt 824 912) 
	(conduit) 
) 
(connector 
	(pt 984 952) 
	(pt 824 952) 
	(conduit) 
) 
(connector 
	(pt 984 1000) 
	(pt 824 1000) 
	(conduit) 
) 
(connector 
	(pt 568 664) 
	(pt 568 736) 
	(conduit) 
) 
(connector 
	(pt 568 736) 
	(pt 640 736) 
	(conduit) 
) 
(connector 
	(pt 640 608) 
	(pt 520 608) 
	(conduit) 
) 
(connector 
	(pt 464 824) 
	(pt 520 824) 
	(conduit) 
) 
(connector 
	(pt 520 824) 
	(pt 640 824) 
	(conduit) 
) 
(connector 
	(pt 640 416) 
	(pt 520 416) 
	(conduit) 
) 
(connector 
	(pt 520 608) 
	(pt 520 824) 
	(conduit) 
) 
(connector 
	(pt 640 248) 
	(pt 520 248) 
	(conduit) 
) 
(connector 
	(pt 520 248) 
	(pt 520 416) 
	(conduit) 
) 
(connector 
	(pt 520 416) 
	(pt 520 608) 
	(conduit) 
) 
(connector 
	(pt 640 464) 
	(pt 608 464) 
	(conduit) 
) 
(connector 
	(pt 608 464) 
	(pt 608 496) 
	(conduit) 
) 
(connector 
	(pt 856 496) 
	(pt 608 496) 
	(conduit) 
) 
(connector 
	(pt 568 664) 
	(pt 848 664) 
	(conduit) 
) 
(connector 
	(pt 848 664) 
	(pt 848 616) 
	(conduit) 
) 
(connector 
	(pt 824 616) 
	(pt 848 616) 
	(conduit) 
) 
(connector 
	(pt 640 640) 
	(pt 624 640) 
	(conduit) 
) 
(connector 
	(pt 624 640) 
	(pt 624 672) 
	(conduit) 
) 
(connector 
	(pt 856 744) 
	(pt 856 496) 
	(conduit) 
) 
(connector 
	(pt 856 744) 
	(pt 824 744) 
	(conduit) 
) 
(connector 
	(pt 624 672) 
	(pt 848 672) 
	(conduit) 
) 
(connector 
	(pt 848 672) 
	(pt 848 720) 
	(conduit) 
) 
(connector 
	(pt 848 720) 
	(pt 824 720) 
	(conduit) 
) 
(connector 
	(pt 640 320) 
	(pt 608 320) 
	(conduit) 
) 
(connector 
	(pt 608 320) 
	(pt 608 344) 
	(conduit) 
) 
(connector 
	(pt 904 344) 
	(pt 608 344) 
	(conduit) 
) 
(connector 
	(pt 904 344) 
	(pt 904 768) 
	(conduit) 
) 
(connector 
	(pt 904 768) 
	(pt 824 768) 
	(conduit) 
) 
(connector 
	(pt 824 464) 
	(pt 880 464) 
	(conduit) 
) 
(connector 
	(pt 880 464) 
	(pt 880 520) 
	(conduit) 
) 
(connector 
	(pt 880 520) 
	(pt 552 520) 
	(conduit) 
) 
(connector 
	(pt 552 520) 
	(pt 552 760) 
	(conduit) 
) 
(connector 
	(pt 552 760) 
	(pt 640 760) 
	(conduit) 
) 
(connector 
	(pt 824 312) 
	(pt 864 312) 
	(conduit) 
) 
(connector 
	(pt 864 312) 
	(pt 864 360) 
	(conduit) 
) 
(connector 
	(pt 544 360) 
	(pt 864 360) 
	(conduit) 
) 
(connector 
	(pt 544 360) 
	(pt 544 784) 
	(conduit) 
) 
(connector 
	(pt 544 784) 
	(pt 640 784) 
	(conduit) 
) 
(junction (pt 520 824)) 
(junction (pt 520 608)) 
(junction (pt 520 416))