Skip to content

Commit a2563fd

Browse files
committed
如果採用,此提交將完成工作項目一
修改項目:
1 parent f5c0aae commit a2563fd

75 files changed

Lines changed: 1700 additions & 861 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.

CH3/CH3-2/NAND_2.bdf

Lines changed: 212 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ applicable agreement for further details.
2121
(header "graphic" (version "1.4"))
2222
(pin
2323
(input)
24-
(rect 144 216 312 232)
24+
(rect 384 144 552 160)
2525
(text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6)))
26-
(text "A" (rect 5 0 14 10)(font "Arial" ))
26+
(text "A" (rect 5 0 13 10)(font "Arial" ))
2727
(pt 168 8)
2828
(drawing
2929
(line (pt 84 12)(pt 109 12))
@@ -34,12 +34,13 @@ applicable agreement for further details.
3434
(line (pt 109 12)(pt 113 8))
3535
)
3636
(text "VCC" (rect 128 7 149 16)(font "Arial" (font_size 6)))
37+
(annotation_block (location)(rect 328 160 384 176))
3738
)
3839
(pin
3940
(input)
40-
(rect 144 256 312 272)
41+
(rect 384 184 552 200)
4142
(text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6)))
42-
(text "B" (rect 5 0 14 10)(font "Arial" ))
43+
(text "B" (rect 5 0 13 10)(font "Arial" ))
4344
(pt 168 8)
4445
(drawing
4546
(line (pt 84 12)(pt 109 12))
@@ -50,10 +51,79 @@ applicable agreement for further details.
5051
(line (pt 109 12)(pt 113 8))
5152
)
5253
(text "VCC" (rect 128 7 149 16)(font "Arial" (font_size 6)))
54+
(annotation_block (location)(rect 328 200 384 216))
55+
)
56+
(pin
57+
(input)
58+
(rect 384 232 552 248)
59+
(text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6)))
60+
(text "C" (rect 5 0 15 10)(font "Arial" ))
61+
(pt 168 8)
62+
(drawing
63+
(line (pt 84 12)(pt 109 12))
64+
(line (pt 84 4)(pt 109 4))
65+
(line (pt 113 8)(pt 168 8))
66+
(line (pt 84 12)(pt 84 4))
67+
(line (pt 109 4)(pt 113 8))
68+
(line (pt 109 12)(pt 113 8))
69+
)
70+
(text "VCC" (rect 128 7 149 16)(font "Arial" (font_size 6)))
71+
(annotation_block (location)(rect 328 248 384 264))
72+
)
73+
(pin
74+
(input)
75+
(rect 384 264 552 280)
76+
(text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6)))
77+
(text "D" (rect 5 0 15 10)(font "Arial" ))
78+
(pt 168 8)
79+
(drawing
80+
(line (pt 84 12)(pt 109 12))
81+
(line (pt 84 4)(pt 109 4))
82+
(line (pt 113 8)(pt 168 8))
83+
(line (pt 84 12)(pt 84 4))
84+
(line (pt 109 4)(pt 113 8))
85+
(line (pt 109 12)(pt 113 8))
86+
)
87+
(text "VCC" (rect 128 7 149 16)(font "Arial" (font_size 6)))
88+
(annotation_block (location)(rect 328 280 384 296))
5389
)
5490
(pin
5591
(output)
56-
(rect 440 232 616 248)
92+
(rect 728 248 904 264)
93+
(text "OUTPUT" (rect 1 0 41 9)(font "Arial" (font_size 6)))
94+
(text "Y" (rect 90 0 98 10)(font "Arial" ))
95+
(pt 0 8)
96+
(drawing
97+
(line (pt 0 8)(pt 52 8))
98+
(line (pt 52 4)(pt 78 4))
99+
(line (pt 52 12)(pt 78 12))
100+
(line (pt 52 12)(pt 52 4))
101+
(line (pt 78 4)(pt 82 8))
102+
(line (pt 82 8)(pt 78 12))
103+
(line (pt 78 12)(pt 82 8))
104+
)
105+
(annotation_block (location)(rect 904 264 960 280))
106+
)
107+
(pin
108+
(output)
109+
(rect 728 296 904 312)
110+
(text "OUTPUT" (rect 1 0 41 9)(font "Arial" (font_size 6)))
111+
(text "Y1" (rect 90 0 104 10)(font "Arial" ))
112+
(pt 0 8)
113+
(drawing
114+
(line (pt 0 8)(pt 52 8))
115+
(line (pt 52 4)(pt 78 4))
116+
(line (pt 52 12)(pt 78 12))
117+
(line (pt 52 12)(pt 52 4))
118+
(line (pt 78 4)(pt 82 8))
119+
(line (pt 82 8)(pt 78 12))
120+
(line (pt 78 12)(pt 82 8))
121+
)
122+
(annotation_block (location)(rect 904 312 960 328))
123+
)
124+
(pin
125+
(output)
126+
(rect 728 160 904 176)
57127
(text "OUTPUT" (rect 1 0 41 9)(font "Arial" (font_size 6)))
58128
(text "F" (rect 90 0 98 10)(font "Arial" ))
59129
(pt 0 8)
@@ -66,11 +136,93 @@ applicable agreement for further details.
66136
(line (pt 82 8)(pt 78 12))
67137
(line (pt 78 12)(pt 82 8))
68138
)
139+
(annotation_block (location)(rect 904 176 960 192))
69140
)
70141
(symbol
71-
(rect 344 216 408 264)
72-
(text "NAND2" (rect 1 0 36 9)(font "Arial" (font_size 6)))
142+
(rect 584 232 648 280)
143+
(text "AND2" (rect 1 0 29 9)(font "Arial" (font_size 6)))
73144
(text "inst" (rect 3 37 20 47)(font "Arial" ))
145+
(port
146+
(pt 0 16)
147+
(input)
148+
(text "IN1" (rect 2 7 24 18)(font "Courier New" (bold))(invisible))
149+
(text "IN1" (rect 2 7 24 18)(font "Courier New" (bold))(invisible))
150+
(line (pt 0 16)(pt 14 16))
151+
)
152+
(port
153+
(pt 0 32)
154+
(input)
155+
(text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible))
156+
(text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible))
157+
(line (pt 0 32)(pt 14 32))
158+
)
159+
(port
160+
(pt 64 24)
161+
(output)
162+
(text "OUT" (rect 48 15 70 26)(font "Courier New" (bold))(invisible))
163+
(text "OUT" (rect 48 15 70 26)(font "Courier New" (bold))(invisible))
164+
(line (pt 42 24)(pt 64 24))
165+
)
166+
(drawing
167+
(line (pt 14 12)(pt 30 12))
168+
(line (pt 14 37)(pt 31 37))
169+
(line (pt 14 12)(pt 14 37))
170+
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
171+
)
172+
)
173+
(symbol
174+
(rect 680 240 728 272)
175+
(text "NOT" (rect 1 0 22 9)(font "Arial" (font_size 6)))
176+
(text "inst3" (rect 3 21 26 31)(font "Arial" ))
177+
(port
178+
(pt 0 16)
179+
(input)
180+
(text "IN" (rect 2 7 16 18)(font "Courier New" (bold))(invisible))
181+
(text "IN" (rect 2 7 16 18)(font "Courier New" (bold))(invisible))
182+
(line (pt 0 16)(pt 13 16))
183+
)
184+
(port
185+
(pt 48 16)
186+
(output)
187+
(text "OUT" (rect 32 7 54 18)(font "Courier New" (bold))(invisible))
188+
(text "OUT" (rect 32 7 54 18)(font "Courier New" (bold))(invisible))
189+
(line (pt 39 16)(pt 48 16))
190+
)
191+
(drawing
192+
(line (pt 13 25)(pt 13 7))
193+
(line (pt 13 7)(pt 31 16))
194+
(line (pt 13 25)(pt 31 16))
195+
(circle (rect 31 12 39 20))
196+
)
197+
)
198+
(symbol
199+
(rect 680 288 728 320)
200+
(text "WIRE" (rect 1 0 26 9)(font "Arial" (font_size 6)))
201+
(text "inst4" (rect 3 21 26 31)(font "Arial" ))
202+
(port
203+
(pt 0 16)
204+
(input)
205+
(text "IN" (rect 2 7 16 18)(font "Courier New" (bold))(invisible))
206+
(text "IN" (rect 2 7 16 18)(font "Courier New" (bold))(invisible))
207+
(line (pt 0 16)(pt 14 16))
208+
)
209+
(port
210+
(pt 48 16)
211+
(output)
212+
(text "OUT" (rect 32 7 54 18)(font "Courier New" (bold))(invisible))
213+
(text "OUT" (rect 32 7 54 18)(font "Courier New" (bold))(invisible))
214+
(line (pt 32 16)(pt 48 16))
215+
)
216+
(drawing
217+
(line (pt 14 7)(pt 32 16))
218+
(line (pt 14 25)(pt 14 7))
219+
(line (pt 14 25)(pt 32 16))
220+
)
221+
)
222+
(symbol
223+
(rect 584 144 648 192)
224+
(text "NAND2" (rect 1 0 36 9)(font "Arial" (font_size 6)))
225+
(text "inst5" (rect 3 37 26 47)(font "Arial" ))
74226
(port
75227
(pt 0 32)
76228
(input)
@@ -101,26 +253,67 @@ applicable agreement for further details.
101253
)
102254
)
103255
(connector
104-
(pt 344 232)
105-
(pt 336 232)
256+
(pt 584 248)
257+
(pt 576 248)
258+
)
259+
(connector
260+
(pt 576 264)
261+
(pt 576 272)
262+
)
263+
(connector
264+
(pt 584 264)
265+
(pt 576 264)
266+
)
267+
(connector
268+
(pt 576 272)
269+
(pt 552 272)
270+
)
271+
(connector
272+
(pt 680 304)
273+
(pt 664 304)
274+
)
275+
(connector
276+
(pt 664 304)
277+
(pt 664 256)
278+
)
279+
(connector
280+
(pt 584 160)
281+
(pt 576 160)
282+
)
283+
(connector
284+
(pt 576 160)
285+
(pt 576 152)
286+
)
287+
(connector
288+
(pt 576 152)
289+
(pt 552 152)
290+
)
291+
(connector
292+
(pt 584 176)
293+
(pt 552 176)
294+
)
295+
(connector
296+
(pt 552 176)
297+
(pt 552 192)
106298
)
107299
(connector
108-
(pt 336 232)
109-
(pt 336 224)
300+
(pt 648 168)
301+
(pt 728 168)
110302
)
111303
(connector
112-
(pt 336 224)
113-
(pt 312 224)
304+
(pt 648 256)
305+
(pt 664 256)
114306
)
115307
(connector
116-
(pt 344 248)
117-
(pt 312 248)
308+
(pt 664 256)
309+
(pt 680 256)
118310
)
119311
(connector
120-
(pt 408 240)
121-
(pt 440 240)
312+
(pt 576 248)
313+
(pt 576 240)
122314
)
123315
(connector
124-
(pt 312 248)
125-
(pt 312 264)
316+
(pt 552 240)
317+
(pt 576 240)
126318
)
319+
(junction (pt 664 256))

CH3/CH3-2/NAND_2.dpf

Lines changed: 0 additions & 16 deletions
This file was deleted.

CH3/CH3-2/NAND_2.qsf

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ set_global_assignment -name LAST_QUARTUS_VERSION 13.1
4545
set_global_assignment -name PROJECT_OUTPUT_DIRECTORY output_files
4646
set_global_assignment -name EDA_SIMULATION_TOOL "ModelSim-Altera (VHDL)"
4747
set_global_assignment -name EDA_OUTPUT_DATA_FORMAT VHDL -section_id eda_simulation
48-
set_global_assignment -name BDF_FILE NAND_2.bdf
4948
set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top
5049
set_global_assignment -name PARTITION_FITTER_PRESERVATION_LEVEL PLACEMENT_AND_ROUTING -section_id Top
5150
set_global_assignment -name PARTITION_COLOR 16764057 -section_id Top
@@ -55,5 +54,10 @@ set_global_assignment -name STRATIX_DEVICE_IO_STANDARD "2.5 V"
5554
set_location_assignment PIN_D2 -to A
5655
set_location_assignment PIN_E4 -to B
5756
set_location_assignment PIN_B1 -to F
58-
set_global_assignment -name BDF_FILE output_files/Work1.bdf
57+
set_global_assignment -name BDF_FILE Work1.bdf
58+
set_global_assignment -name BDF_FILE NAND_2.bdf
59+
set_location_assignment PIN_B2 -to Y
60+
set_location_assignment PIN_C2 -to Y1
61+
set_location_assignment PIN_E3 -to C
62+
set_location_assignment PIN_H7 -to D
5963
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top

0 commit comments

Comments
 (0)