Skip to content

Commit

Permalink
set PDK and STD_CELL_LIBRARY vars in config.tcl and config.json for u…
Browse files Browse the repository at this point in the history
…ser_proj_example and user_project_wrapper
  • Loading branch information
nofal committed Oct 12, 2021
1 parent 9d48921 commit 6eecddc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openlane/user_proj_example/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"PDK" : "sky130A",
"STD_CELL_LIBRARY" : "sky130_fd_sc_hd",
"CARAVEL_ROOT" : "../../caravel",
"CLOCK_NET" : "counter.clk",
"CLOCK_PERIOD" : "10",
Expand Down
3 changes: 3 additions & 0 deletions openlane/user_proj_example/config.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

set ::env(PDK) "sky130A"
set ::env(STD_CELL_LIBRARY) "sky130_fd_sc_hd"

set script_dir [file dirname [file normalize [info script]]]

set ::env(DESIGN_NAME) user_proj_example
Expand Down
2 changes: 2 additions & 0 deletions openlane/user_project_wrapper/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"PDK" : "sky130A",
"STD_CELL_LIBRARY" : "sky130_fd_sc_hd",
"CARAVEL_ROOT" : "../../caravel",
"CLOCK_NET" : "mprj.clk",
"CLOCK_PERIOD" : "10",
Expand Down
3 changes: 3 additions & 0 deletions openlane/user_project_wrapper/config.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
# Base Configurations. Don't Touch
# section begin

set ::env(PDK) "sky130A"
set ::env(STD_CELL_LIBRARY) "sky130_fd_sc_hd"

# YOU ARE NOT ALLOWED TO CHANGE ANY VARIABLES DEFINED IN THE FIXED WRAPPER CFGS
source $::env(CARAVEL_ROOT)/openlane/user_project_wrapper_empty/fixed_wrapper_cfgs.tcl

Expand Down

0 comments on commit 6eecddc

Please sign in to comment.