Skip to content

Commit 822618a

Browse files
committed
如果採用,此提交將完成5-3工作項目三
修改項目:
1 parent 81063bc commit 822618a

148 files changed

Lines changed: 16862 additions & 63 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1564503707611.jpg

142 KB
Loading

CH5/CH5-3/BCD_adder_1D.bdf

Lines changed: 49 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ applicable agreement for further details.
2323
(input)
2424
(rect 272 248 440 264)
2525
(text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6)))
26-
(text "A3" (rect 5 0 20 10)(font "Arial" ))
26+
(text "A3" (rect 5 0 19 10)(font "Arial" ))
2727
(pt 168 8)
2828
(drawing
2929
(line (pt 84 12)(pt 109 12))
@@ -39,7 +39,7 @@ applicable agreement for further details.
3939
(input)
4040
(rect 272 264 440 280)
4141
(text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6)))
42-
(text "B3" (rect 5 0 20 10)(font "Arial" ))
42+
(text "B3" (rect 5 0 19 10)(font "Arial" ))
4343
(pt 168 8)
4444
(drawing
4545
(line (pt 84 12)(pt 109 12))
@@ -55,7 +55,7 @@ applicable agreement for further details.
5555
(input)
5656
(rect 272 280 440 296)
5757
(text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6)))
58-
(text "A2" (rect 5 0 20 10)(font "Arial" ))
58+
(text "A2" (rect 5 0 19 10)(font "Arial" ))
5959
(pt 168 8)
6060
(drawing
6161
(line (pt 84 12)(pt 109 12))
@@ -71,7 +71,7 @@ applicable agreement for further details.
7171
(input)
7272
(rect 272 296 440 312)
7373
(text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6)))
74-
(text "B2" (rect 5 0 20 10)(font "Arial" ))
74+
(text "B2" (rect 5 0 19 10)(font "Arial" ))
7575
(pt 168 8)
7676
(drawing
7777
(line (pt 84 12)(pt 109 12))
@@ -87,7 +87,7 @@ applicable agreement for further details.
8787
(input)
8888
(rect 272 312 440 328)
8989
(text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6)))
90-
(text "A1" (rect 5 0 20 10)(font "Arial" ))
90+
(text "A1" (rect 5 0 19 10)(font "Arial" ))
9191
(pt 168 8)
9292
(drawing
9393
(line (pt 84 12)(pt 109 12))
@@ -103,7 +103,7 @@ applicable agreement for further details.
103103
(input)
104104
(rect 272 328 440 344)
105105
(text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6)))
106-
(text "B1" (rect 5 0 20 10)(font "Arial" ))
106+
(text "B1" (rect 5 0 19 10)(font "Arial" ))
107107
(pt 168 8)
108108
(drawing
109109
(line (pt 84 12)(pt 109 12))
@@ -119,7 +119,7 @@ applicable agreement for further details.
119119
(input)
120120
(rect 272 344 440 360)
121121
(text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6)))
122-
(text "A0" (rect 5 0 20 10)(font "Arial" ))
122+
(text "A0" (rect 5 0 19 10)(font "Arial" ))
123123
(pt 168 8)
124124
(drawing
125125
(line (pt 84 12)(pt 109 12))
@@ -135,7 +135,23 @@ applicable agreement for further details.
135135
(input)
136136
(rect 272 360 440 376)
137137
(text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6)))
138-
(text "B0" (rect 5 0 20 10)(font "Arial" ))
138+
(text "B0" (rect 5 0 19 10)(font "Arial" ))
139+
(pt 168 8)
140+
(drawing
141+
(line (pt 84 12)(pt 109 12))
142+
(line (pt 84 4)(pt 109 4))
143+
(line (pt 113 8)(pt 168 8))
144+
(line (pt 84 12)(pt 84 4))
145+
(line (pt 109 4)(pt 113 8))
146+
(line (pt 109 12)(pt 113 8))
147+
)
148+
(text "VCC" (rect 128 7 149 16)(font "Arial" (font_size 6)))
149+
)
150+
(pin
151+
(input)
152+
(rect 272 376 440 392)
153+
(text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6)))
154+
(text "C0" (rect 5 0 21 10)(font "Arial" ))
139155
(pt 168 8)
140156
(drawing
141157
(line (pt 84 12)(pt 109 12))
@@ -543,40 +559,6 @@ applicable agreement for further details.
543559
(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
544560
)
545561
)
546-
(symbol
547-
(rect 864 424 896 456)
548-
(text "GND" (rect 8 16 30 25)(font "Arial" (font_size 6)))
549-
(text "inst7" (rect 3 21 26 31)(font "Arial" )(invisible))
550-
(port
551-
(pt 16 0)
552-
(output)
553-
(text "1" (rect 18 0 27 11)(font "Courier New" (bold))(invisible))
554-
(text "1" (rect 18 0 27 11)(font "Courier New" (bold))(invisible))
555-
(line (pt 16 8)(pt 16 0))
556-
)
557-
(drawing
558-
(line (pt 8 8)(pt 16 16))
559-
(line (pt 16 16)(pt 24 8))
560-
(line (pt 8 8)(pt 24 8))
561-
)
562-
)
563-
(symbol
564-
(rect 424 424 456 456)
565-
(text "GND" (rect 8 16 30 25)(font "Arial" (font_size 6)))
566-
(text "inst8" (rect 3 21 26 31)(font "Arial" )(invisible))
567-
(port
568-
(pt 16 0)
569-
(output)
570-
(text "1" (rect 18 0 27 11)(font "Courier New" (bold))(invisible))
571-
(text "1" (rect 18 0 27 11)(font "Courier New" (bold))(invisible))
572-
(line (pt 16 8)(pt 16 0))
573-
)
574-
(drawing
575-
(line (pt 8 8)(pt 16 16))
576-
(line (pt 16 16)(pt 24 8))
577-
(line (pt 8 8)(pt 24 8))
578-
)
579-
)
580562
(connector
581563
(pt 720 456)
582564
(pt 752 456)
@@ -733,10 +715,6 @@ applicable agreement for further details.
733715
(pt 832 336)
734716
(pt 832 464)
735717
)
736-
(connector
737-
(pt 440 384)
738-
(pt 456 384)
739-
)
740718
(connector
741719
(pt 440 368)
742720
(pt 456 368)
@@ -769,18 +747,6 @@ applicable agreement for further details.
769747
(pt 440 256)
770748
(pt 456 256)
771749
)
772-
(connector
773-
(pt 880 368)
774-
(pt 880 384)
775-
)
776-
(connector
777-
(pt 880 384)
778-
(pt 880 424)
779-
)
780-
(connector
781-
(pt 440 384)
782-
(pt 440 424)
783-
)
784750
(connector
785751
(pt 984 320)
786752
(pt 1000 320)
@@ -805,6 +771,30 @@ applicable agreement for further details.
805771
(pt 832 464)
806772
(pt 1000 464)
807773
)
774+
(connector
775+
(pt 880 512)
776+
(pt 448 512)
777+
)
778+
(connector
779+
(pt 880 368)
780+
(pt 880 384)
781+
)
782+
(connector
783+
(pt 880 384)
784+
(pt 880 512)
785+
)
786+
(connector
787+
(pt 448 512)
788+
(pt 448 384)
789+
)
790+
(connector
791+
(pt 456 384)
792+
(pt 448 384)
793+
)
794+
(connector
795+
(pt 448 384)
796+
(pt 440 384)
797+
)
808798
(junction (pt 880 368))
809799
(junction (pt 880 384))
810800
(junction (pt 624 304))
@@ -813,3 +803,4 @@ applicable agreement for further details.
813803
(junction (pt 576 272))
814804
(junction (pt 832 464))
815805
(junction (pt 832 336))
806+
(junction (pt 448 384))

CH5/CH5-3/BCD_adder_1D.bsf

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
/*
2+
WARNING: Do NOT edit the input and output ports in this file in a text
3+
editor if you plan to continue editing the block that represents it in
4+
the Block Editor! File corruption is VERY likely to occur.
5+
*/
6+
/*
7+
Copyright (C) 1991-2013 Altera Corporation
8+
Your use of Altera Corporation's design tools, logic functions
9+
and other software and tools, and its AMPP partner logic
10+
functions, and any output files from any of the foregoing
11+
(including device programming or simulation files), and any
12+
associated documentation or information are expressly subject
13+
to the terms and conditions of the Altera Program License
14+
Subscription Agreement, Altera MegaCore Function License
15+
Agreement, or other applicable license agreement, including,
16+
without limitation, that your use is for the sole purpose of
17+
programming logic devices manufactured by Altera and sold by
18+
Altera or its authorized distributors. Please refer to the
19+
applicable agreement for further details.
20+
*/
21+
(header "symbol" (version "1.2"))
22+
(symbol
23+
(rect 16 16 112 208)
24+
(text "BCD_adder_1D" (rect 5 0 98 12)(font "Arial" (font_size 8)))
25+
(text "inst" (rect 8 178 25 188)(font "Arial" ))
26+
(port
27+
(pt 0 32)
28+
(input)
29+
(text "A3" (rect 0 0 17 12)(font "Arial" (font_size 8)))
30+
(text "A3" (rect 21 27 38 39)(font "Arial" (font_size 8)))
31+
(line (pt 0 32)(pt 16 32))
32+
)
33+
(port
34+
(pt 0 48)
35+
(input)
36+
(text "B3" (rect 0 0 17 12)(font "Arial" (font_size 8)))
37+
(text "B3" (rect 21 43 38 55)(font "Arial" (font_size 8)))
38+
(line (pt 0 48)(pt 16 48))
39+
)
40+
(port
41+
(pt 0 64)
42+
(input)
43+
(text "A2" (rect 0 0 17 12)(font "Arial" (font_size 8)))
44+
(text "A2" (rect 21 59 38 71)(font "Arial" (font_size 8)))
45+
(line (pt 0 64)(pt 16 64))
46+
)
47+
(port
48+
(pt 0 80)
49+
(input)
50+
(text "B2" (rect 0 0 17 12)(font "Arial" (font_size 8)))
51+
(text "B2" (rect 21 75 38 87)(font "Arial" (font_size 8)))
52+
(line (pt 0 80)(pt 16 80))
53+
)
54+
(port
55+
(pt 0 96)
56+
(input)
57+
(text "A1" (rect 0 0 17 12)(font "Arial" (font_size 8)))
58+
(text "A1" (rect 21 91 38 103)(font "Arial" (font_size 8)))
59+
(line (pt 0 96)(pt 16 96))
60+
)
61+
(port
62+
(pt 0 112)
63+
(input)
64+
(text "B1" (rect 0 0 17 12)(font "Arial" (font_size 8)))
65+
(text "B1" (rect 21 107 38 119)(font "Arial" (font_size 8)))
66+
(line (pt 0 112)(pt 16 112))
67+
)
68+
(port
69+
(pt 0 128)
70+
(input)
71+
(text "A0" (rect 0 0 17 12)(font "Arial" (font_size 8)))
72+
(text "A0" (rect 21 123 38 135)(font "Arial" (font_size 8)))
73+
(line (pt 0 128)(pt 16 128))
74+
)
75+
(port
76+
(pt 0 144)
77+
(input)
78+
(text "B0" (rect 0 0 17 12)(font "Arial" (font_size 8)))
79+
(text "B0" (rect 21 139 38 151)(font "Arial" (font_size 8)))
80+
(line (pt 0 144)(pt 16 144))
81+
)
82+
(port
83+
(pt 0 160)
84+
(input)
85+
(text "C0" (rect 0 0 18 12)(font "Arial" (font_size 8)))
86+
(text "C0" (rect 21 155 39 167)(font "Arial" (font_size 8)))
87+
(line (pt 0 160)(pt 16 160))
88+
)
89+
(port
90+
(pt 96 32)
91+
(output)
92+
(text "S3" (rect 0 0 17 12)(font "Arial" (font_size 8)))
93+
(text "S3" (rect 58 27 75 39)(font "Arial" (font_size 8)))
94+
(line (pt 96 32)(pt 80 32))
95+
)
96+
(port
97+
(pt 96 48)
98+
(output)
99+
(text "S2" (rect 0 0 17 12)(font "Arial" (font_size 8)))
100+
(text "S2" (rect 58 43 75 55)(font "Arial" (font_size 8)))
101+
(line (pt 96 48)(pt 80 48))
102+
)
103+
(port
104+
(pt 96 64)
105+
(output)
106+
(text "S1" (rect 0 0 17 12)(font "Arial" (font_size 8)))
107+
(text "S1" (rect 58 59 75 71)(font "Arial" (font_size 8)))
108+
(line (pt 96 64)(pt 80 64))
109+
)
110+
(port
111+
(pt 96 80)
112+
(output)
113+
(text "S0" (rect 0 0 17 12)(font "Arial" (font_size 8)))
114+
(text "S0" (rect 58 75 75 87)(font "Arial" (font_size 8)))
115+
(line (pt 96 80)(pt 80 80))
116+
)
117+
(port
118+
(pt 96 96)
119+
(output)
120+
(text "C4" (rect 0 0 18 12)(font "Arial" (font_size 8)))
121+
(text "C4" (rect 57 91 75 103)(font "Arial" (font_size 8)))
122+
(line (pt 96 96)(pt 80 96))
123+
)
124+
(drawing
125+
(rectangle (rect 16 16 80 176))
126+
)
127+
)

CH5/CH5-3/BCD_adder_1D.qws

-1.29 KB
Binary file not shown.

0 commit comments

Comments
 (0)