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

Subversion Repositories pci

[/] [pci/] [tags/] [rel_12/] [syn/] [scr/] [top_pci32.scr] - Blame information for rev 154

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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