set PDK and STD_CELL_LIBRARY vars in config.tcl and config.json for user_proj_example and user_project_wrapper
diff --git a/openlane/user_proj_example/config.json b/openlane/user_proj_example/config.json index a7671cd..c3de8af 100644 --- a/openlane/user_proj_example/config.json +++ b/openlane/user_proj_example/config.json
@@ -1,4 +1,6 @@ { + "PDK" : "sky130A", + "STD_CELL_LIBRARY" : "sky130_fd_sc_hd", "CARAVEL_ROOT" : "../../caravel", "CLOCK_NET" : "counter.clk", "CLOCK_PERIOD" : "10",
diff --git a/openlane/user_proj_example/config.tcl b/openlane/user_proj_example/config.tcl index 2aa188c..94af8ba 100755 --- a/openlane/user_proj_example/config.tcl +++ b/openlane/user_proj_example/config.tcl
@@ -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
diff --git a/openlane/user_project_wrapper/config.json b/openlane/user_project_wrapper/config.json index ace94af..d83d5bb 100644 --- a/openlane/user_project_wrapper/config.json +++ b/openlane/user_project_wrapper/config.json
@@ -1,4 +1,6 @@ { + "PDK" : "sky130A", + "STD_CELL_LIBRARY" : "sky130_fd_sc_hd", "CARAVEL_ROOT" : "../../caravel", "CLOCK_NET" : "mprj.clk", "CLOCK_PERIOD" : "10",
diff --git a/openlane/user_project_wrapper/config.tcl b/openlane/user_project_wrapper/config.tcl index c94b7a0..5006ced 100755 --- a/openlane/user_project_wrapper/config.tcl +++ b/openlane/user_project_wrapper/config.tcl
@@ -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