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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [orp/] [orp_soc/] [syn/] [design_compiler.old/] [bin/] [top.scr] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 781 lampret
/*
2
 * User defines for synthesizing RTC IP core
3
 *
4
 */
5
TOPLEVEL = or1200_top
6
include ../bin/select_tech.inc
7
CLK = clk_i
8
RST = rst_i
9
CLK_PERIOD = 4          /* 200 MHz */
10
WB_CLK_PERIOD = 8       /* WB clock */
11
MAX_AREA = 0            /* Push hard */
12
DO_UNGROUP = yes        /* yes, no */
13
DO_VERIFY = no          /* yes, no */
14
 
15
get_license DC-Ultra-Features
16
get_license DC-Ultra-Opt
17
get_license BOA-BRT
18
set_ultra_optimization -f
19
 
20
/* Starting timestamp */
21
sh date
22
 
23
/* Set some basic variables related to environment */
24
include ../bin/set_env.inc
25
STAGE = final
26
 
27
/* Load libraries */
28
include ../bin/tech_ + TECH + .inc
29
 
30
/* Load HDL source files */
31
include ../bin/read_design.inc          > LOG_PATH + read_design_ + TOPLEVEL + .log
32
 
33
/* Set design top */
34
current_design TOPLEVEL
35
 
36
/* Link all blocks and uniquify them */
37
link
38
uniquify
39
check_design                    > LOG_PATH + check_design_ + TOPLEVEL + .log
40
 
41
/* Apply constraints */
42
if (TECH == "vs_umc18") {
43
        include ../bin/cons_vs_umc18.inc
44
} else if (TECH == "art_umc18") {
45
        include ../bin/cons_art_umc18.inc
46
} else {
47
        echo "Error: Unsupported technology"
48
        exit
49
}
50
 
51
/* Lets do basic synthesis */
52
if (DO_UNGROUP == "yes") {
53
        ungroup -all
54
        compile -boundary_optimization -map_effort high -ungroup_all
55
} else {
56
        compile -map_effort low
57
}
58
 
59
/* Dump gate-level from incremental synthesis */
60
include ../bin/save_design.inc
61
 
62
/* Generate reports for incremental synthesis */
63
include ../bin/reports.inc
64
 
65
/* Verify design */
66
if (DO_VERIFY == "yes") {
67
        compile -no_map -verify         > LOG_PATH + verify_ + TOPLEVEL + .log
68
}
69
 
70
/* Finish */
71
sh date
72
exit

powered by: WebSVN 2.1.0

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