-
Notifications
You must be signed in to change notification settings - Fork 1
/
synopsys_dc.setup
66 lines (51 loc) · 2.4 KB
/
synopsys_dc.setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
echo “***********************************************”
echo “*********Start load .synopsys_dc.setup*********”
echo “***********************************************”
# 定义各种文件的文件夹路径
set PROJ_ROOT_PATH $env(PROJ_ROOT_PATH)
set RTL_PATH $env(RTL_PATH)
set BUILD_PATH $env(BUILD_PATH)
set CONFIG_PATH $BUILD_PATH/config
set SCRIPT_PATH $BUILD_PATH/script
set MAPPED_PATH $BUILD_PATH/mapped
set REPORT_PATH $BUILD_PATH/report
set UNMAPPED_PATH $BUILD_PATH/unmapped
set WORK_PATH $BUILD_PATH/work
# 设置DC安装目录
set DC_HOME $env(DC_HOME)
set LIB_PATH $PROJ_ROOT_PATH/nangate45
set SYMBOL_PATH $LIB_PATH/symbols
set LIB_NAME NangateOpenCellLibrary
set DRIVE_CELL INV_X1
set DRIVE_PIN ZN
set LOAD_CELL $LIB_NAME/INV_X8/A
set WIRE_LOAD_MODEL ""; # 自动选择wire_load_model
set OPERA_CONDITION slow
# 设置DC内部自带的变量。建立搜索路径的list,.的意思是先在当前工作目录(work)下找,然后其他路径
set_app_var search_path [list . $search_path \
$LIB_PATH \
$SYMBOL_PATH \
$RTL_PATH \
$SCRIPT_PATH \
${DC_HOME}/libraries/syn \
]
# This variables are automatically set if you perform ultra command.
# Specify for use during optimization.
# you do not need to do anything to access the standard library,
# DC is setup to use this library by default
set_app_var synthetic_library dw_foundation.sldb
set_app_var target_library [list "NangateOpenCellLibrary_slow_conditional_nldm.db"]
# Specify for cell resolution during link
set_app_var link_library [list * ${target_library} ${synthetic_library}]
#set_app_var symbol_library [list tsmc090.sdb]
check_library
# Source the naming rules
echo “***********************************************”
echo “*********End of load .synopsys_dc.setup********”
echo “***********************************************”
echo “***********************************************”
echo “*********Start source hs_name_rules.v**********”
echo “***********************************************”
echo “***********************************************”
echo “*********End of source hs_name_rules.v*********”
echo “***********************************************”