innovus环境的设置

1. 00_common_initial_settings.tcl

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
#### design information设计的顶层名字
set design "leon"

### design data directory数据和报告放的位置
set data_root "./data"
set reports_root "./reports"

### gate level netlist files 所需要导入网表的路径
set import_netlists ""
lappend import_netlists "data/00_input/${design}.vnet.gz"

### SDC files

### UPF files

### tech lef
set tech_lef "/foundry/tmic/xxx/tech/tlef/gsclib045_tech.lef"

### library files 物理lef的库,analog给出
set lef_files "" ##使用这种tcl的形式可以在该变量中加入多个库文件
lappend lef_files "/analog/library/hard_marco0/xxx.lef"
lappend lef_files "/analog/library/hard_marco1/xxx.lef"
lappend lef_files "/analog/library/hard_marco2/xxx.lef"
lappend lef_files "/analog/library/hard_marco3/xxx.lef"

### PEX tech 抽取rc的tech file
set qrc_tech(rcbest) "/tech/qrc/rcbest/qrcTechFile"
set qrc_tech(rcworst) "/tech/qrc/rcworst/qrcTechFile"
set qrc_tech(typical) "/tech/qrc/typical/qrcTechFile"

### view (scenarios) of each step
set default_scenarios "func_slow_rcworst"
set placeopt_scenarios "func_slow_rcworst"
set cts_scenarios "cts_slow_rcworst"
set clockopt_scenarios "func_slow_rcworst func_fast_rcbest"
set routeopt_scenarios "func_slow_rcworst func_fast_rcbest"

#cells type settings
set fillers_ref "FILL1 FILL16 FILL2"
set welltap_ref "DECAP8"
#### END

2. 01_innovus_import.tcl

Description: read gate level netlist into innovus

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
source script/00_common_initial_settings.tcl
source script/zhenyu_procs.tcl

### variables 定义每个步骤产生的文件存放的位置
set current_step "01_innovus_import"
set reports_dir "${reports_root}/${current_step}"
set data_dir "${data_root}/${current_step}"
file mkdir $reports_dir
file mkdir $data_dir

### initial option

### design setting
set_init_top_cell $design ##读入设计变量,基本以init为开头
set_init_assign_buffer 1
setImportMode -keepEmptyModule true ##有些逻辑只有input/output的端口,但是没有逻辑,就是设置需不需要keep
### read design

### connect pg