Skip to content

Commit fb551fe

Browse files
committed
如果採用,此提交將完成4-1工作項目二
修改項目:
1 parent a1e99f5 commit fb551fe

72 files changed

Lines changed: 1532 additions & 432 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.

CH4/CH4-1/Boolean.bdf

Lines changed: 316 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,38 @@ applicable agreement for further details.
121121
(text "VCC" (rect 128 7 149 16)(font "Arial" (font_size 6)))
122122
(annotation_block (location)(rect -72 424 -16 440))
123123
)
124+
(pin
125+
(input)
126+
(rect -16 488 152 504)
127+
(text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6)))
128+
(text "A4" (rect 5 0 20 10)(font "Arial" ))
129+
(pt 168 8)
130+
(drawing
131+
(line (pt 84 12)(pt 109 12))
132+
(line (pt 84 4)(pt 109 4))
133+
(line (pt 113 8)(pt 168 8))
134+
(line (pt 84 12)(pt 84 4))
135+
(line (pt 109 4)(pt 113 8))
136+
(line (pt 109 12)(pt 113 8))
137+
)
138+
(text "VCC" (rect 128 7 149 16)(font "Arial" (font_size 6)))
139+
)
140+
(pin
141+
(input)
142+
(rect -16 584 152 600)
143+
(text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6)))
144+
(text "B4" (rect 5 0 20 10)(font "Arial" ))
145+
(pt 168 8)
146+
(drawing
147+
(line (pt 84 12)(pt 109 12))
148+
(line (pt 84 4)(pt 109 4))
149+
(line (pt 113 8)(pt 168 8))
150+
(line (pt 84 12)(pt 84 4))
151+
(line (pt 109 4)(pt 113 8))
152+
(line (pt 109 12)(pt 113 8))
153+
)
154+
(text "VCC" (rect 128 7 149 16)(font "Arial" (font_size 6)))
155+
)
124156
(pin
125157
(output)
126158
(rect 360 56 536 72)
@@ -189,6 +221,70 @@ applicable agreement for further details.
189221
)
190222
(annotation_block (location)(rect 536 392 592 408))
191223
)
224+
(pin
225+
(output)
226+
(rect 360 448 536 464)
227+
(text "OUTPUT" (rect 1 0 41 9)(font "Arial" (font_size 6)))
228+
(text "F5" (rect 90 0 104 10)(font "Arial" ))
229+
(pt 0 8)
230+
(drawing
231+
(line (pt 0 8)(pt 52 8))
232+
(line (pt 52 4)(pt 78 4))
233+
(line (pt 52 12)(pt 78 12))
234+
(line (pt 52 12)(pt 52 4))
235+
(line (pt 78 4)(pt 82 8))
236+
(line (pt 82 8)(pt 78 12))
237+
(line (pt 78 12)(pt 82 8))
238+
)
239+
)
240+
(pin
241+
(output)
242+
(rect 360 488 536 504)
243+
(text "OUTPUT" (rect 1 0 41 9)(font "Arial" (font_size 6)))
244+
(text "F6" (rect 90 0 104 10)(font "Arial" ))
245+
(pt 0 8)
246+
(drawing
247+
(line (pt 0 8)(pt 52 8))
248+
(line (pt 52 4)(pt 78 4))
249+
(line (pt 52 12)(pt 78 12))
250+
(line (pt 52 12)(pt 52 4))
251+
(line (pt 78 4)(pt 82 8))
252+
(line (pt 82 8)(pt 78 12))
253+
(line (pt 78 12)(pt 82 8))
254+
)
255+
)
256+
(pin
257+
(output)
258+
(rect 360 552 536 568)
259+
(text "OUTPUT" (rect 1 0 41 9)(font "Arial" (font_size 6)))
260+
(text "F7" (rect 90 0 104 10)(font "Arial" ))
261+
(pt 0 8)
262+
(drawing
263+
(line (pt 0 8)(pt 52 8))
264+
(line (pt 52 4)(pt 78 4))
265+
(line (pt 52 12)(pt 78 12))
266+
(line (pt 52 12)(pt 52 4))
267+
(line (pt 78 4)(pt 82 8))
268+
(line (pt 82 8)(pt 78 12))
269+
(line (pt 78 12)(pt 82 8))
270+
)
271+
)
272+
(pin
273+
(output)
274+
(rect 360 584 536 600)
275+
(text "OUTPUT" (rect 1 0 41 9)(font "Arial" (font_size 6)))
276+
(text "F8" (rect 90 0 104 10)(font "Arial" ))
277+
(pt 0 8)
278+
(drawing
279+
(line (pt 0 8)(pt 52 8))
280+
(line (pt 52 4)(pt 78 4))
281+
(line (pt 52 12)(pt 78 12))
282+
(line (pt 52 12)(pt 52 4))
283+
(line (pt 78 4)(pt 82 8))
284+
(line (pt 82 8)(pt 78 12))
285+
(line (pt 78 12)(pt 82 8))
286+
)
287+
)
192288
(symbol
193289
(rect 192 64 240 96)
194290
(text "NOT" (rect 1 0 22 9)(font "Arial" (font_size 6)))
@@ -434,6 +530,140 @@ applicable agreement for further details.
434530
(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
435531
)
436532
)
533+
(symbol
534+
(rect 200 472 264 520)
535+
(text "NAND2" (rect 1 0 36 9)(font "Arial" (font_size 6)))
536+
(text "inst1" (rect 3 37 26 47)(font "Arial" ))
537+
(port
538+
(pt 0 32)
539+
(input)
540+
(text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible))
541+
(text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible))
542+
(line (pt 0 32)(pt 15 32))
543+
)
544+
(port
545+
(pt 0 16)
546+
(input)
547+
(text "IN1" (rect 2 7 24 18)(font "Courier New" (bold))(invisible))
548+
(text "IN1" (rect 2 7 24 18)(font "Courier New" (bold))(invisible))
549+
(line (pt 0 16)(pt 15 16))
550+
)
551+
(port
552+
(pt 64 24)
553+
(output)
554+
(text "OUT" (rect 48 15 70 26)(font "Courier New" (bold))(invisible))
555+
(text "OUT" (rect 48 15 70 26)(font "Courier New" (bold))(invisible))
556+
(line (pt 52 24)(pt 64 24))
557+
)
558+
(drawing
559+
(line (pt 15 37)(pt 32 37))
560+
(line (pt 15 12)(pt 32 12))
561+
(line (pt 15 36)(pt 15 12))
562+
(arc (pt 32 36)(pt 32 12)(rect 20 12 45 37))
563+
(circle (rect 44 20 52 28))
564+
)
565+
)
566+
(symbol
567+
(rect 288 472 352 520)
568+
(text "NAND2" (rect 1 0 36 9)(font "Arial" (font_size 6)))
569+
(text "inst6" (rect 3 37 26 47)(font "Arial" ))
570+
(port
571+
(pt 0 32)
572+
(input)
573+
(text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible))
574+
(text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible))
575+
(line (pt 0 32)(pt 15 32))
576+
)
577+
(port
578+
(pt 0 16)
579+
(input)
580+
(text "IN1" (rect 2 7 24 18)(font "Courier New" (bold))(invisible))
581+
(text "IN1" (rect 2 7 24 18)(font "Courier New" (bold))(invisible))
582+
(line (pt 0 16)(pt 15 16))
583+
)
584+
(port
585+
(pt 64 24)
586+
(output)
587+
(text "OUT" (rect 48 15 70 26)(font "Courier New" (bold))(invisible))
588+
(text "OUT" (rect 48 15 70 26)(font "Courier New" (bold))(invisible))
589+
(line (pt 52 24)(pt 64 24))
590+
)
591+
(drawing
592+
(line (pt 15 37)(pt 32 37))
593+
(line (pt 15 12)(pt 32 12))
594+
(line (pt 15 36)(pt 15 12))
595+
(arc (pt 32 36)(pt 32 12)(rect 20 12 45 37))
596+
(circle (rect 44 20 52 28))
597+
)
598+
)
599+
(symbol
600+
(rect 200 568 264 616)
601+
(text "NOR2" (rect 1 0 30 9)(font "Arial" (font_size 6)))
602+
(text "inst10" (rect 3 37 32 47)(font "Arial" ))
603+
(port
604+
(pt 0 32)
605+
(input)
606+
(text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible))
607+
(text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible))
608+
(line (pt 0 32)(pt 14 32))
609+
)
610+
(port
611+
(pt 0 16)
612+
(input)
613+
(text "IN1" (rect 2 7 24 18)(font "Courier New" (bold))(invisible))
614+
(text "IN1" (rect 2 7 24 18)(font "Courier New" (bold))(invisible))
615+
(line (pt 0 16)(pt 14 16))
616+
)
617+
(port
618+
(pt 64 24)
619+
(output)
620+
(text "OUT" (rect 48 15 70 26)(font "Courier New" (bold))(invisible))
621+
(text "OUT" (rect 48 15 70 26)(font "Courier New" (bold))(invisible))
622+
(line (pt 54 24)(pt 64 24))
623+
)
624+
(drawing
625+
(line (pt 12 36)(pt 23 36))
626+
(line (pt 12 13)(pt 23 13))
627+
(arc (pt 46 24)(pt 23 13)(rect -6 13 53 72))
628+
(arc (pt 5 29)(pt 5 19)(rect -16 8 17 41))
629+
(arc (pt 23 35)(pt 46 24)(rect -6 -23 53 36))
630+
(circle (rect 46 20 54 28))
631+
)
632+
)
633+
(symbol
634+
(rect 288 568 352 616)
635+
(text "NOR2" (rect 1 0 30 9)(font "Arial" (font_size 6)))
636+
(text "inst11" (rect 3 37 32 47)(font "Arial" ))
637+
(port
638+
(pt 0 32)
639+
(input)
640+
(text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible))
641+
(text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible))
642+
(line (pt 0 32)(pt 14 32))
643+
)
644+
(port
645+
(pt 0 16)
646+
(input)
647+
(text "IN1" (rect 2 7 24 18)(font "Courier New" (bold))(invisible))
648+
(text "IN1" (rect 2 7 24 18)(font "Courier New" (bold))(invisible))
649+
(line (pt 0 16)(pt 14 16))
650+
)
651+
(port
652+
(pt 64 24)
653+
(output)
654+
(text "OUT" (rect 48 15 70 26)(font "Courier New" (bold))(invisible))
655+
(text "OUT" (rect 48 15 70 26)(font "Courier New" (bold))(invisible))
656+
(line (pt 54 24)(pt 64 24))
657+
)
658+
(drawing
659+
(line (pt 12 36)(pt 23 36))
660+
(line (pt 12 13)(pt 23 13))
661+
(arc (pt 46 24)(pt 23 13)(rect -6 13 53 72))
662+
(arc (pt 5 29)(pt 5 19)(rect -16 8 17 41))
663+
(arc (pt 23 35)(pt 46 24)(rect -6 -23 53 36))
664+
(circle (rect 46 20 54 28))
665+
)
666+
)
437667
(connector
438668
(pt 152 80)
439669
(pt 152 56)
@@ -538,7 +768,93 @@ applicable agreement for further details.
538768
(pt 152 288)
539769
(pt 152 264)
540770
)
771+
(connector
772+
(pt 352 592)
773+
(pt 360 592)
774+
)
775+
(connector
776+
(pt 152 496)
777+
(pt 200 496)
778+
)
779+
(connector
780+
(pt 200 488)
781+
(pt 200 496)
782+
)
783+
(connector
784+
(pt 200 496)
785+
(pt 200 504)
786+
)
787+
(connector
788+
(pt 288 488)
789+
(pt 288 496)
790+
)
791+
(connector
792+
(pt 288 496)
793+
(pt 288 504)
794+
)
795+
(connector
796+
(pt 352 496)
797+
(pt 360 496)
798+
)
799+
(connector
800+
(pt 360 456)
801+
(pt 272 456)
802+
)
803+
(connector
804+
(pt 272 456)
805+
(pt 272 496)
806+
)
807+
(connector
808+
(pt 264 496)
809+
(pt 272 496)
810+
)
811+
(connector
812+
(pt 272 496)
813+
(pt 288 496)
814+
)
815+
(connector
816+
(pt 288 584)
817+
(pt 288 592)
818+
)
819+
(connector
820+
(pt 288 592)
821+
(pt 288 600)
822+
)
823+
(connector
824+
(pt 200 584)
825+
(pt 200 592)
826+
)
827+
(connector
828+
(pt 200 592)
829+
(pt 200 600)
830+
)
831+
(connector
832+
(pt 152 592)
833+
(pt 200 592)
834+
)
835+
(connector
836+
(pt 360 560)
837+
(pt 272 560)
838+
)
839+
(connector
840+
(pt 272 560)
841+
(pt 272 592)
842+
)
843+
(connector
844+
(pt 264 592)
845+
(pt 272 592)
846+
)
847+
(connector
848+
(pt 272 592)
849+
(pt 288 592)
850+
)
541851
(junction (pt 152 56))
542852
(junction (pt 152 160))
543853
(junction (pt 152 376))
544854
(junction (pt 152 264))
855+
(junction (pt 200 496))
856+
(junction (pt 288 496))
857+
(junction (pt 288 592))
858+
(junction (pt 272 496))
859+
(junction (pt 200 592))
860+
(junction (pt 272 592))

CH4/CH4-1/Boolean.qsf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,10 @@ set_location_assignment PIN_B1 -to F
6262
set_location_assignment PIN_B2 -to F2
6363
set_location_assignment PIN_C2 -to F3
6464
set_location_assignment PIN_C1 -to F4
65+
set_location_assignment PIN_G4 -to A4
66+
set_location_assignment PIN_H6 -to B4
67+
set_location_assignment PIN_E1 -to F5
68+
set_location_assignment PIN_F2 -to F6
69+
set_location_assignment PIN_H1 -to F7
70+
set_location_assignment PIN_J3 -to F8
6571
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top

CH4/CH4-1/db/Boolean.(0).cnf.cdb

250 Bytes
Binary file not shown.

CH4/CH4-1/db/Boolean.(0).cnf.hdb

161 Bytes
Binary file not shown.

CH4/CH4-1/db/Boolean.asm.qmsg

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{ "Info" "IQEXE_SEPARATOR" "" "*******************************************************************" { } { } 3 0 "*******************************************************************" 0 0 "Quartus II" 0 -1 1564673322776 ""}
2-
{ "Info" "IQEXE_START_BANNER_PRODUCT" "Assembler Quartus II 32-bit " "Running Quartus II 32-bit Assembler" { { "Info" "IQEXE_START_BANNER_VERSION" "Version 13.1.0 Build 162 10/23/2013 SJ Web Edition " "Version 13.1.0 Build 162 10/23/2013 SJ Web Edition" { } { } 0 0 "%1!s!" 0 0 "Quartus II" 0 -1 1564673322779 ""} { "Info" "IQEXE_START_BANNER_TIME" "Thu Aug 1 23:28:42 2019 " "Processing started: Thu Aug 1 23:28:42 2019" { } { } 0 0 "Processing started: %1!s!" 0 0 "Quartus II" 0 -1 1564673322779 ""} } { } 4 0 "Running %2!s! %1!s!" 0 0 "Assembler" 0 -1 1564673322779 ""}
3-
{ "Info" "IQEXE_START_BANNER_COMMANDLINE" "quartus_asm --read_settings_files=off --write_settings_files=off Boolean -c Boolean " "Command: quartus_asm --read_settings_files=off --write_settings_files=off Boolean -c Boolean" { } { } 0 0 "Command: %1!s!" 0 0 "Assembler" 0 -1 1564673322780 ""}
4-
{ "Info" "IASM_ASM_GENERATING_POWER_DATA" "" "Writing out detailed assembly data for power analysis" { } { } 0 115031 "Writing out detailed assembly data for power analysis" 0 0 "Assembler" 0 -1 1564673324587 ""}
5-
{ "Info" "IASM_ASM_GENERATING_PROGRAMMING_FILES" "" "Assembler is generating device programming files" { } { } 0 115030 "Assembler is generating device programming files" 0 0 "Assembler" 0 -1 1564673324643 ""}
6-
{ "Info" "IQEXE_ERROR_COUNT" "Assembler 0 s 0 s Quartus II 32-bit " "Quartus II 32-bit Assembler was successful. 0 errors, 0 warnings" { { "Info" "IQEXE_END_PEAK_VSIZE_MEMORY" "378 " "Peak virtual memory: 378 megabytes" { } { } 0 0 "Peak virtual memory: %1!s! megabytes" 0 0 "Quartus II" 0 -1 1564673325279 ""} { "Info" "IQEXE_END_BANNER_TIME" "Thu Aug 1 23:28:45 2019 " "Processing ended: Thu Aug 1 23:28:45 2019" { } { } 0 0 "Processing ended: %1!s!" 0 0 "Quartus II" 0 -1 1564673325279 ""} { "Info" "IQEXE_ELAPSED_TIME" "00:00:03 " "Elapsed time: 00:00:03" { } { } 0 0 "Elapsed time: %1!s!" 0 0 "Quartus II" 0 -1 1564673325279 ""} { "Info" "IQEXE_ELAPSED_CPU_TIME" "00:00:03 " "Total CPU time (on all processors): 00:00:03" { } { } 0 0 "Total CPU time (on all processors): %1!s!" 0 0 "Quartus II" 0 -1 1564673325279 ""} } { } 0 0 "%6!s! %1!s! was successful. %2!d! error%3!s!, %4!d! warning%5!s!" 0 0 "Assembler" 0 -1 1564673325279 ""}
1+
{ "Info" "IQEXE_SEPARATOR" "" "*******************************************************************" { } { } 3 0 "*******************************************************************" 0 0 "Quartus II" 0 -1 1564759746259 ""}
2+
{ "Info" "IQEXE_START_BANNER_PRODUCT" "Assembler Quartus II 32-bit " "Running Quartus II 32-bit Assembler" { { "Info" "IQEXE_START_BANNER_VERSION" "Version 13.1.0 Build 162 10/23/2013 SJ Web Edition " "Version 13.1.0 Build 162 10/23/2013 SJ Web Edition" { } { } 0 0 "%1!s!" 0 0 "Quartus II" 0 -1 1564759746261 ""} { "Info" "IQEXE_START_BANNER_TIME" "Fri Aug 2 23:29:05 2019 " "Processing started: Fri Aug 2 23:29:05 2019" { } { } 0 0 "Processing started: %1!s!" 0 0 "Quartus II" 0 -1 1564759746261 ""} } { } 4 0 "Running %2!s! %1!s!" 0 0 "Assembler" 0 -1 1564759746261 ""}
3+
{ "Info" "IQEXE_START_BANNER_COMMANDLINE" "quartus_asm --read_settings_files=off --write_settings_files=off Boolean -c Boolean " "Command: quartus_asm --read_settings_files=off --write_settings_files=off Boolean -c Boolean" { } { } 0 0 "Command: %1!s!" 0 0 "Assembler" 0 -1 1564759746261 ""}
4+
{ "Info" "IASM_ASM_GENERATING_POWER_DATA" "" "Writing out detailed assembly data for power analysis" { } { } 0 115031 "Writing out detailed assembly data for power analysis" 0 0 "Assembler" 0 -1 1564759747726 ""}
5+
{ "Info" "IASM_ASM_GENERATING_PROGRAMMING_FILES" "" "Assembler is generating device programming files" { } { } 0 115030 "Assembler is generating device programming files" 0 0 "Assembler" 0 -1 1564759747768 ""}
6+
{ "Info" "IQEXE_ERROR_COUNT" "Assembler 0 s 0 s Quartus II 32-bit " "Quartus II 32-bit Assembler was successful. 0 errors, 0 warnings" { { "Info" "IQEXE_END_PEAK_VSIZE_MEMORY" "382 " "Peak virtual memory: 382 megabytes" { } { } 0 0 "Peak virtual memory: %1!s! megabytes" 0 0 "Quartus II" 0 -1 1564759748210 ""} { "Info" "IQEXE_END_BANNER_TIME" "Fri Aug 2 23:29:08 2019 " "Processing ended: Fri Aug 2 23:29:08 2019" { } { } 0 0 "Processing ended: %1!s!" 0 0 "Quartus II" 0 -1 1564759748210 ""} { "Info" "IQEXE_ELAPSED_TIME" "00:00:03 " "Elapsed time: 00:00:03" { } { } 0 0 "Elapsed time: %1!s!" 0 0 "Quartus II" 0 -1 1564759748210 ""} { "Info" "IQEXE_ELAPSED_CPU_TIME" "00:00:02 " "Total CPU time (on all processors): 00:00:02" { } { } 0 0 "Total CPU time (on all processors): %1!s!" 0 0 "Quartus II" 0 -1 1564759748210 ""} } { } 0 0 "%6!s! %1!s! was successful. %2!d! error%3!s!, %4!d! warning%5!s!" 0 0 "Assembler" 0 -1 1564759748210 ""}

CH4/CH4-1/db/Boolean.asm.rdb

0 Bytes
Binary file not shown.

CH4/CH4-1/db/Boolean.asm_labs.ddb

0 Bytes
Binary file not shown.

CH4/CH4-1/db/Boolean.cmp.bpm

78 Bytes
Binary file not shown.

CH4/CH4-1/db/Boolean.cmp.cdb

454 Bytes
Binary file not shown.

CH4/CH4-1/db/Boolean.cmp.hdb

309 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)