www.pudn.com > ep1c6_12_1_2_moto.rar > STEP_A.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-2004 Altera Corporation 
Any  megafunction  design,  and related netlist (encrypted  or  decrypted), 
support information,  device programming or simulation file,  and any other 
associated  documentation or information  provided by  Altera  or a partner 
under  Altera's   Megafunction   Partnership   Program  may  be  used  only 
to program  PLD  devices (but not masked  PLD  devices) from  Altera.   Any 
other  use  of such  megafunction  design,  netlist,  support  information, 
device programming or simulation file,  or any other  related documentation 
or information  is prohibited  for  any  other purpose,  including, but not 
limited to  modification,  reverse engineering,  de-compiling, or use  with 
any other  silicon devices,  unless such use is  explicitly  licensed under 
a separate agreement with  Altera  or a megafunction partner.  Title to the 
intellectual property,  including patents,  copyrights,  trademarks,  trade 
secrets,  or maskworks,  embodied in any such megafunction design, netlist, 
support  information,  device programming or simulation file,  or any other 
related documentation or information provided by  Altera  or a megafunction 
partner, remains with Altera, the megafunction partner, or their respective 
licensors. No other licenses, including any licenses needed under any third 
party's intellectual property, are provided herein. 
*/ 
(header "graphic" (version "1.3")) 
(pin 
	(input) 
	(rect 176 320 344 336) 
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6))) 
	(text "clk0" (rect 52 1 74 15)(font "Arial" (font_size 8))) 
	(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 80 344 168 376)) 
) 
(pin 
	(input) 
	(rect 112 744 280 760) 
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6))) 
	(text "Z_F" (rect 52 1 74 15)(font "Arial" (font_size 8))) 
	(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 136 680 216 712)) 
) 
(pin 
	(input) 
	(rect 200 976 368 992) 
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6))) 
	(text "CNTT" (rect 45 1 75 15)(font "Arial" (font_size 8))) 
	(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 104 992 192 1024)) 
) 
(pin 
	(input) 
	(rect 168 552 336 568) 
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6))) 
	(text "D_STP" (rect 39 1 76 15)(font "Arial" (font_size 8))) 
	(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 80 528 160 560)) 
) 
(pin 
	(input) 
	(rect 184 376 352 392) 
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6))) 
	(text "u_d" (rect 53 1 74 15)(font "Arial" (font_size 8))) 
	(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 80 384 168 416)) 
) 
(pin 
	(input) 
	(rect 120 280 288 296) 
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6))) 
	(text "clk5" (rect 52 1 74 15)(font "Arial" (font_size 8))) 
	(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 128 216 216 248)) 
) 
(pin 
	(input) 
	(rect 344 32 512 48) 
	(text "INPUT" (rect 7 7 35 17)(font "Arial" (font_size 6))) 
	(text "S" (rect 96 1 104 15)(font "Arial" (font_size 8))) 
	(pt 0 8) 
	(drawing 
		(line (pt 76 4)(pt 51 4)(line_width 1)) 
		(line (pt 76 12)(pt 51 12)(line_width 1)) 
		(line (pt 47 8)(pt 0 8)(line_width 1)) 
		(line (pt 76 4)(pt 76 12)(line_width 1)) 
		(line (pt 51 12)(pt 47 8)(line_width 1)) 
		(line (pt 51 4)(pt 47 8)(line_width 1)) 
	) 
	(rotate180) 
	(text "VCC" (rect 12 -1 32 9)(font "Arial" (font_size 6))) 
	(annotation_block (location)(rect 528 -8 608 24)) 
) 
(pin 
	(output) 
	(rect 376 112 552 128) 
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6))) 
	(text "Y[3..0]" (rect 90 0 127 14)(font "Arial" (font_size 8))) 
	(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 624 -24 712 48)) 
) 
(pin 
	(output) 
	(rect 576 536 752 552) 
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6))) 
	(text "DLED[1..0]" (rect 90 0 149 14)(font "Arial" (font_size 8))) 
	(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 760 528 848 576)) 
) 
(pin 
	(output) 
	(rect 576 672 752 688) 
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6))) 
	(text "Z" (rect 90 0 98 14)(font "Arial" (font_size 8))) 
	(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 760 640 848 672)) 
) 
(pin 
	(output) 
	(rect 576 696 752 712) 
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6))) 
	(text "F" (rect 90 0 97 14)(font "Arial" (font_size 8))) 
	(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 768 688 856 720)) 
) 
(pin 
	(output) 
	(rect 672 768 848 784) 
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6))) 
	(text "D[15..0]" (rect 90 0 133 14)(font "Arial" (font_size 8))) 
	(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 952 784 1040 1024)) 
) 
(pin 
	(output) 
	(rect 672 752 848 768) 
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6))) 
	(text "COUT" (rect 90 0 123 14)(font "Arial" (font_size 8))) 
	(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 568 848 744 864) 
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6))) 
	(text "cntout" (rect 90 0 120 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 752 808 840 840)) 
) 
(symbol 
	(rect 240 664 272 696) 
	(text "GND" (rect 7 7 17 28)(font "Arial" (font_size 6))(vertical)) 
	(text "64" (rect 1 -2 11 7)(font "Arial" (font_size 6))(vertical)) 
	(port 
		(pt 32 16) 
		(output) 
		(text "1" (rect 25 23 37 28)(font "Courier New" (bold))(vertical)(invisible)) 
		(text "1" (rect 25 23 37 28)(font "Courier New" (bold))(vertical)(invisible)) 
		(line (pt 24 16)(pt 32 16)(line_width 1)) 
	) 
	(drawing 
		(line (pt 24 8)(pt 24 24)(line_width 1)) 
		(line (pt 24 8)(pt 16 16)(line_width 1)) 
		(line (pt 16 16)(pt 24 24)(line_width 1)) 
	) 
	(rotate270) 
) 
(symbol 
	(rect 336 344 368 376) 
	(text "GND" (rect 7 7 17 28)(font "Arial" (font_size 6))(vertical)) 
	(text "128" (rect 1 -6 11 8)(font "Arial" (font_size 6))(vertical)) 
	(port 
		(pt 32 16) 
		(output) 
		(text "1" (rect 25 23 37 28)(font "Courier New" (bold))(vertical)(invisible)) 
		(text "1" (rect 25 23 37 28)(font "Courier New" (bold))(vertical)(invisible)) 
		(line (pt 24 16)(pt 32 16)(line_width 1)) 
	) 
	(drawing 
		(line (pt 24 8)(pt 24 24)(line_width 1)) 
		(line (pt 24 8)(pt 16 16)(line_width 1)) 
		(line (pt 16 16)(pt 24 24)(line_width 1)) 
	) 
	(rotate270) 
) 
(symbol 
	(rect 248 80 360 168) 
	(text "BUSMUX" (rect 28 71 91 87)(font "Arial" (font_size 10))) 
	(text "41" (rect 3 -1 12 9)(font "Arial" (font_size 6))) 
	(port 
		(pt 0 24) 
		(input) 
		(text "datab[WIDTH-1..0]" (rect 6 23 108 37)(font "Arial" (font_size 8))) 
		(text "datab[]" (rect 6 23 44 37)(font "Arial" (font_size 8))) 
		(line (pt 0 24)(pt 44 24)(line_width 3)) 
	) 
	(port 
		(pt 56 0) 
		(input) 
		(text "sel" (rect 59 4 75 18)(font "Arial" (font_size 8))) 
		(text "sel" (rect 59 4 75 18)(font "Arial" (font_size 8))) 
		(line (pt 56 0)(pt 56 16)(line_width 1)) 
	) 
	(port 
		(pt 0 56) 
		(input) 
		(text "dataa[WIDTH-1..0]" (rect 6 55 108 69)(font "Arial" (font_size 8))) 
		(text "dataa[]" (rect 6 55 44 69)(font "Arial" (font_size 8))) 
		(line (pt 0 56)(pt 44 56)(line_width 3)) 
	) 
	(port 
		(pt 112 40) 
		(output) 
		(text "result[WIDTH-1..0]" (rect 75 39 177 53)(font "Arial" (font_size 8))) 
		(text "result[]" (rect 75 39 113 53)(font "Arial" (font_size 8))) 
		(line (pt 68 40)(pt 112 40)(line_width 3)) 
	) 
	(parameter 
		"WIDTH" 
		" 4" 
		"Width of I/O, any integer > 0" 
		" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"  
	) 
	(drawing 
		(text "0" (rect 52 47 56 57)(font "Arial" (font_size 6))) 
		(text "1" (rect 52 23 56 33)(font "Arial" (font_size 6))) 
		(line (pt 68 24)(pt 68 56)(line_width 1)) 
		(line (pt 44 8)(pt 44 72)(line_width 1)) 
		(line (pt 44 72)(pt 68 56)(line_width 1)) 
		(line (pt 44 8)(pt 68 24)(line_width 1)) 
	) 
	(flipx) 
	(annotation_block (parameter)(rect 384 136 488 168)) 
) 
(symbol 
	(rect 336 728 456 808) 
	(text "21mux" (rect 41 64 87 80)(font "Arial" (font_size 10))) 
	(text "66" (rect 2 0 11 10)(font "Arial" (font_size 6))) 
	(port 
		(pt 0 56) 
		(input) 
		(text "A" (rect 22 50 31 64)(font "Arial" (font_size 8))) 
		(text "A" (rect 22 50 31 64)(font "Arial" (font_size 8))) 
		(line (pt 0 56)(pt 16 56)(line_width 1)) 
	) 
	(port 
		(pt 0 40) 
		(input) 
		(text "B" (rect 22 34 30 48)(font "Arial" (font_size 8))) 
		(text "B" (rect 22 34 30 48)(font "Arial" (font_size 8))) 
		(line (pt 0 40)(pt 16 40)(line_width 1)) 
	) 
	(port 
		(pt 0 24) 
		(input) 
		(text "S" (rect 22 18 30 32)(font "Arial" (font_size 8))) 
		(text "S" (rect 22 18 30 32)(font "Arial" (font_size 8))) 
		(line (pt 0 24)(pt 16 24)(line_width 1)) 
	) 
	(port 
		(pt 120 40) 
		(output) 
		(text "Y" (rect 93 34 102 48)(font "Arial" (font_size 8))) 
		(text "Y" (rect 93 34 102 48)(font "Arial" (font_size 8))) 
		(line (pt 104 40)(pt 120 40)(line_width 1)) 
	) 
	(drawing 
		(text "MULTIPLEXER" (rect 30 1 109 15)(font "Arial" (font_size 8))) 
		(line (pt 16 64)(pt 104 64)(line_width 1)) 
		(line (pt 16 16)(pt 104 16)(line_width 1)) 
		(line (pt 16 16)(pt 16 64)(line_width 1)) 
		(line (pt 104 16)(pt 104 64)(line_width 1)) 
	) 
	(flipx) 
) 
(symbol 
	(rect 336 640 456 720) 
	(text "21mux" (rect 41 0 87 16)(font "Arial" (font_size 10))) 
	(text "65" (rect 2 70 11 80)(font "Arial" (font_size 6))) 
	(port 
		(pt 0 24) 
		(input) 
		(text "A" (rect 22 16 31 30)(font "Arial" (font_size 8))) 
		(text "A" (rect 22 16 31 30)(font "Arial" (font_size 8))) 
		(line (pt 0 24)(pt 16 24)(line_width 1)) 
	) 
	(port 
		(pt 0 40) 
		(input) 
		(text "B" (rect 22 32 30 46)(font "Arial" (font_size 8))) 
		(text "B" (rect 22 32 30 46)(font "Arial" (font_size 8))) 
		(line (pt 0 40)(pt 16 40)(line_width 1)) 
	) 
	(port 
		(pt 0 56) 
		(input) 
		(text "S" (rect 22 48 30 62)(font "Arial" (font_size 8))) 
		(text "S" (rect 22 48 30 62)(font "Arial" (font_size 8))) 
		(line (pt 0 56)(pt 16 56)(line_width 1)) 
	) 
	(port 
		(pt 120 40) 
		(output) 
		(text "Y" (rect 93 32 102 46)(font "Arial" (font_size 8))) 
		(text "Y" (rect 93 32 102 46)(font "Arial" (font_size 8))) 
		(line (pt 104 40)(pt 120 40)(line_width 1)) 
	) 
	(drawing 
		(text "MULTIPLEXER" (rect 30 65 109 79)(font "Arial" (font_size 8))) 
		(line (pt 16 16)(pt 104 16)(line_width 1)) 
		(line (pt 16 64)(pt 104 64)(line_width 1)) 
		(line (pt 16 64)(pt 16 16)(line_width 1)) 
		(line (pt 104 64)(pt 104 16)(line_width 1)) 
	) 
) 
(symbol 
	(rect 392 264 528 312) 
	(text "CNT8" (rect 50 -1 87 15)(font "Courier New" (font_size 10)(bold))) 
	(text "83" (rect 0 39 11 51)(font "Courier New" (bold))) 
	(port 
		(pt 0 24) 
		(input) 
		(text "CLK" (rect 20 20 37 32)(font "Courier New" (bold))) 
		(text "CLK" (rect 20 20 37 32)(font "Courier New" (bold))) 
		(line (pt 0 24)(pt 16 24)(line_width 1)) 
	) 
	(port 
		(pt 136 24) 
		(output) 
		(text "CQ[3..0]" (rect 78 20 125 32)(font "Courier New" (bold))) 
		(text "CQ[3..0]" (rect 78 20 125 32)(font "Courier New" (bold))) 
		(line (pt 120 24)(pt 136 24)(line_width 3)) 
	) 
	(drawing 
		(line (pt 16 32)(pt 120 32)(line_width 1)) 
		(line (pt 16 16)(pt 120 16)(line_width 1)) 
		(line (pt 16 32)(pt 16 16)(line_width 1)) 
		(line (pt 120 32)(pt 120 16)(line_width 1)) 
	) 
) 
(symbol 
	(rect 640 248 768 312) 
	(text "cmp3" (rect 46 -1 83 15)(font "Courier New" (font_size 10)(bold))) 
	(text "96" (rect 0 55 11 67)(font "Courier New" (bold))) 
	(port 
		(pt 0 24) 
		(input) 
		(text "a[3..0]" (rect 20 20 61 32)(font "Courier New" (bold))) 
		(text "a[3..0]" (rect 20 20 61 32)(font "Courier New" (bold))) 
		(line (pt 0 24)(pt 16 24)(line_width 3)) 
	) 
	(port 
		(pt 0 40) 
		(input) 
		(text "b[3..0]" (rect 20 36 61 48)(font "Courier New" (bold))) 
		(text "b[3..0]" (rect 20 36 61 48)(font "Courier New" (bold))) 
		(line (pt 0 40)(pt 16 40)(line_width 3)) 
	) 
	(port 
		(pt 128 24) 
		(output) 
		(text "agb" (rect 95 20 112 32)(font "Courier New" (bold))) 
		(text "agb" (rect 95 20 112 32)(font "Courier New" (bold))) 
		(line (pt 112 24)(pt 128 24)(line_width 1)) 
	) 
	(drawing 
		(line (pt 16 48)(pt 112 48)(line_width 1)) 
		(line (pt 16 16)(pt 112 16)(line_width 1)) 
		(line (pt 16 48)(pt 16 16)(line_width 1)) 
		(line (pt 112 48)(pt 112 16)(line_width 1)) 
	) 
) 
(symbol 
	(rect 616 560 744 624) 
	(text "cmp3" (rect 46 -1 83 15)(font "Courier New" (font_size 10)(bold))) 
	(text "131" (rect 0 55 17 67)(font "Courier New" (bold))) 
	(port 
		(pt 0 24) 
		(input) 
		(text "a[3..0]" (rect 20 20 61 32)(font "Courier New" (bold))) 
		(text "a[3..0]" (rect 20 20 61 32)(font "Courier New" (bold))) 
		(line (pt 0 24)(pt 16 24)(line_width 3)) 
	) 
	(port 
		(pt 0 40) 
		(input) 
		(text "b[3..0]" (rect 20 36 61 48)(font "Courier New" (bold))) 
		(text "b[3..0]" (rect 20 36 61 48)(font "Courier New" (bold))) 
		(line (pt 0 40)(pt 16 40)(line_width 3)) 
	) 
	(port 
		(pt 128 24) 
		(output) 
		(text "agb" (rect 95 20 112 32)(font "Courier New" (bold))) 
		(text "agb" (rect 95 20 112 32)(font "Courier New" (bold))) 
		(line (pt 112 24)(pt 128 24)(line_width 1)) 
	) 
	(drawing 
		(line (pt 16 48)(pt 112 48)(line_width 1)) 
		(line (pt 16 16)(pt 112 16)(line_width 1)) 
		(line (pt 16 48)(pt 16 16)(line_width 1)) 
		(line (pt 112 48)(pt 112 16)(line_width 1)) 
	) 
) 
(symbol 
	(rect 640 184 768 248) 
	(text "cmp3" (rect 46 -1 83 15)(font "Courier New" (font_size 10)(bold))) 
	(text "95" (rect 0 55 11 67)(font "Courier New" (bold))) 
	(port 
		(pt 0 24) 
		(input) 
		(text "a[3..0]" (rect 20 20 61 32)(font "Courier New" (bold))) 
		(text "a[3..0]" (rect 20 20 61 32)(font "Courier New" (bold))) 
		(line (pt 0 24)(pt 16 24)(line_width 3)) 
	) 
	(port 
		(pt 0 40) 
		(input) 
		(text "b[3..0]" (rect 20 36 61 48)(font "Courier New" (bold))) 
		(text "b[3..0]" (rect 20 36 61 48)(font "Courier New" (bold))) 
		(line (pt 0 40)(pt 16 40)(line_width 3)) 
	) 
	(port 
		(pt 128 24) 
		(output) 
		(text "agb" (rect 95 20 112 32)(font "Courier New" (bold))) 
		(text "agb" (rect 95 20 112 32)(font "Courier New" (bold))) 
		(line (pt 112 24)(pt 128 24)(line_width 1)) 
	) 
	(drawing 
		(line (pt 16 48)(pt 112 48)(line_width 1)) 
		(line (pt 16 16)(pt 112 16)(line_width 1)) 
		(line (pt 16 48)(pt 16 16)(line_width 1)) 
		(line (pt 112 48)(pt 112 16)(line_width 1)) 
	) 
) 
(symbol 
	(rect 640 120 768 184) 
	(text "cmp3" (rect 46 -1 83 15)(font "Courier New" (font_size 10)(bold))) 
	(text "94" (rect 0 55 11 67)(font "Courier New" (bold))) 
	(port 
		(pt 0 24) 
		(input) 
		(text "a[3..0]" (rect 20 20 61 32)(font "Courier New" (bold))) 
		(text "a[3..0]" (rect 20 20 61 32)(font "Courier New" (bold))) 
		(line (pt 0 24)(pt 16 24)(line_width 3)) 
	) 
	(port 
		(pt 0 40) 
		(input) 
		(text "b[3..0]" (rect 20 36 61 48)(font "Courier New" (bold))) 
		(text "b[3..0]" (rect 20 36 61 48)(font "Courier New" (bold))) 
		(line (pt 0 40)(pt 16 40)(line_width 3)) 
	) 
	(port 
		(pt 128 24) 
		(output) 
		(text "agb" (rect 95 20 112 32)(font "Courier New" (bold))) 
		(text "agb" (rect 95 20 112 32)(font "Courier New" (bold))) 
		(line (pt 112 24)(pt 128 24)(line_width 1)) 
	) 
	(drawing 
		(line (pt 16 48)(pt 112 48)(line_width 1)) 
		(line (pt 16 16)(pt 112 16)(line_width 1)) 
		(line (pt 16 48)(pt 16 16)(line_width 1)) 
		(line (pt 112 48)(pt 112 16)(line_width 1)) 
	) 
) 
(symbol 
	(rect 640 56 768 120) 
	(text "cmp3" (rect 46 -1 83 15)(font "Courier New" (font_size 10)(bold))) 
	(text "93" (rect 0 55 11 67)(font "Courier New" (bold))) 
	(port 
		(pt 0 24) 
		(input) 
		(text "a[3..0]" (rect 20 20 61 32)(font "Courier New" (bold))) 
		(text "a[3..0]" (rect 20 20 61 32)(font "Courier New" (bold))) 
		(line (pt 0 24)(pt 16 24)(line_width 3)) 
	) 
	(port 
		(pt 0 40) 
		(input) 
		(text "b[3..0]" (rect 20 36 61 48)(font "Courier New" (bold))) 
		(text "b[3..0]" (rect 20 36 61 48)(font "Courier New" (bold))) 
		(line (pt 0 40)(pt 16 40)(line_width 3)) 
	) 
	(port 
		(pt 128 24) 
		(output) 
		(text "agb" (rect 95 20 112 32)(font "Courier New" (bold))) 
		(text "agb" (rect 95 20 112 32)(font "Courier New" (bold))) 
		(line (pt 112 24)(pt 128 24)(line_width 1)) 
	) 
	(drawing 
		(line (pt 16 48)(pt 112 48)(line_width 1)) 
		(line (pt 16 16)(pt 112 16)(line_width 1)) 
		(line (pt 16 48)(pt 16 16)(line_width 1)) 
		(line (pt 112 48)(pt 112 16)(line_width 1)) 
	) 
) 
(symbol 
	(rect 488 736 656 800) 
	(text "FREQTEST" (rect 46 -1 121 15)(font "Courier New" (font_size 10)(bold))) 
	(text "121" (rect 0 55 17 67)(font "Courier New" (bold))) 
	(port 
		(pt 0 24) 
		(input) 
		(text "CLK" (rect 20 20 37 32)(font "Courier New" (bold))) 
		(text "CLK" (rect 20 20 37 32)(font "Courier New" (bold))) 
		(line (pt 0 24)(pt 16 24)(line_width 1)) 
	) 
	(port 
		(pt 0 40) 
		(input) 
		(text "FSIN" (rect 20 36 43 48)(font "Courier New" (bold))) 
		(text "FSIN" (rect 20 36 43 48)(font "Courier New" (bold))) 
		(line (pt 0 40)(pt 16 40)(line_width 1)) 
	) 
	(port 
		(pt 168 24) 
		(output) 
		(text "CCOUT" (rect 125 20 154 32)(font "Courier New" (bold))) 
		(text "CCOUT" (rect 125 20 154 32)(font "Courier New" (bold))) 
		(line (pt 152 24)(pt 168 24)(line_width 1)) 
	) 
	(port 
		(pt 168 40) 
		(output) 
		(text "DOUT[15..0]" (rect 95 36 159 48)(font "Courier New" (bold))) 
		(text "DOUT[15..0]" (rect 95 36 159 48)(font "Courier New" (bold))) 
		(line (pt 152 40)(pt 168 40)(line_width 3)) 
	) 
	(drawing 
		(line (pt 16 48)(pt 152 48)(line_width 1)) 
		(line (pt 16 16)(pt 152 16)(line_width 1)) 
		(line (pt 16 48)(pt 16 16)(line_width 1)) 
		(line (pt 152 48)(pt 152 16)(line_width 1)) 
	) 
) 
(symbol 
	(rect 368 184 528 248) 
	(text "DEC2" (rect 62 -1 99 15)(font "Courier New" (font_size 10)(bold))) 
	(text "125" (rect 0 55 17 67)(font "Courier New" (bold))) 
	(port 
		(pt 0 24) 
		(input) 
		(text "CLK" (rect 20 20 37 32)(font "Courier New" (bold))) 
		(text "CLK" (rect 20 20 37 32)(font "Courier New" (bold))) 
		(line (pt 0 24)(pt 16 24)(line_width 1)) 
	) 
	(port 
		(pt 0 40) 
		(input) 
		(text "A[1..0]" (rect 20 36 61 48)(font "Courier New" (bold))) 
		(text "A[1..0]" (rect 20 36 61 48)(font "Courier New" (bold))) 
		(line (pt 0 40)(pt 16 40)(line_width 3)) 
	) 
	(port 
		(pt 160 24) 
		(output) 
		(text "D[3..0]" (rect 107 20 148 32)(font "Courier New" (bold))) 
		(text "D[3..0]" (rect 107 20 148 32)(font "Courier New" (bold))) 
		(line (pt 144 24)(pt 160 24)(line_width 3)) 
	) 
	(drawing 
		(line (pt 16 48)(pt 144 48)(line_width 1)) 
		(line (pt 16 16)(pt 144 16)(line_width 1)) 
		(line (pt 16 48)(pt 16 16)(line_width 1)) 
		(line (pt 144 48)(pt 144 16)(line_width 1)) 
	) 
) 
(symbol 
	(rect 392 328 528 408) 
	(text "CNT24" (rect 45 -1 92 15)(font "Courier New" (font_size 10)(bold))) 
	(text "127" (rect 0 71 17 83)(font "Courier New" (bold))) 
	(port 
		(pt 0 24) 
		(input) 
		(text "CLK" (rect 20 20 37 32)(font "Courier New" (bold))) 
		(text "CLK" (rect 20 20 37 32)(font "Courier New" (bold))) 
		(line (pt 0 24)(pt 16 24)(line_width 1)) 
	) 
	(port 
		(pt 0 40) 
		(input) 
		(text "EN" (rect 20 36 31 48)(font "Courier New" (bold))) 
		(text "EN" (rect 20 36 31 48)(font "Courier New" (bold))) 
		(line (pt 0 40)(pt 16 40)(line_width 1)) 
	) 
	(port 
		(pt 0 56) 
		(input) 
		(text "U_D" (rect 20 52 37 64)(font "Courier New" (bold))) 
		(text "U_D" (rect 20 52 37 64)(font "Courier New" (bold))) 
		(line (pt 0 56)(pt 16 56)(line_width 1)) 
	) 
	(port 
		(pt 136 40) 
		(output) 
		(text "CQ[4..0]" (rect 78 36 125 48)(font "Courier New" (bold))) 
		(text "CQ[4..0]" (rect 78 36 125 48)(font "Courier New" (bold))) 
		(line (pt 120 40)(pt 136 40)(line_width 3)) 
	) 
	(drawing 
		(line (pt 16 64)(pt 120 64)(line_width 1)) 
		(line (pt 16 16)(pt 120 16)(line_width 1)) 
		(line (pt 16 64)(pt 16 16)(line_width 1)) 
		(line (pt 120 64)(pt 120 16)(line_width 1)) 
	) 
) 
(symbol 
	(rect 184 576 320 624) 
	(text "CNT5" (rect 50 -1 87 15)(font "Courier New" (font_size 10)(bold))) 
	(text "132" (rect 0 39 17 51)(font "Courier New" (bold))) 
	(port 
		(pt 0 24) 
		(input) 
		(text "CLK" (rect 20 20 37 32)(font "Courier New" (bold))) 
		(text "CLK" (rect 20 20 37 32)(font "Courier New" (bold))) 
		(line (pt 0 24)(pt 16 24)(line_width 1)) 
	) 
	(port 
		(pt 136 24) 
		(output) 
		(text "AA[4..1]" (rect 78 20 125 32)(font "Courier New" (bold))) 
		(text "AA[4..1]" (rect 78 20 125 32)(font "Courier New" (bold))) 
		(line (pt 120 24)(pt 136 24)(line_width 3)) 
	) 
	(drawing 
		(line (pt 16 32)(pt 120 32)(line_width 1)) 
		(line (pt 16 16)(pt 120 16)(line_width 1)) 
		(line (pt 16 32)(pt 16 16)(line_width 1)) 
		(line (pt 120 32)(pt 120 16)(line_width 1)) 
	) 
) 
(symbol 
	(rect 344 536 496 600) 
	(text "DECD" (rect 58 -1 95 15)(font "Courier New" (font_size 10)(bold))) 
	(text "136" (rect 0 55 17 67)(font "Courier New" (bold))) 
	(port 
		(pt 0 24) 
		(input) 
		(text "CLK" (rect 20 20 37 32)(font "Courier New" (bold))) 
		(text "CLK" (rect 20 20 37 32)(font "Courier New" (bold))) 
		(line (pt 0 24)(pt 16 24)(line_width 1)) 
	) 
	(port 
		(pt 152 24) 
		(output) 
		(text "DSPY[1..0]" (rect 84 20 143 32)(font "Courier New" (bold))) 
		(text "DSPY[1..0]" (rect 84 20 143 32)(font "Courier New" (bold))) 
		(line (pt 136 24)(pt 152 24)(line_width 3)) 
	) 
	(port 
		(pt 152 40) 
		(output) 
		(text "D[3..0]" (rect 99 36 140 48)(font "Courier New" (bold))) 
		(text "D[3..0]" (rect 99 36 140 48)(font "Courier New" (bold))) 
		(line (pt 136 40)(pt 152 40)(line_width 3)) 
	) 
	(drawing 
		(line (pt 16 48)(pt 136 48)(line_width 1)) 
		(line (pt 16 16)(pt 136 16)(line_width 1)) 
		(line (pt 16 48)(pt 16 16)(line_width 1)) 
		(line (pt 136 48)(pt 136 16)(line_width 1)) 
	) 
) 
(symbol 
	(rect 608 312 768 392) 
	(text "rom3" (rect 66 1 100 17)(font "Arial" (font_size 10))) 
	(text "inst" (rect 8 64 25 76)(font "Arial" )) 
	(port 
		(pt 0 32) 
		(input) 
		(text "address[4..0]" (rect 0 0 75 14)(font "Arial" (font_size 8))) 
		(text "address[4..0]" (rect 20 26 95 40)(font "Arial" (font_size 8))) 
		(line (pt 0 32)(pt 16 32)(line_width 3)) 
	) 
	(port 
		(pt 0 48) 
		(input) 
		(text "inclock" (rect 0 0 38 14)(font "Arial" (font_size 8))) 
		(text "inclock" (rect 26 42 64 56)(font "Arial" (font_size 8))) 
		(line (pt 0 48)(pt 16 48)(line_width 1)) 
	) 
	(port 
		(pt 160 40) 
		(output) 
		(text "q[15..0]" (rect 0 0 42 14)(font "Arial" (font_size 8))) 
		(text "q[15..0]" (rect 105 34 147 48)(font "Arial" (font_size 8))) 
		(line (pt 160 40)(pt 144 40)(line_width 3)) 
	) 
	(drawing 
		(line (pt 16 16)(pt 144 16)(line_width 1)) 
		(line (pt 144 16)(pt 144 64)(line_width 1)) 
		(line (pt 144 64)(pt 16 64)(line_width 1)) 
		(line (pt 16 64)(pt 16 16)(line_width 1)) 
		(line (pt 16 42)(pt 22 48)(line_width 1)) 
		(line (pt 22 48)(pt 16 54)(line_width 1)) 
	) 
) 
(symbol 
	(rect 592 920 640 952) 
	(text "NOT" (rect 1 0 17 9)(font "Arial" (font_size 6))) 
	(text "inst3" (rect 3 21 26 33)(font "Arial" )) 
	(port 
		(pt 0 16) 
		(input) 
		(text "IN" (rect 2 7 12 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 47 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 408 960 472 1040) 
	(text "DFF" (rect 1 0 17 10)(font "Arial" (font_size 6))) 
	(text "inst5" (rect 3 68 26 80)(font "Arial" )) 
	(port 
		(pt 32 80) 
		(input) 
		(text "CLRN" (rect 21 59 26 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 8 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 29 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 520 960 584 1040) 
	(text "DFF" (rect 1 0 17 10)(font "Arial" (font_size 6))) 
	(text "inst6" (rect 3 68 26 80)(font "Arial" )) 
	(port 
		(pt 32 80) 
		(input) 
		(text "CLRN" (rect 21 59 26 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 8 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 29 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 680 952 744 1000) 
	(text "AND2" (rect 1 0 22 9)(font "Arial" (font_size 6))) 
	(text "inst7" (rect 3 37 26 49)(font "Arial" )) 
	(port 
		(pt 0 16) 
		(input) 
		(text "IN1" (rect 2 7 17 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 17 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 63 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 136 840 200 920) 
	(text "DFF" (rect 1 0 17 10)(font "Arial" (font_size 6))) 
	(text "inst8" (rect 3 68 26 80)(font "Arial" )) 
	(port 
		(pt 32 80) 
		(input) 
		(text "CLRN" (rect 21 59 26 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 8 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 29 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 272 840 336 920) 
	(text "DFF" (rect 1 0 17 10)(font "Arial" (font_size 6))) 
	(text "inst9" (rect 3 68 26 80)(font "Arial" )) 
	(port 
		(pt 32 80) 
		(input) 
		(text "CLRN" (rect 21 59 26 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 8 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 29 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 800 328 832) 
	(text "NOT" (rect 31 23 47 32)(font "Arial" (font_size 6))) 
	(text "inst4" (rect 22 -1 45 11)(font "Arial" )) 
	(port 
		(pt 48 16) 
		(input) 
		(text "IN" (rect 2 7 12 19)(font "Courier New" (bold))(invisible)) 
		(text "IN" (rect 35 13 46 25)(font "Courier New" (bold))(invisible)) 
		(line (pt 48 16)(pt 35 16)(line_width 1)) 
	) 
	(port 
		(pt 0 16) 
		(output) 
		(text "OUT" (rect 32 7 47 19)(font "Courier New" (bold))(invisible)) 
		(text "OUT" (rect -1 13 16 25)(font "Courier New" (bold))(invisible)) 
		(line (pt 9 16)(pt 0 16)(line_width 1)) 
	) 
	(drawing 
		(line (pt 35 7)(pt 35 25)(line_width 1)) 
		(line (pt 35 25)(pt 17 16)(line_width 1)) 
		(line (pt 35 7)(pt 17 16)(line_width 1)) 
		(circle (rect 9 12 17 20)(line_width 1)) 
	) 
	(rotate180) 
) 
(symbol 
	(rect 144 792 192 824) 
	(text "NOT" (rect 31 23 47 32)(font "Arial" (font_size 6))) 
	(text "inst10" (rect 16 -1 45 11)(font "Arial" )) 
	(port 
		(pt 48 16) 
		(input) 
		(text "IN" (rect 2 7 12 19)(font "Courier New" (bold))(invisible)) 
		(text "IN" (rect 35 13 46 25)(font "Courier New" (bold))(invisible)) 
		(line (pt 48 16)(pt 35 16)(line_width 1)) 
	) 
	(port 
		(pt 0 16) 
		(output) 
		(text "OUT" (rect 32 7 47 19)(font "Courier New" (bold))(invisible)) 
		(text "OUT" (rect -1 13 16 25)(font "Courier New" (bold))(invisible)) 
		(line (pt 9 16)(pt 0 16)(line_width 1)) 
	) 
	(drawing 
		(line (pt 35 7)(pt 35 25)(line_width 1)) 
		(line (pt 35 25)(pt 17 16)(line_width 1)) 
		(line (pt 35 7)(pt 17 16)(line_width 1)) 
		(circle (rect 9 12 17 20)(line_width 1)) 
	) 
	(rotate180) 
) 
(connector 
	(pt 496 560) 
	(pt 560 560) 
	(bus) 
) 
(connector 
	(pt 336 560) 
	(pt 344 560) 
) 
(connector 
	(pt 656 760) 
	(pt 672 760) 
) 
(connector 
	(pt 656 776) 
	(pt 672 776) 
	(bus) 
) 
(connector 
	(pt 480 776) 
	(pt 488 776) 
) 
(connector 
	(pt 472 760) 
	(pt 488 760) 
) 
(connector 
	(pt 464 704) 
	(pt 576 704) 
) 
(connector 
	(pt 456 768) 
	(pt 464 768) 
) 
(connector 
	(pt 456 680) 
	(pt 576 680) 
) 
(connector 
	(pt 320 696) 
	(pt 336 696) 
) 
(connector 
	(pt 320 752) 
	(pt 336 752) 
) 
(connector 
	(pt 304 784) 
	(pt 336 784) 
) 
(connector 
	(pt 304 680) 
	(pt 336 680) 
) 
(connector 
	(pt 288 768) 
	(pt 336 768) 
) 
(connector 
	(pt 288 664) 
	(pt 336 664) 
) 
(connector 
	(pt 288 632) 
	(pt 776 632) 
) 
(connector 
	(pt 272 680) 
	(pt 304 680) 
) 
(connector 
	(pt 280 752) 
	(pt 320 752) 
) 
(connector 
	(pt 744 584) 
	(pt 776 584) 
) 
(connector 
	(pt 496 576) 
	(pt 504 576) 
	(bus) 
) 
(connector 
	(pt 504 584) 
	(pt 616 584) 
	(bus) 
) 
(connector 
	(pt 560 544) 
	(pt 576 544) 
	(bus) 
) 
(connector 
	(pt 608 600) 
	(pt 616 600) 
	(bus) 
) 
(connector 
	(pt 464 768) 
	(pt 464 704) 
) 
(connector 
	(pt 320 752) 
	(pt 320 696) 
) 
(connector 
	(pt 304 784) 
	(pt 304 680) 
) 
(connector 
	(pt 288 768) 
	(pt 288 664) 
) 
(connector 
	(pt 288 664) 
	(pt 288 632) 
) 
(connector 
	(pt 776 632) 
	(pt 776 584) 
) 
(connector 
	(pt 504 584) 
	(pt 504 576) 
	(bus) 
) 
(connector 
	(pt 560 560) 
	(pt 560 544) 
	(bus) 
) 
(connector 
	(pt 608 608) 
	(pt 608 600) 
	(bus) 
) 
(connector 
	(text "F[0]" (rect 784 256 808 272)(font "Arial" (font_size 10))) 
	(pt 816 272) 
	(pt 768 272) 
) 
(connector 
	(text "F[1]" (rect 776 192 800 208)(font "Arial" (font_size 10))) 
	(pt 808 208) 
	(pt 768 208) 
) 
(connector 
	(text "F[2]" (rect 776 128 800 144)(font "Arial" (font_size 10))) 
	(pt 816 144) 
	(pt 768 144) 
) 
(connector 
	(text "F[3]" (rect 776 64 800 80)(font "Arial" (font_size 10))) 
	(pt 768 80) 
	(pt 816 80) 
) 
(connector 
	(text "P[15..12]" (rect 592 64 640 80)(font "Arial" (font_size 8))) 
	(pt 576 80) 
	(pt 640 80) 
	(bus) 
) 
(connector 
	(text "P[11..8]" (rect 592 128 632 144)(font "Arial" (font_size 8))) 
	(pt 584 144) 
	(pt 640 144) 
	(bus) 
) 
(connector 
	(text "P[7..4]" (rect 600 192 632 208)(font "Arial" (font_size 8))) 
	(pt 584 208) 
	(pt 640 208) 
	(bus) 
) 
(connector 
	(text "P[3..0]" (rect 600 256 632 272)(font "Arial" (font_size 8))) 
	(pt 584 272) 
	(pt 640 272) 
	(bus) 
) 
(connector 
	(pt 560 160) 
	(pt 640 160) 
	(bus) 
) 
(connector 
	(pt 560 224) 
	(pt 640 224) 
	(bus) 
) 
(connector 
	(pt 640 96) 
	(pt 560 96) 
	(bus) 
) 
(connector 
	(pt 560 96) 
	(pt 560 160) 
	(bus) 
) 
(connector 
	(pt 560 160) 
	(pt 560 224) 
	(bus) 
) 
(connector 
	(pt 560 224) 
	(pt 560 288) 
	(bus) 
) 
(connector 
	(pt 216 136) 
	(pt 248 136) 
	(bus) 
) 
(connector 
	(pt 360 120) 
	(pt 376 120) 
	(bus) 
) 
(connector 
	(text "F[3..0]" (rect 208 88 240 104)(font "Arial" (font_size 8))) 
	(pt 200 104) 
	(pt 248 104) 
	(bus) 
) 
(connector 
	(pt 608 608) 
	(pt 328 608) 
	(bus) 
) 
(connector 
	(pt 328 608) 
	(pt 328 600) 
	(bus) 
) 
(connector 
	(pt 320 600) 
	(pt 328 600) 
	(bus) 
) 
(connector 
	(pt 216 136) 
	(pt 216 176) 
	(bus) 
) 
(connector 
	(pt 544 176) 
	(pt 216 176) 
	(bus) 
) 
(connector 
	(pt 544 208) 
	(pt 528 208) 
	(bus) 
) 
(connector 
	(text "q[1..0]" (rect 304 208 344 224)(font "Arial" (font_size 10))) 
	(pt 264 224) 
	(pt 368 224) 
	(bus) 
) 
(connector 
	(pt 544 176) 
	(pt 544 208) 
	(bus) 
) 
(connector 
	(pt 224 208) 
	(pt 368 208) 
) 
(connector 
	(pt 224 256) 
	(pt 544 256) 
) 
(connector 
	(pt 224 208) 
	(pt 224 256) 
) 
(connector 
	(pt 528 288) 
	(pt 560 288) 
	(bus) 
) 
(connector 
	(pt 560 288) 
	(pt 640 288) 
	(bus) 
) 
(connector 
	(pt 544 256) 
	(pt 544 320) 
) 
(connector 
	(pt 376 320) 
	(pt 544 320) 
) 
(connector 
	(pt 544 320) 
	(pt 592 320) 
) 
(connector 
	(pt 376 352) 
	(pt 392 352) 
) 
(connector 
	(text "q[4..0]" (rect 528 352 568 368)(font "Arial" (font_size 10))) 
	(pt 576 368) 
	(pt 528 368) 
	(bus) 
) 
(connector 
	(pt 376 328) 
	(pt 344 328) 
) 
(connector 
	(pt 376 320) 
	(pt 376 328) 
) 
(connector 
	(pt 376 328) 
	(pt 376 352) 
) 
(connector 
	(pt 392 368) 
	(pt 384 368) 
) 
(connector 
	(pt 352 384) 
	(pt 392 384) 
) 
(connector 
	(pt 384 368) 
	(pt 384 360) 
) 
(connector 
	(pt 384 360) 
	(pt 368 360) 
) 
(connector 
	(pt 576 344) 
	(pt 608 344) 
	(bus) 
) 
(connector 
	(pt 592 360) 
	(pt 608 360) 
) 
(connector 
	(text "P[15..0]" (rect 784 336 824 352)(font "Arial" (font_size 8))) 
	(pt 768 352) 
	(pt 832 352) 
	(bus) 
) 
(connector 
	(pt 592 320) 
	(pt 592 360) 
) 
(connector 
	(pt 576 368) 
	(pt 576 344) 
	(bus) 
) 
(connector 
	(pt 520 1000) 
	(pt 496 1000) 
) 
(connector 
	(pt 496 1000) 
	(pt 496 1072) 
) 
(connector 
	(pt 408 1000) 
	(pt 384 1000) 
) 
(connector 
	(pt 384 1000) 
	(pt 384 1072) 
) 
(connector 
	(pt 408 984) 
	(pt 368 984) 
) 
(connector 
	(pt 680 968) 
	(pt 664 968) 
) 
(connector 
	(pt 664 968) 
	(pt 664 936) 
) 
(connector 
	(pt 496 936) 
	(pt 496 984) 
) 
(connector 
	(pt 472 984) 
	(pt 496 984) 
) 
(connector 
	(pt 496 984) 
	(pt 520 984) 
) 
(connector 
	(pt 744 976) 
	(pt 768 976) 
) 
(connector 
	(pt 768 888) 
	(pt 768 976) 
) 
(connector 
	(pt 768 888) 
	(pt 480 888) 
) 
(connector 
	(pt 640 936) 
	(pt 664 936) 
) 
(connector 
	(pt 592 936) 
	(pt 496 936) 
) 
(connector 
	(pt 584 984) 
	(pt 680 984) 
) 
(connector 
	(text "clk5" (rect 321 272 341 284)(font "Arial" )) 
	(pt 288 288) 
	(pt 392 288) 
) 
(connector 
	(pt 384 1072) 
	(pt 496 1072) 
) 
(connector 
	(text "clk5" (rect 268 1056 288 1068)(font "Arial" )) 
	(pt 240 1072) 
	(pt 384 1072) 
) 
(connector 
	(pt 480 856) 
	(pt 568 856) 
) 
(connector 
	(pt 480 776) 
	(pt 480 856) 
) 
(connector 
	(pt 480 856) 
	(pt 480 888) 
) 
(connector 
	(text "clk5" (rect 144 584 166 598)(font "Arial" (font_size 8))) 
	(pt 136 600) 
	(pt 184 600) 
) 
(connector 
	(pt 472 840) 
	(pt 472 760) 
) 
(connector 
	(pt 472 840) 
	(pt 408 840) 
) 
(connector 
	(pt 408 864) 
	(pt 408 840) 
) 
(connector 
	(pt 328 816) 
	(pt 360 816) 
) 
(connector 
	(pt 360 816) 
	(pt 360 864) 
) 
(connector 
	(pt 336 864) 
	(pt 360 864) 
) 
(connector 
	(pt 360 864) 
	(pt 408 864) 
) 
(connector 
	(pt 280 816) 
	(pt 248 816) 
) 
(connector 
	(pt 248 816) 
	(pt 248 864) 
) 
(connector 
	(pt 272 864) 
	(pt 248 864) 
) 
(connector 
	(pt 200 864) 
	(pt 224 864) 
) 
(connector 
	(pt 272 880) 
	(pt 224 880) 
) 
(connector 
	(pt 192 808) 
	(pt 224 808) 
) 
(connector 
	(pt 224 808) 
	(pt 224 864) 
) 
(connector 
	(pt 224 864) 
	(pt 224 880) 
) 
(connector 
	(pt 144 808) 
	(pt 128 808) 
) 
(connector 
	(pt 128 808) 
	(pt 128 864) 
) 
(connector 
	(pt 136 864) 
	(pt 128 864) 
) 
(connector 
	(text "clk0" (rect 70 864 90 876)(font "Arial" )) 
	(pt 136 880) 
	(pt 48 880) 
) 
(connector 
	(pt 304 80) 
	(pt 304 40) 
) 
(connector 
	(pt 304 40) 
	(pt 344 40) 
) 
(junction (pt 320 752)) 
(junction (pt 304 680)) 
(junction (pt 288 664)) 
(junction (pt 560 160)) 
(junction (pt 560 224)) 
(junction (pt 560 288)) 
(junction (pt 544 320)) 
(junction (pt 376 328)) 
(junction (pt 384 1072)) 
(junction (pt 496 984)) 
(junction (pt 480 856)) 
(junction (pt 360 864)) 
(junction (pt 224 864)) 
(text "CLK5=32768Hz" (rect 248 266 336 280)(font "Arial" (font_size 8))) 
(text "KEY2" (rect 224 538 255 552)(font "Arial" (font_size 8))) 
(text "Key1" (rect 216 730 245 744)(font "Arial" (font_size 8))) 
(text "KEY8" (rect 240 378 271 392)(font "Arial" (font_size 8))) 
(text "KEY7" (rect 392 50 423 64)(font "Arial" (font_size 8))) 
(text "CLK0=4Hz" (rect 216 306 276 320)(font "Arial" (font_size 8))) 
(text "CLK5=32768Hz" (rect 144 634 232 648)(font "Arial" (font_size 8))) 
(text "1Hz input" (rect 376 880 429 894)(font "Arial" (font_size 8))) 
(text "直流电机转速计数去抖动电路" (rect 536 1048 720 1062)(font "Arial" (font_size 8))) 
(text "直流电机测速频率计" (rect 520 808 647 822)(font "Arial" (font_size 8))) 
(text "选择模式5" (rect 216 40 279 54)(font "Arial" (font_size 8))) 
(text "键7控制步进电机细分/常规运转" (rect 296 8 490 22)(font "Arial" (font_size 8))) 
(text "键8控制步进电机运转方向" (rect 200 400 362 414)(font "Arial" (font_size 8))) 
(text "键2控制直流电机运转速度" (rect 168 520 330 534)(font "Arial" (font_size 8))) 
(text "键1控制直流电机运转方向" (rect 80 712 242 726)(font "Arial" (font_size 8))) 
(text "4Hz input" (rect 64 896 117 910)(font "Arial" (font_size 8))) 
(text "直流电机转速脉冲信号" (rect 224 952 365 966)(font "Arial" (font_size 8))) 
(text "直流电机转速脉冲波形观察端" (rect 672 864 856 878)(font "Arial" (font_size 8))) 
(text "步进电机控制电路" (rect 344 -24 457 -10)(font "Arial" (font_size 8))) 
(text "直流电机控制电路" (rect 368 512 481 526)(font "Arial" (font_size 8)))