forked from mattvenn/multi-project-harness
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.tcl
35 lines (24 loc) · 960 Bytes
/
config.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
# User config
set ::env(DESIGN_NAME) multi_project_harness
set script_dir [file dirname [file normalize [info script]]]
set ::env(FP_CORE_UTIL) 15
set ::env(FP_PDN_VOFFSET) 0
set ::env(FP_PDN_VPITCH) 30
# make the project harness include blackbox.v
set ::env(SYNTH_DEFINES) "BLACKBOX"
set ::env(VERILOG_FILES) "\
$script_dir/src/multi_project_harness.v"
set ::env(MACRO_PLACEMENT_CFG) $::env(OPENLANE_ROOT)/designs/$::env(DESIGN_NAME)/macro_placement.cfg
set ::env(PL_TARGET_DENSITY) 0.35
set ::env(PL_BASIC_PLACEMENT) 1
set ::env(CELL_PAD) 0
set ::env(CLOCK_PERIOD) "20"
set ::env(CLOCK_PORT) "wb_clk_i"
set ::env(CLOCK_TREE_SYNTH) 0
set ::env(DIODE_INSERTION_STRATEGY) 0
set ::env(EXTRA_LEFS) [glob $::env(DESIGN_DIR)/macros/lef/*.lef]
set ::env(EXTRA_GDS_FILES) [glob $::env(DESIGN_DIR)/macros/gds/*.gds]
set filename $::env(DESIGN_DIR)/$::env(PDK)_$::env(STD_CELL_LIBRARY)_config.tcl
if { [file exists $filename] == 1} {
source $filename
}