quartus_project_flow.tcl 1.48 KB
Newer Older
Friedrich Beckmann's avatar
Friedrich Beckmann committed
1
2
3
4
5
6
7
## ----------------------------------------------------------------------------
## Script     : quartus_project_flow.tcl
## ----------------------------------------------------------------------------
## Author     : Johann Faerber, F. Beckmann
## Company    : University of Applied Sciences Augsburg
## ----------------------------------------------------------------------------
## Description: executes process steps in a quartus project
8
##              quartus_sh -t quartus_project_flow.tcl 
Friedrich Beckmann's avatar
Friedrich Beckmann committed
9
10
11
12
13
14
15
16
17
18
19

# Load Quartus II Tcl Project package
package require ::quartus::project


    # ----------------------------------------------------------------------------
    # Open project
    # ----------------------------------------------------------------------------
    project_open ledsw

    # ----------------------------------------------------------------------------
20
    # Run design flow 
Friedrich Beckmann's avatar
Friedrich Beckmann committed
21
22
23
24
25
26
27
28
29
    # ----------------------------------------------------------------------------
    load_package flow

    execute_flow -compile

    # ----------------------------------------------------------------------------
    # Write Reports
    # ----------------------------------------------------------------------------
    load_package report
30
    load_report  ledsw
Friedrich Beckmann's avatar
Friedrich Beckmann committed
31
32
33
34
35
36
37
    write_report_panel -file flowsummary.log "Flow Summary"

    # ----------------------------------------------------------------------------
    # Close project
    # ----------------------------------------------------------------------------
    project_close