timer.bdf

来自「利用一块芯片完成除时钟源、按键、扬声器和显示器(数码管)之外的所有数字电路功能。」· BDF 代码 · 共 1,226 行 · 第 1/2 页

BDF
1,226
字号
/*
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-2006 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 0 64 168 80)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "clk" (rect 58 1 73 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)))
)
(pin
	(input)
	(rect 0 280 168 296)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "set" (rect 56 1 73 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)))
)
(pin
	(input)
	(rect 0 264 168 280)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "sel" (rect 57 1 73 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)))
)
(pin
	(input)
	(rect 0 248 168 264)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "pause" (rect 41 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)))
)
(pin
	(input)
	(rect 0 232 168 248)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "clr" (rect 59 1 73 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)))
)
(pin
	(output)
	(rect 1168 376 1344 392)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "sel[7..0]" (rect 90 0 134 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 1320 320 1496 336)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "q[6..0]" (rect 90 0 125 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))
	)
)
(symbol
	(rect 1128 304 1288 352)
	(text "DECODER" (rect 47 -1 113 15)(font "Courier New" (font_size 10)(bold)))
	(text "2" (rect 0 39 5 51)(font "Courier New" (bold)))
	(port
		(pt 0 24)
		(input)
		(text "d[3..0]" (rect 20 20 61 32)(font "Courier New" (bold)))
		(text "d[3..0]" (rect 20 20 61 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 16 24)(line_width 3))
	)
	(port
		(pt 160 24)
		(output)
		(text "q[6..0]" (rect 107 20 148 32)(font "Courier New" (bold)))
		(text "q[6..0]" (rect 107 20 148 32)(font "Courier New" (bold)))
		(line (pt 144 24)(pt 160 24)(line_width 3))
	)
	(drawing
		(line (pt 16 32)(pt 144 32)(line_width 1))
		(line (pt 16 16)(pt 144 16)(line_width 1))
		(line (pt 16 32)(pt 16 16)(line_width 1))
		(line (pt 144 32)(pt 144 16)(line_width 1))
	)
)
(symbol
	(rect 584 48 688 96)
	(text "FRE_100" (rect 19 -1 85 15)(font "Courier New" (font_size 10)(bold)))
	(text "8" (rect 0 39 5 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 104 24)
		(output)
		(text "q" (rect 81 20 86 32)(font "Courier New" (bold)))
		(text "q" (rect 81 20 86 32)(font "Courier New" (bold)))
		(line (pt 88 24)(pt 104 24)(line_width 1))
	)
	(drawing
		(line (pt 16 32)(pt 88 32)(line_width 1))
		(line (pt 16 16)(pt 88 16)(line_width 1))
		(line (pt 16 32)(pt 16 16)(line_width 1))
		(line (pt 88 32)(pt 88 16)(line_width 1))
	)
)
(symbol
	(rect 752 48 856 96)
	(text "FRE_100" (rect 19 -1 85 15)(font "Courier New" (font_size 10)(bold)))
	(text "4" (rect 0 39 5 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 104 24)
		(output)
		(text "q" (rect 81 20 86 32)(font "Courier New" (bold)))
		(text "q" (rect 81 20 86 32)(font "Courier New" (bold)))
		(line (pt 88 24)(pt 104 24)(line_width 1))
	)
	(drawing
		(line (pt 16 32)(pt 88 32)(line_width 1))
		(line (pt 16 16)(pt 88 16)(line_width 1))
		(line (pt 16 32)(pt 16 16)(line_width 1))
		(line (pt 88 32)(pt 88 16)(line_width 1))
	)
)
(symbol
	(rect 904 48 1008 96)
	(text "FRE_20" (rect 24 -1 80 15)(font "Courier New" (font_size 10)(bold)))
	(text "5" (rect 0 39 5 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 104 24)
		(output)
		(text "q" (rect 81 20 86 32)(font "Courier New" (bold)))
		(text "q" (rect 81 20 86 32)(font "Courier New" (bold)))
		(line (pt 88 24)(pt 104 24)(line_width 1))
	)
	(drawing
		(line (pt 16 32)(pt 88 32)(line_width 1))
		(line (pt 16 16)(pt 88 16)(line_width 1))
		(line (pt 16 32)(pt 16 16)(line_width 1))
		(line (pt 88 32)(pt 88 16)(line_width 1))
	)
)
(symbol
	(rect 656 504 800 584)
	(text "MMS" (rect 59 -1 87 15)(font "Courier New" (font_size 10)(bold)))
	(text "6" (rect 0 71 5 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 "clr" (rect 20 36 37 48)(font "Courier New" (bold)))
		(text "clr" (rect 20 36 37 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 16 40)(line_width 1))
	)
	(port
		(pt 144 24)
		(output)
		(text "co" (rect 116 20 127 32)(font "Courier New" (bold)))
		(text "co" (rect 116 20 127 32)(font "Courier New" (bold)))
		(line (pt 128 24)(pt 144 24)(line_width 1))
	)
	(port
		(pt 144 40)
		(output)
		(text "ge[3..0]" (rect 86 36 133 48)(font "Courier New" (bold)))
		(text "ge[3..0]" (rect 86 36 133 48)(font "Courier New" (bold)))
		(line (pt 128 40)(pt 144 40)(line_width 3))
	)
	(port
		(pt 144 56)
		(output)
		(text "shi[3..0]" (rect 81 52 134 64)(font "Courier New" (bold)))
		(text "shi[3..0]" (rect 81 52 134 64)(font "Courier New" (bold)))
		(line (pt 128 56)(pt 144 56)(line_width 3))
	)
	(drawing
		(line (pt 16 64)(pt 128 64)(line_width 1))
		(line (pt 16 16)(pt 128 16)(line_width 1))
		(line (pt 16 64)(pt 16 16)(line_width 1))
		(line (pt 128 64)(pt 128 16)(line_width 1))
	)
)
(symbol
	(rect 656 384 808 480)
	(text "SEC" (rect 63 -1 91 15)(font "Courier New" (font_size 10)(bold)))
	(text "10" (rect 0 87 11 99)(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 "clr" (rect 20 36 37 48)(font "Courier New" (bold)))
		(text "clr" (rect 20 36 37 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 16 40)(line_width 1))
	)
	(port
		(pt 0 56)
		(input)
		(text "set0" (rect 20 52 43 64)(font "Courier New" (bold)))
		(text "set0" (rect 20 52 43 64)(font "Courier New" (bold)))
		(line (pt 0 56)(pt 16 56)(line_width 1))
	)
	(port
		(pt 0 72)
		(input)
		(text "set1" (rect 20 68 43 80)(font "Courier New" (bold)))
		(text "set1" (rect 20 68 43 80)(font "Courier New" (bold)))
		(line (pt 0 72)(pt 16 72)(line_width 1))
	)
	(port
		(pt 152 24)
		(output)
		(text "co" (rect 124 20 135 32)(font "Courier New" (bold)))
		(text "co" (rect 124 20 135 32)(font "Courier New" (bold)))
		(line (pt 136 24)(pt 152 24)(line_width 1))
	)
	(port
		(pt 152 40)
		(output)
		(text "ge[3..0]" (rect 94 36 141 48)(font "Courier New" (bold)))
		(text "ge[3..0]" (rect 94 36 141 48)(font "Courier New" (bold)))
		(line (pt 136 40)(pt 152 40)(line_width 3))
	)
	(port
		(pt 152 56)
		(output)
		(text "shi[3..0]" (rect 89 52 142 64)(font "Courier New" (bold)))
		(text "shi[3..0]" (rect 89 52 142 64)(font "Courier New" (bold)))
		(line (pt 136 56)(pt 152 56)(line_width 3))
	)
	(drawing
		(line (pt 16 80)(pt 136 80)(line_width 1))
		(line (pt 16 16)(pt 136 16)(line_width 1))
		(line (pt 16 80)(pt 16 16)(line_width 1))
		(line (pt 136 80)(pt 136 16)(line_width 1))
	)
)
(symbol
	(rect 656 264 808 360)
	(text "SEC" (rect 63 -1 91 15)(font "Courier New" (font_size 10)(bold)))
	(text "24" (rect 0 87 11 99)(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 "clr" (rect 20 36 37 48)(font "Courier New" (bold)))
		(text "clr" (rect 20 36 37 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 16 40)(line_width 1))
	)
	(port
		(pt 0 56)
		(input)
		(text "set0" (rect 20 52 43 64)(font "Courier New" (bold)))
		(text "set0" (rect 20 52 43 64)(font "Courier New" (bold)))
		(line (pt 0 56)(pt 16 56)(line_width 1))
	)
	(port
		(pt 0 72)
		(input)
		(text "set1" (rect 20 68 43 80)(font "Courier New" (bold)))
		(text "set1" (rect 20 68 43 80)(font "Courier New" (bold)))
		(line (pt 0 72)(pt 16 72)(line_width 1))
	)
	(port
		(pt 152 24)
		(output)
		(text "co" (rect 124 20 135 32)(font "Courier New" (bold)))
		(text "co" (rect 124 20 135 32)(font "Courier New" (bold)))
		(line (pt 136 24)(pt 152 24)(line_width 1))
	)
	(port
		(pt 152 40)
		(output)
		(text "ge[3..0]" (rect 94 36 141 48)(font "Courier New" (bold)))
		(text "ge[3..0]" (rect 94 36 141 48)(font "Courier New" (bold)))
		(line (pt 136 40)(pt 152 40)(line_width 3))
	)
	(port
		(pt 152 56)
		(output)
		(text "shi[3..0]" (rect 89 52 142 64)(font "Courier New" (bold)))
		(text "shi[3..0]" (rect 89 52 142 64)(font "Courier New" (bold)))
		(line (pt 136 56)(pt 152 56)(line_width 3))
	)
	(drawing
		(line (pt 16 80)(pt 136 80)(line_width 1))
		(line (pt 16 16)(pt 136 16)(line_width 1))
		(line (pt 16 80)(pt 16 16)(line_width 1))
		(line (pt 136 80)(pt 136 16)(line_width 1))
	)
)
(symbol
	(rect 904 256 1088 432)
	(text "DECODER_DYNAMIC" (rect 19 -1 160 15)(font "Courier New" (font_size 10)(bold)))
	(text "13" (rect 0 167 11 179)(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 "h1[3..0]" (rect 20 36 67 48)(font "Courier New" (bold)))
		(text "h1[3..0]" (rect 20 36 67 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 16 40)(line_width 3))
	)
	(port
		(pt 0 56)
		(input)
		(text "h0[3..0]" (rect 20 52 67 64)(font "Courier New" (bold)))
		(text "h0[3..0]" (rect 20 52 67 64)(font "Courier New" (bold)))
		(line (pt 0 56)(pt 16 56)(line_width 3))
	)
	(port
		(pt 0 72)
		(input)
		(text "m1[3..0]" (rect 20 68 67 80)(font "Courier New" (bold)))
		(text "m1[3..0]" (rect 20 68 67 80)(font "Courier New" (bold)))
		(line (pt 0 72)(pt 16 72)(line_width 3))
	)
	(port
		(pt 0 88)
		(input)
		(text "m0[3..0]" (rect 20 84 67 96)(font "Courier New" (bold)))
		(text "m0[3..0]" (rect 20 84 67 96)(font "Courier New" (bold)))
		(line (pt 0 88)(pt 16 88)(line_width 3))
	)
	(port
		(pt 0 104)
		(input)
		(text "s0[3..0]" (rect 20 100 67 112)(font "Courier New" (bold)))
		(text "s0[3..0]" (rect 20 100 67 112)(font "Courier New" (bold)))
		(line (pt 0 104)(pt 16 104)(line_width 3))
	)
	(port
		(pt 0 120)
		(input)
		(text "s1[3..0]" (rect 20 116 67 128)(font "Courier New" (bold)))
		(text "s1[3..0]" (rect 20 116 67 128)(font "Courier New" (bold)))
		(line (pt 0 120)(pt 16 120)(line_width 3))
	)
	(port
		(pt 0 136)
		(input)
		(text "x0[3..0]" (rect 20 132 67 144)(font "Courier New" (bold)))
		(text "x0[3..0]" (rect 20 132 67 144)(font "Courier New" (bold)))
		(line (pt 0 136)(pt 16 136)(line_width 3))
	)
	(port
		(pt 0 152)
		(input)
		(text "x1[3..0]" (rect 20 148 67 160)(font "Courier New" (bold)))
		(text "x1[3..0]" (rect 20 148 67 160)(font "Courier New" (bold)))
		(line (pt 0 152)(pt 16 152)(line_width 3))
	)
	(port
		(pt 184 72)
		(output)
		(text "q[3..0]" (rect 131 68 172 80)(font "Courier New" (bold)))
		(text "q[3..0]" (rect 131 68 172 80)(font "Courier New" (bold)))
		(line (pt 168 72)(pt 184 72)(line_width 3))
	)
	(port
		(pt 184 88)
		(output)
		(text "sel[7..0]" (rect 121 84 174 96)(font "Courier New" (bold)))
		(text "sel[7..0]" (rect 121 84 174 96)(font "Courier New" (bold)))
		(line (pt 168 88)(pt 184 88)(line_width 3))
	)
	(drawing
		(line (pt 16 160)(pt 168 160)(line_width 1))
		(line (pt 16 16)(pt 168 16)(line_width 1))
		(line (pt 16 160)(pt 16 16)(line_width 1))
		(line (pt 168 160)(pt 168 16)(line_width 1))
	)
)
(symbol
	(rect 656 136 808 232)
	(text "HOUR" (rect 58 -1 95 15)(font "Courier New" (font_size 10)(bold)))
	(text "17" (rect 0 87 11 99)(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 "clr" (rect 20 36 37 48)(font "Courier New" (bold)))
		(text "clr" (rect 20 36 37 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 16 40)(line_width 1))
	)
	(port
		(pt 0 56)
		(input)
		(text "set1" (rect 20 52 43 64)(font "Courier New" (bold)))
		(text "set1" (rect 20 52 43 64)(font "Courier New" (bold)))
		(line (pt 0 56)(pt 16 56)(line_width 1))
	)
	(port
		(pt 0 72)
		(input)
		(text "set0" (rect 20 68 43 80)(font "Courier New" (bold)))
		(text "set0" (rect 20 68 43 80)(font "Courier New" (bold)))
		(line (pt 0 72)(pt 16 72)(line_width 1))
	)
	(port
		(pt 152 24)
		(output)
		(text "co" (rect 124 20 135 32)(font "Courier New" (bold)))
		(text "co" (rect 124 20 135 32)(font "Courier New" (bold)))
		(line (pt 136 24)(pt 152 24)(line_width 1))
	)
	(port
		(pt 152 40)
		(output)
		(text "ge[3..0]" (rect 94 36 141 48)(font "Courier New" (bold)))
		(text "ge[3..0]" (rect 94 36 141 48)(font "Courier New" (bold)))
		(line (pt 136 40)(pt 152 40)(line_width 3))
	)
	(port
		(pt 152 56)
		(output)
		(text "shi[3..0]" (rect 89 52 142 64)(font "Courier New" (bold)))
		(text "shi[3..0]" (rect 89 52 142 64)(font "Courier New" (bold)))
		(line (pt 136 56)(pt 152 56)(line_width 3))
	)
	(drawing
		(line (pt 16 80)(pt 136 80)(line_width 1))
		(line (pt 16 16)(pt 136 16)(line_width 1))
		(line (pt 16 80)(pt 16 16)(line_width 1))
		(line (pt 136 80)(pt 136 16)(line_width 1))
	)
)
(symbol
	(rect 192 200 296 312)
	(text "D_FF" (rect 34 -1 71 15)(font "Courier New" (font_size 10)(bold)))
	(text "18" (rect 0 103 11 115)(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 "d0" (rect 20 36 31 48)(font "Courier New" (bold)))
		(text "d0" (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 "d1" (rect 20 52 31 64)(font "Courier New" (bold)))
		(text "d1" (rect 20 52 31 64)(font "Courier New" (bold)))
		(line (pt 0 56)(pt 16 56)(line_width 1))
	)
	(port
		(pt 0 72)
		(input)
		(text "d2" (rect 20 68 31 80)(font "Courier New" (bold)))
		(text "d2" (rect 20 68 31 80)(font "Courier New" (bold)))
		(line (pt 0 72)(pt 16 72)(line_width 1))
	)
	(port
		(pt 0 88)
		(input)
		(text "d3" (rect 20 84 31 96)(font "Courier New" (bold)))
		(text "d3" (rect 20 84 31 96)(font "Courier New" (bold)))
		(line (pt 0 88)(pt 16 88)(line_width 1))
	)
	(port
		(pt 104 24)
		(output)
		(text "q0" (rect 76 20 87 32)(font "Courier New" (bold)))
		(text "q0" (rect 76 20 87 32)(font "Courier New" (bold)))
		(line (pt 88 24)(pt 104 24)(line_width 1))
	)
	(port
		(pt 104 40)
		(output)
		(text "q1" (rect 76 36 87 48)(font "Courier New" (bold)))
		(text "q1" (rect 76 36 87 48)(font "Courier New" (bold)))
		(line (pt 88 40)(pt 104 40)(line_width 1))
	)
	(port
		(pt 104 56)
		(output)
		(text "q2" (rect 76 52 87 64)(font "Courier New" (bold)))
		(text "q2" (rect 76 52 87 64)(font "Courier New" (bold)))
		(line (pt 88 56)(pt 104 56)(line_width 1))
	)
	(port
		(pt 104 72)
		(output)
		(text "q3" (rect 76 68 87 80)(font "Courier New" (bold)))
		(text "q3" (rect 76 68 87 80)(font "Courier New" (bold)))
		(line (pt 88 72)(pt 104 72)(line_width 1))

⌨️ 快捷键说明

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