1 |
4 |
yaira |
# Copyright (C) 1991-2012 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: mesi_isc.tcl
|
17 |
|
|
# Generated on: Tue Dec 25 13:58:34 2012
|
18 |
|
|
|
19 |
|
|
# Load Quartus II Tcl Project package
|
20 |
|
|
package require ::quartus::project
|
21 |
|
|
|
22 |
|
|
set need_to_close_project 0
|
23 |
|
|
set make_assignments 1
|
24 |
|
|
|
25 |
|
|
# Check that the right project is open
|
26 |
|
|
if {[is_project_open]} {
|
27 |
|
|
if {[string compare $quartus(project) "mesi_isc"]} {
|
28 |
|
|
puts "Project mesi_isc is not open"
|
29 |
|
|
set make_assignments 0
|
30 |
|
|
}
|
31 |
|
|
} else {
|
32 |
|
|
# Only open if not already open
|
33 |
|
|
if {[project_exists mesi_isc]} {
|
34 |
|
|
project_open -revision mesi_isc mesi_isc
|
35 |
|
|
} else {
|
36 |
|
|
project_new -revision mesi_isc mesi_isc
|
37 |
|
|
}
|
38 |
|
|
set need_to_close_project 1
|
39 |
|
|
}
|
40 |
|
|
|
41 |
|
|
# Make assignments
|
42 |
|
|
if {$make_assignments} {
|
43 |
|
|
set_global_assignment -name FAMILY "Cyclone IV GX"
|
44 |
|
|
set_global_assignment -name DEVICE auto
|
45 |
|
|
set_global_assignment -name ORIGINAL_QUARTUS_VERSION "12.0 SP2"
|
46 |
|
|
set_global_assignment -name PROJECT_CREATION_TIME_DATE "09:58:58 NOVEMBER 06, 2012"
|
47 |
|
|
set_global_assignment -name LAST_QUARTUS_VERSION "12.0 SP2"
|
48 |
|
|
set_global_assignment -name VERILOG_FILE ../src/rtl/mesi_isc_define.v
|
49 |
|
|
set_global_assignment -name VERILOG_FILE ../src/rtl/mesi_isc_broad_cntl.v
|
50 |
|
|
set_global_assignment -name VERILOG_FILE ../src/rtl/mesi_isc_broad.v
|
51 |
|
|
set_global_assignment -name VERILOG_FILE ../src/rtl/mesi_isc_breq_fifos_cntl.v
|
52 |
|
|
set_global_assignment -name VERILOG_FILE ../src/rtl/mesi_isc_breq_fifos.v
|
53 |
|
|
set_global_assignment -name VERILOG_FILE ../src/rtl/mesi_isc_basic_fifo.v
|
54 |
|
|
set_global_assignment -name VERILOG_FILE ../src/rtl/mesi_isc.v
|
55 |
|
|
set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top
|
56 |
|
|
set_global_assignment -name PARTITION_FITTER_PRESERVATION_LEVEL PLACEMENT_AND_ROUTING -section_id Top
|
57 |
|
|
set_global_assignment -name PARTITION_COLOR 16764057 -section_id Top
|
58 |
|
|
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
|
59 |
|
|
|
60 |
|
|
# Commit assignments
|
61 |
|
|
export_assignments
|
62 |
|
|
|
63 |
|
|
# Close project
|
64 |
|
|
if {$need_to_close_project} {
|
65 |
|
|
project_close
|
66 |
|
|
}
|
67 |
|
|
}
|