OpenCores
URL https://opencores.org/ocsvn/wiegand_ctl/wiegand_ctl/trunk

Subversion Repositories wiegand_ctl

[/] [wiegand_ctl/] [trunk/] [syn/] [altera/] [wiegand_tx/] [wiegand_tx_top.tcl] - Blame information for rev 17

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 17 jeaander
# Copyright (C) 1991-2014 Altera Corporation. All rights reserved.
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, the Altera Quartus II License Agreement,
9
# the Altera MegaCore Function License Agreement, or other 
10
# applicable license agreement, including, without limitation, 
11
# that your use is for the sole purpose of programming logic 
12
# devices manufactured by Altera and sold by Altera or its 
13
# authorized distributors.  Please refer to the applicable 
14
# agreement for further details.
15
 
16
# Quartus II: Generate Tcl File for Project
17
# File: wiegand_tx_top.tcl
18
# Generated on: Mon Feb 16 11:00:47 2015
19
 
20
# Load Quartus II Tcl Project package
21
package require ::quartus::project
22
 
23
set need_to_close_project 0
24
set make_assignments 1
25
 
26
# Check that the right project is open
27
if {[is_project_open]} {
28
        if {[string compare $quartus(project) "wiegand_tx_top"]} {
29
                puts "Project wiegand_tx_top is not open"
30
                set make_assignments 0
31
        }
32
} else {
33
        # Only open if not already open
34
        if {[project_exists wiegand_tx_top]} {
35
                project_open -revision wiegand_tx_top wiegand_tx_top
36
        } else {
37
                project_new -revision wiegand_tx_top wiegand_tx_top
38
        }
39
        set need_to_close_project 1
40
}
41
 
42
# Make assignments
43
if {$make_assignments} {
44
        set_global_assignment -name FAMILY "Cyclone IV GX"
45
        set_global_assignment -name DEVICE auto
46
        set_global_assignment -name ORIGINAL_QUARTUS_VERSION 14.0
47
        set_global_assignment -name PROJECT_CREATION_TIME_DATE "10:59:20  FEBRUARY 16, 2015"
48
        set_global_assignment -name LAST_QUARTUS_VERSION 14.0
49
        set_global_assignment -name VERILOG_FILE ../../../rtl/verilog/wiegand_tx_top.v
50
        set_global_assignment -name VERILOG_FILE ../../../rtl/verilog/wiegand_defines.v
51
        set_global_assignment -name VERILOG_FILE ../../../rtl/verilog/wb_interface.v
52
        set_global_assignment -name VERILOG_FILE ../../../rtl/verilog/fifos.v
53
        set_global_assignment -name PROJECT_OUTPUT_DIRECTORY output_files
54
        set_global_assignment -name EDA_SIMULATION_TOOL "ModelSim-Altera (Verilog)"
55
        set_global_assignment -name EDA_OUTPUT_DATA_FORMAT "VERILOG HDL" -section_id eda_simulation
56
        set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top
57
        set_global_assignment -name PARTITION_FITTER_PRESERVATION_LEVEL PLACEMENT_AND_ROUTING -section_id Top
58
        set_global_assignment -name PARTITION_COLOR 16764057 -section_id Top
59
        set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
60
 
61
        # Commit assignments
62
        export_assignments
63
 
64
        # Close project
65
        if {$need_to_close_project} {
66
                project_close
67
        }
68
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.