Skip to content

Commit dc6fa80

Browse files
authored
Merge pull request #17 from timmy61109/feature/timmy61109/CH5-1
如果採用,此拉請求將完成5-1實習課程
2 parents 75632fa + daca8b3 commit dc6fa80

564 files changed

Lines changed: 40119 additions & 0 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.

CH5/CH5-1/4bit_adder.bdf

Lines changed: 555 additions & 0 deletions
Large diffs are not rendered by default.

CH5/CH5-1/4bit_adder.bsf

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
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-2015 Altera Corporation. All rights reserved.
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, the Altera Quartus II License Agreement,
15+
the Altera MegaCore Function License Agreement, or other
16+
applicable license agreement, including, without limitation,
17+
that your use is for the sole purpose of programming logic
18+
devices manufactured by Altera and sold by Altera or its
19+
authorized distributors. Please refer to the applicable
20+
agreement for further details.
21+
*/
22+
(header "symbol" (version "1.2"))
23+
(symbol
24+
(rect 16 16 112 208)
25+
(text "4bit_adder" (rect 5 0 67 12)(font "Arial" (font_size 8)))
26+
(text "inst" (rect 8 178 25 188)(font "Arial" ))
27+
(port
28+
(pt 0 32)
29+
(input)
30+
(text "A4" (rect 0 0 17 12)(font "Arial" (font_size 8)))
31+
(text "A4" (rect 21 27 38 39)(font "Arial" (font_size 8)))
32+
(line (pt 0 32)(pt 16 32))
33+
)
34+
(port
35+
(pt 0 48)
36+
(input)
37+
(text "B4" (rect 0 0 17 12)(font "Arial" (font_size 8)))
38+
(text "B4" (rect 21 43 38 55)(font "Arial" (font_size 8)))
39+
(line (pt 0 48)(pt 16 48))
40+
)
41+
(port
42+
(pt 0 64)
43+
(input)
44+
(text "A3" (rect 0 0 17 12)(font "Arial" (font_size 8)))
45+
(text "A3" (rect 21 59 38 71)(font "Arial" (font_size 8)))
46+
(line (pt 0 64)(pt 16 64))
47+
)
48+
(port
49+
(pt 0 80)
50+
(input)
51+
(text "B3" (rect 0 0 17 12)(font "Arial" (font_size 8)))
52+
(text "B3" (rect 21 75 38 87)(font "Arial" (font_size 8)))
53+
(line (pt 0 80)(pt 16 80))
54+
)
55+
(port
56+
(pt 0 96)
57+
(input)
58+
(text "A2" (rect 0 0 17 12)(font "Arial" (font_size 8)))
59+
(text "A2" (rect 21 91 38 103)(font "Arial" (font_size 8)))
60+
(line (pt 0 96)(pt 16 96))
61+
)
62+
(port
63+
(pt 0 112)
64+
(input)
65+
(text "B2" (rect 0 0 17 12)(font "Arial" (font_size 8)))
66+
(text "B2" (rect 21 107 38 119)(font "Arial" (font_size 8)))
67+
(line (pt 0 112)(pt 16 112))
68+
)
69+
(port
70+
(pt 0 128)
71+
(input)
72+
(text "A1" (rect 0 0 17 12)(font "Arial" (font_size 8)))
73+
(text "A1" (rect 21 123 38 135)(font "Arial" (font_size 8)))
74+
(line (pt 0 128)(pt 16 128))
75+
)
76+
(port
77+
(pt 0 144)
78+
(input)
79+
(text "B1" (rect 0 0 17 12)(font "Arial" (font_size 8)))
80+
(text "B1" (rect 21 139 38 151)(font "Arial" (font_size 8)))
81+
(line (pt 0 144)(pt 16 144))
82+
)
83+
(port
84+
(pt 96 32)
85+
(output)
86+
(text "C4" (rect 0 0 18 12)(font "Arial" (font_size 8)))
87+
(text "C4" (rect 57 27 75 39)(font "Arial" (font_size 8)))
88+
(line (pt 96 32)(pt 80 32))
89+
)
90+
(port
91+
(pt 96 48)
92+
(output)
93+
(text "S4" (rect 0 0 17 12)(font "Arial" (font_size 8)))
94+
(text "S4" (rect 58 43 75 55)(font "Arial" (font_size 8)))
95+
(line (pt 96 48)(pt 80 48))
96+
)
97+
(port
98+
(pt 96 64)
99+
(output)
100+
(text "S3" (rect 0 0 17 12)(font "Arial" (font_size 8)))
101+
(text "S3" (rect 58 59 75 71)(font "Arial" (font_size 8)))
102+
(line (pt 96 64)(pt 80 64))
103+
)
104+
(port
105+
(pt 96 80)
106+
(output)
107+
(text "S2" (rect 0 0 17 12)(font "Arial" (font_size 8)))
108+
(text "S2" (rect 58 75 75 87)(font "Arial" (font_size 8)))
109+
(line (pt 96 80)(pt 80 80))
110+
)
111+
(port
112+
(pt 96 96)
113+
(output)
114+
(text "S1" (rect 0 0 17 12)(font "Arial" (font_size 8)))
115+
(text "S1" (rect 58 91 75 103)(font "Arial" (font_size 8)))
116+
(line (pt 96 96)(pt 80 96))
117+
)
118+
(drawing
119+
(rectangle (rect 16 16 80 176))
120+
)
121+
)

CH5/CH5-1/4bit_adder.qpf

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# -------------------------------------------------------------------------- #
2+
#
3+
# Copyright (C) 1991-2015 Altera Corporation. All rights reserved.
4+
# Your use of Altera Corporation's design tools, logic functions
5+
# and other software and tools, and its AMPP partner logic
6+
# functions, and any output files from any of the foregoing
7+
# (including device programming or simulation files), and any
8+
# associated documentation or information are expressly subject
9+
# to the terms and conditions of the Altera Program License
10+
# Subscription Agreement, the Altera Quartus II License Agreement,
11+
# the Altera MegaCore Function License Agreement, or other
12+
# applicable license agreement, including, without limitation,
13+
# that your use is for the sole purpose of programming logic
14+
# devices manufactured by Altera and sold by Altera or its
15+
# authorized distributors. Please refer to the applicable
16+
# agreement for further details.
17+
#
18+
# -------------------------------------------------------------------------- #
19+
#
20+
# Quartus II 64-Bit
21+
# Version 15.0.2 Build 153 07/15/2015 SJ Web Edition
22+
# Date created = 20:46:18 August 15, 2019
23+
#
24+
# -------------------------------------------------------------------------- #
25+
26+
QUARTUS_VERSION = "15.0"
27+
DATE = "20:46:18 August 15, 2019"
28+
29+
# Revisions
30+
31+
PROJECT_REVISION = "4bit_adder"

CH5/CH5-1/4bit_adder.qsf

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# -------------------------------------------------------------------------- #
2+
#
3+
# Copyright (C) 1991-2015 Altera Corporation. All rights reserved.
4+
# Your use of Altera Corporation's design tools, logic functions
5+
# and other software and tools, and its AMPP partner logic
6+
# functions, and any output files from any of the foregoing
7+
# (including device programming or simulation files), and any
8+
# associated documentation or information are expressly subject
9+
# to the terms and conditions of the Altera Program License
10+
# Subscription Agreement, the Altera Quartus II License Agreement,
11+
# the Altera MegaCore Function License Agreement, or other
12+
# applicable license agreement, including, without limitation,
13+
# that your use is for the sole purpose of programming logic
14+
# devices manufactured by Altera and sold by Altera or its
15+
# authorized distributors. Please refer to the applicable
16+
# agreement for further details.
17+
#
18+
# -------------------------------------------------------------------------- #
19+
#
20+
# Quartus II 64-Bit
21+
# Version 15.0.2 Build 153 07/15/2015 SJ Web Edition
22+
# Date created = 20:46:18 August 15, 2019
23+
#
24+
# -------------------------------------------------------------------------- #
25+
#
26+
# Notes:
27+
#
28+
# 1) The default values for assignments are stored in the file:
29+
# 4bit_adder_assignment_defaults.qdf
30+
# If this file doesn't exist, see file:
31+
# assignment_defaults.qdf
32+
#
33+
# 2) Altera recommends that you do not modify this file. This
34+
# file is updated automatically by the Quartus II software
35+
# and any changes you make may be lost or overwritten.
36+
#
37+
# -------------------------------------------------------------------------- #
38+
39+
40+
set_global_assignment -name FAMILY "Cyclone V"
41+
set_global_assignment -name DEVICE 5CSXFC6D6F31C8
42+
set_global_assignment -name TOP_LEVEL_ENTITY 4bit_adder
43+
set_global_assignment -name ORIGINAL_QUARTUS_VERSION 15.0.2
44+
set_global_assignment -name PROJECT_CREATION_TIME_DATE "20:46:18 AUGUST 15, 2019"
45+
set_global_assignment -name LAST_QUARTUS_VERSION 15.0.2
46+
set_global_assignment -name PROJECT_OUTPUT_DIRECTORY output_files
47+
set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0
48+
set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85
49+
set_global_assignment -name ERROR_CHECK_FREQUENCY_DIVISOR 256
50+
set_global_assignment -name EDA_SIMULATION_TOOL "ModelSim-Altera (VHDL)"
51+
set_global_assignment -name EDA_OUTPUT_DATA_FORMAT VHDL -section_id eda_simulation
52+
set_global_assignment -name BDF_FILE 4bit_adder.bdf
53+
set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top
54+
set_global_assignment -name PARTITION_FITTER_PRESERVATION_LEVEL PLACEMENT_AND_ROUTING -section_id Top
55+
set_global_assignment -name PARTITION_COLOR 16764057 -section_id Top
56+
set_global_assignment -name VECTOR_WAVEFORM_FILE 4bit_adder.vwf
57+
set_global_assignment -name STRATIX_DEVICE_IO_STANDARD "2.5 V"
58+
set_location_assignment PIN_W25 -to A1
59+
set_location_assignment PIN_V25 -to A2
60+
set_location_assignment PIN_AC28 -to A3
61+
set_location_assignment PIN_AC29 -to A4
62+
set_global_assignment -name POWER_PRESET_COOLING_SOLUTION "23 MM HEAT SINK WITH 200 LFPM AIRFLOW"
63+
set_global_assignment -name POWER_BOARD_THERMAL_MODEL "NONE (CONSERVATIVE)"
64+
set_global_assignment -name VHDL_INPUT_VERSION VHDL_2008
65+
set_global_assignment -name VHDL_SHOW_LMF_MAPPING_MESSAGES OFF
66+
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top

CH5/CH5-1/4bit_adder.qws

1.21 KB
Binary file not shown.

0 commit comments

Comments
 (0)