summaryrefslogtreecommitdiff
path: root/FPGA/display/display.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'FPGA/display/display.tcl')
-rw-r--r--FPGA/display/display.tcl136
1 files changed, 136 insertions, 0 deletions
diff --git a/FPGA/display/display.tcl b/FPGA/display/display.tcl
new file mode 100644
index 0000000..bbdd53c
--- /dev/null
+++ b/FPGA/display/display.tcl
@@ -0,0 +1,136 @@
1# Copyright (C) 1991-2013 Altera Corporation
2# Your use of Altera Corporation's design tools, logic functions
3# and other software and tools, and its AMPP partner logic
4# functions, and any output files from any of the foregoing
5# (including device programming or simulation files), and any
6# associated documentation or information are expressly subject
7# to the terms and conditions of the Altera Program License
8# Subscription Agreement, Altera MegaCore Function License
9# Agreement, or other applicable license agreement, including,
10# without limitation, that your use is for the sole purpose of
11# programming logic devices manufactured by Altera and sold by
12# Altera or its authorized distributors. Please refer to the
13# applicable agreement for further details.
14
15# Quartus II: Generate Tcl File for Project
16# File: display.tcl
17# Generated on: Sun Jun 15 15:04:48 2014
18
19# Load Quartus II Tcl Project package
20package require ::quartus::project
21
22set need_to_close_project 0
23set make_assignments 1
24
25# Check that the right project is open
26if {[is_project_open]} {
27 if {[string compare $quartus(project) "display"]} {
28 puts "Project display is not open"
29 set make_assignments 0
30 }
31} else {
32 # Only open if not already open
33 if {[project_exists display]} {
34 project_open -revision display display
35 } else {
36 project_new -revision display display
37 }
38 set need_to_close_project 1
39}
40
41# Make assignments
42if {$make_assignments} {
43 set_global_assignment -name FAMILY "Cyclone II"
44 set_global_assignment -name DEVICE EP2C35F672C6
45 set_global_assignment -name ORIGINAL_QUARTUS_VERSION "13.0 SP1"
46 set_global_assignment -name PROJECT_CREATION_TIME_DATE "21:12:46 APRIL 11, 2014"
47 set_global_assignment -name LAST_QUARTUS_VERSION "13.0 SP1"
48 set_global_assignment -name PROJECT_OUTPUT_DIRECTORY output_files
49 set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0
50 set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85
51 set_global_assignment -name ERROR_CHECK_FREQUENCY_DIVISOR 1
52 set_global_assignment -name USE_CONFIGURATION_DEVICE ON
53 set_global_assignment -name RESERVE_ALL_UNUSED_PINS "AS INPUT TRI-STATED"
54 set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top
55 set_global_assignment -name PARTITION_FITTER_PRESERVATION_LEVEL PLACEMENT_AND_ROUTING -section_id Top
56 set_global_assignment -name PARTITION_COLOR 16764057 -section_id Top
57 set_global_assignment -name RESERVE_ALL_UNUSED_PINS_NO_OUTPUT_GND "AS INPUT TRI-STATED"
58 set_global_assignment -name QIP_FILE lpm_constant_f.qip
59 set_global_assignment -name QIP_FILE lpm_constant_a.qip
60 set_global_assignment -name QIP_FILE lpm_constant_1.qip
61 set_global_assignment -name VHDL_FILE ../vhdl/clock_divider.vhd
62 set_global_assignment -name BDF_FILE display.bdf
63 set_global_assignment -name VHDL_FILE ../vhdl/seven_segment_decoder.vhd
64 set_global_assignment -name BDF_FILE useless.bdf
65 set_global_assignment -name QIP_FILE lpm_shiftreg0.qip
66 set_global_assignment -name QIP_FILE lpm_constant7nada.qip
67 set_location_assignment PIN_AE14 -to speed[1]
68 set_location_assignment PIN_P25 -to speed[0]
69 set_location_assignment PIN_N26 -to fan_auto
70 set_location_assignment PIN_N25 -to alarm_user
71 set_location_assignment PIN_AF10 -to hex0[0]
72 set_location_assignment PIN_AB12 -to hex0[1]
73 set_location_assignment PIN_AC12 -to hex0[2]
74 set_location_assignment PIN_AD11 -to hex0[3]
75 set_location_assignment PIN_AE11 -to hex0[4]
76 set_location_assignment PIN_V14 -to hex0[5]
77 set_location_assignment PIN_V13 -to hex0[6]
78 set_location_assignment PIN_V20 -to hex1[0]
79 set_location_assignment PIN_V21 -to hex1[1]
80 set_location_assignment PIN_W21 -to hex1[2]
81 set_location_assignment PIN_Y22 -to hex1[3]
82 set_location_assignment PIN_AA24 -to hex1[4]
83 set_location_assignment PIN_AA23 -to hex1[5]
84 set_location_assignment PIN_AB24 -to hex1[6]
85 set_location_assignment PIN_AB23 -to hex2[0]
86 set_location_assignment PIN_V22 -to hex2[1]
87 set_location_assignment PIN_AC25 -to hex2[2]
88 set_location_assignment PIN_AC26 -to hex2[3]
89 set_location_assignment PIN_AB26 -to hex2[4]
90 set_location_assignment PIN_AB25 -to hex2[5]
91 set_location_assignment PIN_Y24 -to hex2[6]
92 set_location_assignment PIN_Y23 -to hex3[0]
93 set_location_assignment PIN_AA25 -to hex3[1]
94 set_location_assignment PIN_AA26 -to hex3[2]
95 set_location_assignment PIN_Y26 -to hex3[3]
96 set_location_assignment PIN_Y25 -to hex3[4]
97 set_location_assignment PIN_U22 -to hex3[5]
98 set_location_assignment PIN_W24 -to hex3[6]
99 set_location_assignment PIN_U9 -to hex4[0]
100 set_location_assignment PIN_U1 -to hex4[1]
101 set_location_assignment PIN_U2 -to hex4[2]
102 set_location_assignment PIN_T4 -to hex4[3]
103 set_location_assignment PIN_R7 -to hex4[4]
104 set_location_assignment PIN_R6 -to hex4[5]
105 set_location_assignment PIN_T3 -to hex4[6]
106 set_location_assignment PIN_T2 -to hex5[0]
107 set_location_assignment PIN_P6 -to hex5[1]
108 set_location_assignment PIN_P7 -to hex5[2]
109 set_location_assignment PIN_T9 -to hex5[3]
110 set_location_assignment PIN_R5 -to hex5[4]
111 set_location_assignment PIN_R4 -to hex5[5]
112 set_location_assignment PIN_R3 -to hex5[6]
113 set_location_assignment PIN_R2 -to hex6[0]
114 set_location_assignment PIN_P4 -to hex6[1]
115 set_location_assignment PIN_P3 -to hex6[2]
116 set_location_assignment PIN_M2 -to hex6[3]
117 set_location_assignment PIN_M3 -to hex6[4]
118 set_location_assignment PIN_M5 -to hex6[5]
119 set_location_assignment PIN_M4 -to hex6[6]
120 set_location_assignment PIN_L3 -to hex7[0]
121 set_location_assignment PIN_L2 -to hex7[1]
122 set_location_assignment PIN_L9 -to hex7[2]
123 set_location_assignment PIN_L6 -to hex7[3]
124 set_location_assignment PIN_L7 -to hex7[4]
125 set_location_assignment PIN_P9 -to hex7[5]
126 set_location_assignment PIN_N9 -to hex7[6]
127 set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
128
129 # Commit assignments
130 export_assignments
131
132 # Close project
133 if {$need_to_close_project} {
134 project_close
135 }
136}