OpenCores
URL https://opencores.org/ocsvn/connect-6/connect-6/trunk

Subversion Repositories connect-6

[/] [connect-6/] [trunk/] [BUILD_SCC/] [DE2/] [do_synth] - Blame information for rev 11

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 sumanta.ch
 
2
#!/bin/sh
3
 
4
run_logic_synthesis_only=0 ;
5
while getopts ":s i" options; do
6
    case $options in
7
        i ) run_logic_synthesis_only=0;;
8
        s ) run_logic_synthesis_only=1;;
9
        ? ) echo $usage
10
            exit 1;;
11
    esac
12
done
13
 
14
################################
15
# set up the verilog filelists:
16
################################
17
 
18
export date_of_run=`date +%Y.%m.%d_%H.%M.%S`
19
mkdir run_$date_of_run
20
rm -f run
21
ln -s run_$date_of_run run
22
 
23
cd run
24
 
25
if [ $run_logic_synthesis_only -eq 1 ]; then
26
    touch .LOGIC_SYNTHESIS_ONLY
27
fi
28
 
29
quartus_sh -t ../quartus.tcl
30
if [[ $? != 0 ]]; then exit 1; fi
31
 
32
quartus_map DE2
33
if [[ $? != 0 ]]; then exit 1; fi
34
 
35
if [ $run_logic_synthesis_only -eq 1 ]; then
36
    quartus_fit --early_timing_estimate=realistic DE2
37
    if [[ $? != 0 ]]; then exit 1; fi
38
else
39
    quartus_fit DE2
40
    if [[ $? != 0 ]]; then exit 1; fi
41
fi
42
 
43
quartus_sta --do_report_timing DE2
44
if [[ $? != 0 ]]; then exit 1; fi
45
quartus_asm DE2
46
quartus_pgm -c USB-Blaster -m jtag  -o "p;DE2.sof"
47
cd -
48
exit 0
49
 

powered by: WebSVN 2.1.0

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